Hello!
I had difficulties to run this test, and I think I find solutions
========
etqw.xml
========
1) the game blocked at load UI
I had to add +set in_tty 0
2) there is this argument +exec etqw-pts.cfg, but this file is not created during installation, so I created etqw_pts.cfg (see install.h, below)
3) the game didn't quit so I made it quit in etqw_pts.cfg
4) I put +timenetdemo pts argument in etqw_pts.cfg
I think that it is be a good thing to place the argument +timenetdemo pts in etqw_pts.cfg instead of etqw.xml,
thus we could have the choice of different demo with different etqw_pts_*.cfg
=========
install.h
=========
The download of the client via ftp was so slooow that I used bittorrent,
but I had a message saying that there where more bytes in this archive I don't know why
but nervertheless continue, OK
I modified the script to create etqw_fps.cfg
We are asking to copy the ETQW files *.pk4 && *.mega, but they are huge, so I created symlinks.
I am not a programmer so please be indulgent with this code
creation of etqw_pts.cfg
creation of symlinks *.pk4 *.mega script (this does the job rather well, but it should/could be improved, I repeat I am not a programmer)
That's all.
I had difficulties to run this test, and I think I find solutions
========
etqw.xml
========
1) the game blocked at load UI
I had to add +set in_tty 0
2) there is this argument +exec etqw-pts.cfg, but this file is not created during installation, so I created etqw_pts.cfg (see install.h, below)
3) the game didn't quit so I made it quit in etqw_pts.cfg
4) I put +timenetdemo pts argument in etqw_pts.cfg
I think that it is be a good thing to place the argument +timenetdemo pts in etqw_pts.cfg instead of etqw.xml,
thus we could have the choice of different demo with different etqw_pts_*.cfg
Code:
<TestSettings> <Default> <Arguments>+set in_tty 0 +set sys_VideoRam $VIDEO_MEMORY +set r_mode -1 +exec etqw_pts.cfg</Arguments> </Default> <Option>
install.h
=========
The download of the client via ftp was so slooow that I used bittorrent,
but I had a message saying that there where more bytes in this archive I don't know why
but nervertheless continue, OK
I modified the script to create etqw_fps.cfg
We are asking to copy the ETQW files *.pk4 && *.mega, but they are huge, so I created symlinks.
I am not a programmer so please be indulgent with this code
creation of etqw_pts.cfg
Code:
: mv -f pts.ndm data/base/demos/pts.ndm # etqw_pts.cfg # pts.ndm is 2816 frames so we wait a little longer to get the fps # AND WE QUIT (the bench blocks otherwise) echo " set com_unlockFPS "1" timenetdemo pts wait 2818 echo ====================== echo wait '# of frames + 2' echo timenetdemo ended echo quit echo ====================== quit" > data/base/etqw_pts.cfg
Code:
# Since the game is installed, we search for the game directory # where there are the ET:QW Game Files (*.mega) and (*.pk4) # in order to "symlink" them b=`pwd` GAME_FILES_TYPE_DIR="megatextures" CreateSymlinks () { cd $ETQW_BASE_MEGAT cd .. ETQW_BASE=`pwd` echo " *.pk4 found in $ETQW_BASE *.mega found in $ETQW_BASE_MEGAT" # echo "\\nwe are here : $b" mkdir $b/data/base/megatextures/ ln -s $ETQW_BASE_MEGAT/*.mega $b'/data/base/megatextures' ln -s $ETQW_BASE/*.pk4 $b'/data/base' echo "symlinks created in $b/data/base/megatextures $b/data/base" } ETQW_BASE_MEGAT=`find -P $HOME -name $GAME_FILES_TYPE_DIR` if [ "$ETQW_BASE_MEGAT" != "" ] # found in '/home/username/' then CreateSymlinks exit 0 fi ETQW_BASE_MEGAT=`find -P /usr/ -name $GAME_FILES_TYPE_DIR` if [ "$ETQW_BASE_MEGAT" != "" ] # found in '/usr/' then CreateSymlinks exit 0 fi ETQW_BASE_MEGAT=`find -P / -name $GAME_FILES_TYPE_DIR` if [ "$ETQW_BASE_MEGAT" != "" ] # found in '/' so then CreateSymlinks exit 0 fi echo "no megatexture found copy ET:QW Game Files (*.mega) in bases/megatextures copy ET:QW Game Files(*.pk4) in bases" exit 0
Comment