Het forum

Serious Sam 2 doesnt install correctly or start up

Auteur Antwoorden
dubliette Zaterdag 4 Juli 2009 om 12:02
dublietteAnonymous

hi. i tried to install serious sam 2 today and i cant get it to work. first when i install it the directories are wrong so i change them to the correct ones it says in terminal. then when i try to run it. it says

wine: could not load L"C:\\\\windows\\\\system32\\\\SeriousSam.exe": Module not found

i tried putting sam2.exe in there and renaming it but when i ran it the disc drive made a sound like it was reading the disc but nothing came up. help plz.
NSLW Zaterdag 4 Juli 2009 om 13:44
NSLW

first when i install it the directories are wrong

Quote from dubliette

What directories were that?


so i change them to the correct ones

Quote from dubliette

What directories are correct?

i tried putting sam2.exe in there and renaming it

Quote from dubliette

You shouldn't do that. Haven't you got SeriousSam.exe ? You should have got this because script writer for sure had this game to make script and for sure get it running.

BTW. Is this original game or downloaded illegally from internet?
dubliette Zondag 5 Juli 2009 om 2:41
dublietteAnonymous

no thi is an original copy. i got it bundled with some hardware i think.

when i install it and run it it says

"SeriousSam-SecondContact: line 4: cd: /home/jazz/.PlayOnLinux/wineprefix/SeriousSam-SecondContact/drive_c/Program Files/Croteam/Serious Sam - Second Contact/Bin: No such file or directory"

then when i change the names to wat it says in the script it says,

wine: could not load L"C:\\\\windows\\\\system32\\\\SeriousSam.exe": Module not found

i looked through the WHOLE serious sam 2folder but there was no serioussam.exe\\

i tried patching the game with patch 1.066 and 1.070 but when i tried to run the game it just gave a message that said it crashed and to contact technical support.

Aangepast door dubliette

NSLW Zondag 5 Juli 2009 om 12:26
NSLW

no thi is an original copy. i got it bundled with some hardware i think.

when i install it and run it it says

[quote from=dubliette]
"SeriousSam-SecondContact: line 4: cd: /home/jazz/.PlayOnLinux/wineprefix/SeriousSam-SecondContact/drive_c/Program Files/Croteam/Serious Sam - Second Contact/Bin: No such file or directory"

Quote from dubliette

Do you've got Croteam directory, if yes what do you've got in this directory?


then when i change the names to wat it says in the script it says,

Quote from dubliette

I don't know what did you change to what so i cannot help you.


i looked through the WHOLE serious sam 2folder but there was no serioussam.exe\\

Quote from dubliette

Did you also look into Bin directory which is in the root directory of your game?
If i do understand you've got sam2.exe but i don't know where do you've got it


i tried patching the game with patch 1.066 and 1.070

Quote from dubliette

Do you've got serioussam.exe after patching?
dubliette Zondag 5 Juli 2009 om 13:28
dublietteAnonymous

Do you've got Croteam directory, if yes what do you've got in this directory?

Citeer


i didnt originally have the croteam folder, i put it in cos the terminal said to i have the serious am 2 folder in there called Serious Sam - Second Contact and then the bin folder.

I don't know what did you change to what so i cannot help you.

Citeer


The folder layout originally was /home/jazz/.PlayOnLinux/wineprefix/SeriousSam-SecondContact/drive_c/Program Files/Serious Sam 2/Bin


Did you also look into Bin directory which is in the root directory of your game?
If i do understand you've got sam2.exe but i don't know where do you've got it

Citeer


yes i did look in the bin directory on the computer and the disc and it wasnt there. sam2.exe is the game executable and its in the /bin folder

Do you've got serioussam.exe after patching?

Citeer


i dint check but the game did start but its unplayable, cos it crashes.
NSLW Zondag 5 Juli 2009 om 14:52
NSLW

Acording to AppDB the game should run flawless. If your problem is only with incorrect shortcut then the script below will fix that.

#!/bin/bash
# Date : (2009-07-05 14-45)
# Last revision : (2009-07-05 14-45)
# Wine version used : N/A
# Distribution used to test : N/A
# Author : NSLW
# Licence : Retail

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

#fetching PROGRAMFILES environmental variable
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3}
 
POL_SetupWindow_Init
 
