Skip to content

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

@InFerYes

Description

@InFerYes

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions