ptitSeb / Serious-Engine

A port to the OpenPandora (and working fine on plain Linux) of the open source version of a game engine developed by Croteam for the classic Serious Sam games. Status: Working (for both FE and SE).
https://pyra-handheld.com/boards/threads/serious-sam-first-encounter.77225/
GNU General Public License v2.0
75 stars 22 forks source link

confif folder paths #5

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hi Ptit! sorry for this silly question, but ssam always runs as first time with default config on my pi, could you tell me where i can create a config file to avoid this?

check the performance I achieve : https://www.youtube.com/watch?v=9-Vb8VS-zEM

really good!!

ptitSeb commented 5 years ago

Nice performances indeed!

For config file, take a look at the log: ~/.serious/serioussamse/ssam.log you should see inside what file it look for...

ghost commented 5 years ago

Thanks!

ghost commented 5 years ago

It doesnt create any log. I run it directly from the build folder. Doesnt creat any .serious folder too.. Mmm... Whit which parameter i need to compile it to achieve that?

ptitSeb commented 5 years ago

Pref folder is computed in Serious-Engine/Sources/Engine/Base/Unix/UnixFileSystem.cpp line 81 (using SDL_GetPrefPath(...)). Folder should be something like ~/Serious Engine/seriousesamse (previous folder was from an old version, sorry).

ghost commented 5 years ago

I am soo sorry for my last comments.... beer situation.

I found the log, it says...

Cannot load variable from 'DefaultMod.txt': Cannot open file `/home/pi/.Serious-Engine/DefaultMod.txt' (No such file or directory) ()

I understand than defaultmod.txt its the default config file. and it never create one. could i add a custom one?

ptitSeb commented 5 years ago

(and don't worry for the last comments) The DefaultMod.txt should be present in the data. If not, you can find a copy in the repo itself, in the root folder.

ghost commented 5 years ago

Ok. I will use the repo one. Thanks! Closing