On Linux, quick save are being created in a subfolder instead of game saves folder
Created by: Xottab-DUTY
Describe the bug
When you use a quick save, the file name is <system name> - quicksave.<fmt>
, where <system name> is the user profile name in the OS and <fmt> is file format – either scop
or sav
.
For some reason, when we try to save a file with path game folder/_appdata_/savedgames/user - quicksave.scop
, the result appears to be game folder/_appdata_/gamesaves/user/- quicksave.scop
– it creates a subfolder.
To Reproduce Steps to reproduce the behavior:
- Use a quick save
- See the bug
Expected behavior Quick saves should be saved into savedgames folder normally.
Desktop (please complete the following information):
- OS: any Linux
- OpenXRay latest
Additional context
Look at function CALifeStorageManager::save
in xrGame/alife_storage_manager.cpp