Closed BinToss closed 3 years ago
All's good here...
I've reverted the DisplayMode assignment, but this just means -vidmode will be used whenever the Framerate/RefreshRate is >0. In essence, V-Sync is still enforced even if unchecked in the launcher. I'll change it back to requiring V-Sync to be checked since reverting solves nothing.
After un-reverting...
Next up, check out the blam.Save() profile patching Given the following...
The game starts and the profile's settings are default instead of the values we wrote to the blam.sav.
The file itself has 1920, 1080, 60 at what the offsets specified in profile.cs.
Our values are being written to blam.sav, but Halo isn't reading them if the profile was created by NewProfile.cs. Are we missing data Halo requires for a profile to be valid?
Interesting fact:
If the last profile isn't found, Halo will search in Savegames for a valid profile.
In my case, it found %appdata%\savegames\New001 - Copy\blam.sav
and wrote it to a new lastprof.txt. The profile's name was still New001.
During the procedure, a New001 folder and New001 file were created because "New001 - Copy"'s New001 file contained that path.
That worked? Awesome.