Changes between Initial Version and Version 1 of Ticket #12864, comment 1


Ignore:
Timestamp:
08/29/21 22:32:00 (2 years ago)
Author:
criezy

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12864, comment 1

    initial v1  
    2222I already noticed in the past that `SaveFileManager` cannot deal with subdirectories and wondered if we needed to flatten paths in `ResolveScriptPath`. But since I had not found a game needing that yet, and never looked into it further.
    2323
    24 My suggestion would be to flatten save paths if needed in `ResolveScriptPath`. So for example `$SAVEGAMEDIR$/test/save2_test.dat` would become `/saves/test-save2_test.dat` (instead of `/saves/test/save2_test.dat`).
     24My suggestion would be to flatten save paths if needed in `ResolveScriptPath`. So for example `$SAVEGAMEDIR$/test/save2_test.dat` would become `/saves/strangeland-test-save2_test.dat` (instead of `/saves/strangeland-test/save2_test.dat`).
    2525
    2626I can look into that further tomorrow if you want.