Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load Serious Sam TFE on Linux when using /usr/share/serioussam directory #59

Open
InFerYes opened this issue Dec 11, 2024 · 1 comment

Comments

@InFerYes
Copy link

Hi, I have compiled the engine using Arch's AUR package, which takes the source from the repository and builds it into a package.

The following instructions are included:

     ***************************************************************************************
     If you have access to a copy of the game (either by CD or through Steam),
     you can copy the *.gro files to the /usr/share/serioussam directory.
     for the game Serious Sam Classic The First Encounter and copy the *.gro files 
     to the /usr/share/serioussamse directory. for Second Encounter
     ***************************************************************************************
     Copy all *.gro files and Help folder from the game directory to serioussam directory.
     At the current time the files are:
      - Help (folder)
      - Levels (folder)
      - 1_00_ExtraTools.gro
      - 1_00_music.gro
      - 1_00c.gro
      - 1_00c_scripts.gro
      - 1_04_patch.gro
     ***************************************************************************************
     Copy all *.gro files and Help folder from the game directory to serioussamse directory.
     At the current time the files are:
      - Help (folder)
      - SE1_00.gro
      - SE1_00_Extra.gro
      - SE1_00_ExtraTools.gro
      - SE1_00_Levels.gro
      - SE1_00.gro
      - SE1_00_Music.gro
      - 1_04_patch.gro
      - 1_07_patch.gro
     ***************************************************************************************
     Note:
     If you want a clean game with no mods, you can just install package serioussam or
     serioussam-vk. The game data can be placed anywhere in your home directory. At the
     first start, the game will scan the home directory, and if, for example, you have the
     Steam version of the game installed, the game itself will find the data and write the
     path to it in the configuration file. Copying data to /usr/share is not required.
     Just don't forget to place the SE1_10b.gro file where the game data is located.
     For the First Encounter and for the Second Encounter too.
     ***************************************************************************************

I have put the SSTFE in the /usr/share/serioussam folder, as instructed. When I launch serioussam I get the following error:

Cannot initialize classes:
Cannot open file `Classes/Player.ecl' (No such file or directory) ()

Content of /usr/share/serioussam

$ ls /usr/share/serioussam
1_00c.gro            Controls   Levels      Scripts             VirtualTrees
1_00c_scripts.gro    Data       ModEXT.txt  SE1_10b.gro
1_00_ExtraTools.gro  Demos      Mods        serioussam.desktop
1_00_music.gro       GameAgent  Players     serioussam.png
1_04_patch.gro       Help       SaveGame    Temp

I have put the SSTSE files in the /usr/share/serioussamse folder, as instructed. When I launch serioussamse the game works correctly.

Content of /usr/share/serioussamse

$ ls /usr/share/serioussamse
1_04_patch.gro  Help        Scripts                SE1_10b.gro
1_07_tools.gro  Levels      SE1_00_Extra.gro       serioussamse.desktop
Controls        ModEXT.txt  SE1_00_ExtraTools.gro  serioussamse.png
Data            Mods        SE1_00.gro             Temp
Demos           Players     SE1_00_Levels.gro      VirtualTrees
GameAgent       SaveGame    SE1_00_Music.gro

I'm not sure why the engine is giving the error. I think it might be looking in the wrong folder, but I couldn't find instructions on how to make the engine look in the right place. Where is this configured/coded?

@krzotr
Copy link

krzotr commented Jan 11, 2025

Please look at running section in the readme file. File SE1_10.gro is missing in your directory /usr/share/serioussam

\Classes\Player.ecl is in SE1_10.gro.

Probably you will not play the First Encounter. In original source code first level for Second Encounter is hard coded DreamyCecil#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants