Closed LethalManBoob closed 1 year ago
I rewrote all PKGBUIDs so that they are located according to the standard. https://bbs.archlinux.org/viewtopic.php?pid=2102727#p2102727
Here is a detailed description of how all files should be located https://github.com/tx00100xt/SeriousSamClassic-VK/wiki/How-to-building-a-package-for-Debian-or-Ubuntu.md
Need to update both game and mods. After rebuilding, you need to delete the old game config. ~/.local/share/Serious-Engine/serioussam/SeriousSam.cfg ~/.local/share/Serious-Engine/serioussamse/SeriousSam.cfg amd moving game data: /usr/share/serioussam/SamTFE -> /usr/share/serioussam /usr/share/serioussam/SamTSE -> /usr/share/serioussamse
And it is better to give more detailed information. Attach game log.
SeriousSam.log uninstalled, deleted everything, install from scratch, got this
Here with the log we can immediately see all the problems. 1st problem:
Assumed mods library directory: /usr/lib/x86_64-linux-gnu/serioussam/
I thought that x86_64-linux-gnu directory is not used in arch linux. 2nd problem: The game itself found the game data in: Assumed engine data directory: /home/joseph/.local/share/Steam/steamapps/common/Serious Sam Classic The First >Encounter/
and set it as the default directory. And mod data is located in /usr/share/serioussan/Mods. Will have to think again.
Everything works for me on Arch Linux, because this directory does not exist
//usr/lib/x86_64-linux-gnu
I came up with a solution - will update soon
Ready https://aur.archlinux.org/cgit/aur.git/log/?h=serioussam https://aur.archlinux.org/cgit/aur.git/log/?h=serioussam-vk
Installation order
/usr/share/serioussam/SamTFE /usr/share/serioussam/SamTSE
~/.local/share/Serious-Engine/serioussam/SeriousSam.cfg ~/.local/share/Serious-Engine/serioussamse/SeriousSam.cfg
Everything should work now
serious sam launches now but mods dont show up
serious sam launches now but mods dont show up
You need to delete these files:
~/.local/share/Serious-Engine/serioussam/SeriousSam.cfg ~/.local/share/Serious-Engine/serioussamse/SeriousSam.cfg
These files contain the found path to the data. Just remove them before starting the game.
I think this line is in the log again
Assumed engine data directory: /home/joseph/.local/share/Steam/steamapps/common/Serious Sam Classic The First >Encounter/
Please attach the game log.
SeriousSam.log Still can not load mods. As i saw a patch today.
SeriousSam.log Still can not load mods. As i saw a patch today.
In LOG
Running 64-bit version Testing home path: /home/joseph/.local/share/Steam/steamapps/common/Serious Sam Classic The First Encounter/ Testing file: 1_00_music.gro Found path: /home/joseph/.local/share/Steam/steamapps/common/Serious Sam Classic The First Encounter/ Executable: /usr/bin/ Assumed engine data directory: /home/joseph/.local/share/Steam/steamapps/common/Serious Sam Classic The First Encounter/ Assumed mods library directory: /usr/lib64/serioussam/
Should be like this
Running 64-bit version Testing file: 1_00_music.gro Testing system path: /usr/share/serioussam/1_00_music.gro Testing local path: /home/tx00100xt/.local/share/Serious-Engine/serioussam/1_00_music.gro Found usr path: Executable: /usr/bin/ Assumed engine data directory: /usr/share/serioussam/ Assumed mods library directory: /usr/lib64/serioussam/
It's because you didn't delete the file:
Open the console and run the commands:
rm -vf /home/joseph/.local/share/Serious-Engine/serioussam/SeriousSam.cfg
rm -vf /home/joseph/.local/share/Serious-Engine/serioussamse/SeriousSam.cfg
After that, start the game again. Mods should appear in the menu. The log should change to look like this:
Running 64-bit version Testing file: 1_00_music.gro Testing system path: /usr/share/serioussam/1_00_music.gro Testing local path: /home/joseph/.local/share/Serious-Engine/serioussam/1_00_music.gro Found usr path: Executable: /usr/bin/ Assumed engine data directory: /usr/share/serioussam/ Assumed mods library directory: /usr/lib64/serioussam/
yes i have the symlink lib64 to lib. Deleted files and rebooted. SeriousSam.log
in log:
Running 64-bit version Testing file: 1_00_music.gro Testing system path: /usr/share/serioussam/1_00_music.gro Testing local path: /home/joseph/.local/share/Serious-Engine/serioussam/1_00_music.gro No game files were found in /usr/share/serioussam/ or /home/joseph/.local/share/Serious-Engine/serioussam/ The home directory will be searched.
You forgot to copy the game data to the directories:
/usr/share/serioussam/
/usr/share/serioussamse/
Open the console and run the commands (again):
rm -vf /home/joseph/.local/share/Serious-Engine/serioussam/SeriousSam.cfg
rm -vf /home/joseph/.local/share/Serious-Engine/serioussamse/SeriousSam.cfg
And copy the game files to these directories:
Copy:
it works now ;v
Great.
You can also delete the old data location.
Open the console and run the commands:
sudo rm -vfr /usr/share/serioussam/SamTFE
sudo rm -vfr /usr/share/serioussam/SamTSE
Since not everyone needs modifications, I removed the XPLUS modification from packages serioussam and serioussam-vk. Now there is a separate package https://aur.archlinux.org/packages/serioussam-xplus for this modification. I think this will be correct. Now the build time for packages serioussam and serioussam-vk has been reduced, and the size of the packages received for installation has also been reduced.
it works now ;v
Since everything works and the problem is solved, I think the issue can be closed.
it wants some .so files in /usr/lib/serioussam/ ive also noticed mods in that file and they cant be loaded now