Vous êtes ici > Les forums > PlayOnLinux > Serious Sam 2 doesnt install correctly or start up sv ru pl es en

Les forums

Serious Sam 2 doesnt install correctly or start up

Nouveau  - Répondre
Auteur Posts
dubliette Le Samedi 4 Juillet 2009 à 12:02 - [Citer]
Membre

Membre
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 Le Samedi 4 Juillet 2009 à 13:44 - [Citer]
Membre

Membre

Citation de dubliette:

first when i install it the directories are wrong

What directories were that?

Citation de dubliette:


so i change them to the correct ones

What directories are correct?

Citation de dubliette:

i tried putting sam2.exe in there and renaming it

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 Le Dimanche 5 Juillet 2009 à 2:41 - [Citer]
Membre

Membre
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.

Edité par dubliette

NSLW Le Dimanche 5 Juillet 2009 à 12:26 - [Citer]
Membre

Membre

Citation de dubliette:

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"

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

Citation de dubliette:


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

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

Citation de dubliette:


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

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

Citation de dubliette:


i tried patching the game with patch 1.066 and 1.070

Do you've got serioussam.exe after patching?
dubliette Le Dimanche 5 Juillet 2009 à 13:28 - [Citer]
Membre

Membre

Citation:

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


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.

Citation:

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


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

Citation:


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


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

Citation:

Do you've got serioussam.exe after patching?


i dint check but the game did start but its unplayable, cos it crashes.
NSLW Le Dimanche 5 Juillet 2009 à 14:52 - [Citer]
Membre

Membre
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

Edité par NSLW

dubliette Le Lundi 6 Juillet 2009 à 9:25 - [Citer]
Membre

Membre
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 Le Lundi 6 Juillet 2009 à 9:36 - [Citer]
Membre

Membre
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 Le Lundi 6 Juillet 2009 à 9:56 - [Citer]
Membre

Membre
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 Le Lundi 6 Juillet 2009 à 11:32 - [Citer]
Membre

Membre
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 Le Mardi 7 Juillet 2009 à 8:28 - [Citer]
Membre

Membre
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 Le Mardi 7 Juillet 2009 à 9:21 - [Citer]
Membre

Membre
Is it the same error? Are you sure you copied that correctly?
dubliette Le Mercredi 8 Juillet 2009 à 8:35 - [Citer]
Membre

Membre
i shall run it again and check.
NSLW Le Mercredi 8 Juillet 2009 à 9:30 - [Citer]
Membre

Membre
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

Edité par NSLW

Il n'y a rien à voir ici