#Presentation
POL_SetupWindow_presentation "Serious Sam : SecondContact" "Take 2 Interactive" "http://www.seriouszone.com/" "syberia303"
 
 
if [ "$POL_LANG" == "fr" ]; then
LNG_WAIT_WARNING="Essayez de jouer en version native à Serious Sam\\n via l'installeur disponible à cette adresse: http://www.liflg.org/?catid=6&gameid=71"
LNG_WAIT_START="L'installation va commencer..."
LNG_WAIT_END="Appuyez sur "Suivant" UNIQUEMENT quand l'installation\\n du jeu sera terminée sous peine de devoir recommencer l'installation."
LNG_WAIT_HF="A vous les extraterrestres à fragger!"
 
else
LNG_WAIT_WARNING="Try to play Serious Sam natively via the installer\\n which is available there: http://www.liflg.org/?catid=6&gameid=71"
LNG_WAIT_START="Installation is going to begin..."
LNG_WAIT_END="Click on "Next" ONLY when the game installation is finished\\n or you will have to install again the game."
LNG_WAIT_HF="Happy fragging!"
fi
 
POL_SetupWindow_message "$LNG_WAIT_WARNING"
 
POL_SetupWindow_message "$LNG_WAIT_START"
 
select_prefixe "$HOME/.PlayOnLinux/wineprefix/SeriousSam-SecondContact"
	POL_SetupWindow_install_wine "1.1.22"
	Use_WineVersion "1.1.22"
POL_SetupWindow_prefixcreate

POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Setup.exe"

cd "$CDROM"
wine "Setup.exe"
 
POL_SetupWindow_message "$LNG_WAIT_END"
 
POL_SetupWindow_reboot

#asking about SSSE version
POL_SetupWindow_menu "What is your are your Serious Sam version?" "Versions" "Retail~dubliettes" "~"

if [ "$APP_ANSWER" == "dubliettes" ]; then
POL_SetupWindow_make_shortcut "SeriousSam-SecondContact" "$PROGRAMFILES/Serious Sam - Second Contact/Bin" "sam2.exe" "SeriousSam-SecondContact.xpm" "SeriousSam-SecondContact"

elif [ "$APP_ANSWER" == "Retail" ]then
POL_SetupWindow_make_shortcut "SeriousSam-SecondContact" "$PROGRAMFILES/Croteam/Serious Sam - Second Contact/Bin" "SeriousSam.exe" "SeriousSam-SecondContact.xpm" "SeriousSam-SecondContact"
fi
Set_WineVersion_Assign "1.1.22" "SeriousSam-SecondContact"
POL_SetupWindow_message "$LNG_WAIT_HF"

POL_SetupWindow_Close
exit

Aangepast door NSLW

dubliette Maandag 6 Juli 2009 om 9:25
dublietteAnonymous

it says this:

wine: cannot find 'd:Setup.exe'

and i cant install, i have Setup.exe on the disc, it recognises the disc and Setup.exe is in the script and it is Setup.exe with a capital s
NSLW Maandag 6 Juli 2009 om 9:36
NSLW

I didn't change that part of the script so i don't know why it failed. However I corrected it know so you should go past this step.
dubliette Maandag 6 Juli 2009 om 9:56
dublietteAnonymous

i install it and get to the bit where it says "choose your game type" i clicked dubliettes and it froze and wouldn't continue, i did this twice and the same error came up:

/home/jazz/Documents/serious sam 2.py: line 66: syntax error near unexpected token `fi'
/home/jazz/Documents/serious sam 2.py: line 66: `fi'
NSLW Maandag 6 Juli 2009 om 11:32
NSLW

It is an website error. Please try now. Anyhow if your shortcut is created you can open ~/.PlayOnLinux/configurations/installed/SeriousSam-SecondContact and edit third line so it will look like

cd "/home/jazz/.PlayOnLinux/wineprefix/SeriousSam-SecondContact/drive_c/Program Files/Serious Sam - Second Contact/Bin"
dubliette Dinsdag 7 Juli 2009 om 8:28
dublietteAnonymous

it still freezes, i left it on for half an hour and it was still frozen. the shortcut wasnt created in the playonlinux menu either.
NSLW Dinsdag 7 Juli 2009 om 9:21
NSLW

Is it the same error? Are you sure you copied that correctly?
dubliette Woensdag 8 Juli 2009 om 8:35
dublietteAnonymous

i shall run it again and check.
NSLW Woensdag 8 Juli 2009 om 9:30
NSLW

Yes, but do it other way.
1) Create new empty file
2) press quote for my post from Sunday 5 Jully 2009 at 14:52
3) select from #!/bin/bash to exit
4) copy->paste that to created file

The only problem with your hang up is that this forum doesn't show scripts as I've got them in my text editor.

PS. I tested that script (without installation ofc) and it doesn't hang

Aangepast door NSLW