You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Adding on to this with some things that I'm intending on tackling for this overhaul.
Static Class Managers
The goal for these is to work like the Screen class down now after its rewrite. It will make general code management a lot easier.
Game Config
ConfigSchema
Config Ini
Base GameSettings class
It would be ideal to have a base GameSettings class that would be inherited by other classes, however this is risky due to already having them completely split.
Add in some helper classes to reduce redundant code
URL parsing is the first thought as every instance of it is copied code. There are likely more instances in the code base of these redundant bits of code.
General UI Clean up and minor enhancements
DPI Fixes (This is a strong maybe, need to do more research)
Fixing any weird or unexpected areas where stuff stretches or skews in weird ways.
Issue Cleanup
Some issues are relevant to a general overhaul, but I'm putting them in their own section.
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.
The text was updated successfully, but these errors were encountered: