ssamtse

Need help with one of the installers?
mat
Posts: 65
Joined: Mon Oct 10, 2005 18:10

ssamtse

Postby mat » Tue Dec 12, 2006 17:28

Hi

I found bug in nstaller for ssamtse
I tried load technology test

Cannot start game
Cannot open file /usr/local/games/ssamtse/Levels/TechTest.wld

I found this file on my cd with game /Install/ in zip archive SE1_00_Levels.gro

cp /home/mateo/TechTest.wld /usr/local/games/ssamtse/Levels

Can you fix that?

Arkem

Postby Arkem » Mon Jan 22, 2007 14:57

It seems that it's a bug in the tech map loader, because Levels/LevelsMP/Technology/TechTest.wld is correctly listed in the game logs. Adding a line like this in an installation script can make it work:

Code: Select all

unzip -j /<path to cdrom>/Install/SE1_00_Levels.gro Levels/LevelsMP/Technology/TechTest.wld -d /usr/local/games/ssamtse/Levels/


I also noticed that the startup script of either the first and second encounter episodes of serious sam doesn't work on my Ubuntu unless I simply replace the line #!/bin/sh with #!/bin/bash
'should be simple to fix in the .run ...

I finally noticed that it is very simple to use install CD localization with the line:

Code: Select all

cp -fRv /<path to cdrom>/Install/Locales/<locale>/* /usr/local/games/ssamtse/

where avalable locales are

Code: Select all

ls /<path to cdrom>/Install/Locales/

(deu, eng, esp, fra and itl) on my SSamTSE version.

Friendly
Arkem

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Mon Jan 22, 2007 20:34

Arkem thanks for your input.

What is the problem with the startscript if you don't change the first line to use bash explicit and what is you default shell in Ubuntu?

Arkem

Postby Arkem » Tue Jan 23, 2007 0:58

The script stop with the following error:

Code: Select all

/usr/local/bin/ssamtse: 34: Syntax error: Bad substitution


Curiously, all sessions including root have their default shell set to /bin/bash, but the script doesn't work until I change this line. Using another terminal emulator like xtem doesn't change anything...

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Tue Jan 23, 2007 1:07

Strange, whats the output of 'ls -l /bin/sh'?

Arkem

Postby Arkem » Tue Jan 23, 2007 1:14

It's a symlink to dash:
lrwxrwxrwx 1 root root 4 2006-11-30 14:23 /bin/sh -> dash


I can re-make the link to point to /bin/bash, but other Ubuntu users will have the same problem, no ?

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Tue Jan 23, 2007 22:22

not only Ubuntu users, everyone which has set his default shell to dash :)

The startscript is 'fixed' (/bin/bash instead of /bin/sh) for all new installers.
I hope Kingron will rebuild this installer soon.

:)

Arkem

Postby Arkem » Wed Jan 24, 2007 17:44

'glad to see my post helped a bit... ;)

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Wed Jan 24, 2007 20:23

You got me wrong the script was changed some time ago.

Not new, newer installers, my fault.

Thank you anyway :)

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Wed Jan 24, 2007 22:35

What steps are needed to reproduce the error with the missing *.wld file?

Arkem

Postby Arkem » Thu Jan 25, 2007 23:11

Run SSamTSE in a terminal to see errors messages.
Once in the main menu, select Single player, then Technology Test.

Normally, the game fail to launch the level, and the error printed in your terminal claims that the file Levels/TechTest.wld couldn't be found.

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Fri Jan 26, 2007 10:20

thx Arkem, we will have a look

kratz00
liflg member
Posts: 1654
Joined: Fri Oct 22, 2004 16:23

Postby kratz00 » Fri Jan 26, 2007 12:18


kingron
liflg member
Posts: 158
Joined: Wed Nov 03, 2004 11:14

Postby kingron » Tue Feb 06, 2007 9:46

check this post please

viewtopic.php?t=771


Who is online

Users browsing this forum: No registered users and 6 guests