Skip to content

Draft: Allow modders to utilize custom gamedata

haya_underscore requested to merge haya_/RingRacers:fix-gamedata into master

Fixes numerous checks to make custom gamedata work. I assume most of the existing code was leftover from SRB2 itself, so I fixed it up for Ring Racers.

This is a draft due to the fact that this is still quite finicky- namely:

  • All vanilla progress will vanish (by design, in SRB2's terms)
    • Proposing a solution to this to add a new entry for MAINCFG named NoClearData, which will retain previous game data.
  • Test Track will not appear in Lost and Found (for some reason)
    • The lack of a NoVisitNeeded entry in Test Track's map header seems to cause this.
  • Crash after exiting a level while testing via HVR due to the game attempting to send you to the goner title screen- and failing
    • Having get past the tutorial and goner screen beforehand fixes this.

This merge request also fixes:

  • ClearLevels not working properly :trol:
Edited by haya_underscore

Merge request reports