Results 1 to 5 of 5

Thread: About ETQW bench (full game)

  1. #1
    Join Date
    May 2008
    Posts
    5

    Post About ETQW bench (full game)

    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

    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
    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)
    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
    That's all.

  2. #2

    Default

    Thank you very much. I'll get that committed and working next week -- out of the country right now and don;t have my ET:QW media on me to verify.

  3. #3
    Join Date
    May 2008
    Posts
    5

    Default

    I googled about "+set in_tty 0" and I found this : http://zerowing.idsoftware.com/linux...569a8cd1b13537

    Known issues
    *
    Doom III would hang during starting if you redirect the output. Pass +set in_tty 0 on the command line to fix: $ doom3 +set in_tty 0 > output.txt
    Doom3 uses id Tech 4 game engine, as well as etqw and quake4.
    This seems to be a ... feature

  4. #4
    Join Date
    May 2008
    Posts
    5

    Default

    I googled about "+set in_tty" and found this information from zerowing.idsoftware.com
    Known issues
    *
    Doom III would hang during starting if you redirect the output. Pass +set in_tty 0 on the command line to fix: $ doom3 +set in_tty 0 > output.txt
    Doom3, ETQW and Quake4 uses the same game engine id Tech 4.

    It seems to be a feature

  5. #5

    Default

    Pushed to master, thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •