X-Hax / SA-Mod-Manager

A new mod manager for the Sonic Adventure games.
MIT License
62 stars 17 forks source link

Overhaul #95

Open Sora-yx opened 6 months ago

Sora-yx commented 6 months ago

The Manager handles a lot of stuff on startup due to all the features we added such as: first boot, vanilla transition, profile creation and migration, last game swap, etc. The more we added features, the more messy the code started to get, we had to face race condition, loader that doesn't install properly, the ComboBox game swap that doesn't add a new game when picking the game location manually etc.

All those issues happen on some arbitrary conditions which make debugging annoying and require many efforts. They got fixed (sort of) with arbitrary check, but those aren't ideal and the code is still messy. The branch Overhaul will be used to rework how the Manager handle all those situation with a rework of many features such as Game Swap, Manager and Game Profiles, ideally the code should be more flexible and handle all situation without any arbitrary check.

ItsEasyActually commented 4 months ago

Adding on to this with some things that I'm intending on tackling for this overhaul.

Will try to keep up with this comment while completing mentioned tasks.