BFrizzleFoShizzle / RE_Kenshi

A Kenshi mod that expands functionality via code injection
GNU General Public License v3.0
19 stars 2 forks source link

Installer doesn't find it's own files on wine, Linux. #8

Open Baerbeisser opened 3 weeks ago

Baerbeisser commented 3 weeks ago

Kenshi: 1.0.68 GOG RE_Kenshi: 0.2.14 winetricks: corefonts ogg physx vcrun2022 dotnet48

re_kenshi-installer-bug

Looks like it doesn't find it's own root path? Game runs btw, with lots of mods. But it has kinda the same issue; the start script has to cd in the games folder or it crashes during loading of the world.

edit: yes, cd'ing to the re_kenshi folder helped. Still not nice tho.

BFrizzleFoShizzle commented 6 days ago

Thanks for the detailed report.

Looks like an issue with my code using the CWD instead of the executable path to find the install resources.
Up until now, I assumed fixing the installer on Linux would be a pain in the ass to fix, but if this is the only issue stopping it from working, it should be quick and easy to fix.

I've planned on rewriting the installer to self-package everything into a single binary as most of the installer error reports I get are from missing installer files (most likely due to people not extracting everything in the installer archive), and combining all the data into a self-extracting installer might also solve your problem.

If I don't get around to doing the self-packaging thing, I should at least be able to use the installer base path as the file search path instead of (or on top of) the CWD in the next release.