Reloaded-II icon indicating copy to clipboard operation
Reloaded-II copied to clipboard

Bug: When Executable and Working Directory don't match

Open Blackouto000 opened this issue 1 year ago • 1 comments

I downloaded P5R into another drive, so i changed the executable location, but everytime i launched the game an error was spammed constantly, it was only after changing the working directory to the one on the other drive that it actually worked, decided to report this as a bug because there wasn't an appropiate report type for this (And this technically isn't a bug)

Blackouto000 avatar Oct 14 '24 15:10 Blackouto000

The working directory should ideally update to the same relative path to the EXE it was in before the EXE was moved.

I'm aware of the issue, I might patch it so it behaves that way eventually.

Sewer56 avatar Oct 14 '24 15:10 Sewer56

Please tell me how i set RLD portable, i don't want two games managed by the same instance, and i just used RLD for a second game by making a new instance (it runs from another folder, so) as i thinked it'd work, and it showed the other game too inthe list, also it finds/searches mods there and not in his new/second directory and not the mods in his new instance !!!

I need to know how to enable portable mode to not mix the games, as i always do.

Thanks

Klemci avatar Oct 27 '24 23:10 Klemci

@Klemci Use a relative path in the App.json

https://reloaded-project.github.io/Reloaded-II/ExperimentalFeatures/#relative-pathed-applications

After putting Reloaded in a subfolder of the game.

(DO NOT mix Reloaded-II.exe with existing files, else you will incur data loss on Reloaded update)

Sewer56 avatar Oct 27 '24 23:10 Sewer56

Also closing this because I made WorkingDir auto adjust in code lately already.

Sewer56 avatar Oct 27 '24 23:10 Sewer56

Perfect thanks.

Klemci avatar Oct 28 '24 00:10 Klemci