UnleashedRecomp icon indicating copy to clipboard operation
UnleashedRecomp copied to clipboard

Code to disable DLC pop-up on title screen

Open MegAmi24 opened this issue 9 months ago • 13 comments

When pressing Continue after booting up the game with DLC installed, the game shows this pop-up:

Image

It'd be nice if there were an HMM code to disable this pop-up, similar to how there's one to disable the DLC icon on the world map.

MegAmi24 avatar Mar 07 '25 19:03 MegAmi24

Apparently this screen shouldn't show up every time, only once really. Are you seeing it every time you continue the game?

DarioSamo avatar Mar 08 '25 03:03 DarioSamo

It only shows up once per time you boot the game up; if you exit to the title screen from the world map and then select Continue again, it won't show up.

MegAmi24 avatar Mar 08 '25 03:03 MegAmi24

It only shows up once per time you boot the game up; if you exit to the title screen from the world map and then select Continue again, it won't show up.

It doesn't for me. Is it something on the save file itself? Can you upload it?

DarioSamo avatar Mar 08 '25 04:03 DarioSamo

save.zip

MegAmi24 avatar Mar 08 '25 04:03 MegAmi24

That save file gives me the pop-up consistently but mine doesn't have it.

DarioSamo avatar Mar 08 '25 04:03 DarioSamo

Playing a DLC stage with your save doesn't fix it either. I feel this is a bit of a two-faced issue as the message should definitely go away from regular progress, which would make a code for this pop-up not that useful. I'm not entirely sure what condition marks the save file for it to not show up again yet.

DarioSamo avatar Mar 08 '25 04:03 DarioSamo

Apparently this screen shouldn't show up every time, only once really. Are you seeing it every time you continue the game?

Infact this is an issue with the flag for this window not being set correctly. This message should only show once you start a new game and it should never appear when pressing continue in my experience. @MegAmi24 Do you remember if you had the message show when starting a new game? Can you send your config.toml and a list of codes/mods that you have on, if any?

DeaTh-G avatar Mar 08 '25 04:03 DeaTh-G

Do you remember if you had the message show when starting a new game?

I believe so, yes.

Can you send your config.toml and a list of codes/mods that you have on, if any?

config.zip

No mods on, but I'm using the following codes:

  • Disable Boost Filter
  • Fix Eggmanland using Event Gallery Transition
  • Fix Unleash Out of Control Drain
  • Save Score at Checkpoints
  • Use Official Title on Title Bar
  • Disable Auto Save Warning
  • Disable DLC Icon

MegAmi24 avatar Mar 08 '25 04:03 MegAmi24

Just some confirmation:

  • This problem can be triggered by installing the DLC later.
  • This problem can be triggered by installing the DLC at the same time as the rest of the files.
  • This problem can be triggered by having no codes or mods on.
  • This problem can be triggered with the default config.toml file.
  • This problem can happen on the original Xbox 360 release too.

DeaTh-G avatar Mar 08 '25 05:03 DeaTh-G

I can actually confirm this issue as well, as it is happening on my new save file made initially the 1.0.0 release version of Unleashed Recomp. Attached is my entire appdata folder contents.

I installed the DLC with the rest of the files initially, and while I am using codes/mods, the save was made before any of that was enabled.

save.zip

cheatfreak47 avatar Mar 08 '25 05:03 cheatfreak47

Odd, mine WAS having this same issue but the recent update fixed it.

toonjoey avatar Mar 08 '25 10:03 toonjoey

I am currently on version 1.0.2 and have been having the same issue through my entire playthrough, the window appreas every time I boot up and start the game

sj3603 avatar Mar 08 '25 20:03 sj3603

Can also confirm I had the same issue, from the first time I booted the game on 1.0.0 and still on the current version of 1.0.2. I feel like this should be tagged as a bug rather than a feature request.

Kurausukun avatar Mar 11 '25 17:03 Kurausukun

tl;dr - game bug, will fix.

After looking into this for several hours, I've determined that this is in fact an original game bug.

The game is supposed to write a flag to the save data, likely for each installed DLC when dismissing the DLC info message. These flags are written at 0x8F94 in SYS-DATA, there are eight 32-bit bools, one for each DLC (if you count the Apotos & Shamar and Empire City & Adabat Adventure Packs as separate entries).

These flags can be written under two conditions;

  1. Choosing New Game with an existing save file and accepting the "are you sure" prompt on a cold boot.
  2. Choosing a DLC stage via stage select.

The first condition is a bit of a bizarre one, as installing the DLC after you've started playing the game will result in the DLC info message never going away. You are forced to create a new save file in order to dismiss it permanently.

On top of that, you also need to restart the game after having created a save file for the flags to be written. This is because the game stores a volatile flag in SWA::CApplicationDocument at 0x824EE788 for whether or not you've seen the message. Once the game is closed, this flag will be reset.

The second condition seems to never be met, we tested on Unleashed Recompiled and original Xbox 360 hardware and the DLC flags never seem to change upon completing DLC content.

Now, here's where things get even more bizarre. The region in the save data that stores the DLC flags doesn't seem to be zero initialised, which means you may encounter garbage data being written to that region instead of the expected flags. This is very common on Unleashed Recompiled when creating a new save file, but on original Xbox 360 hardware, this region seems to be written correctly (despite the message also never going away, in some cases).

This isn't a problem when reading the data, however, as the game only checks in the subroutine at 0x8251A6C8 if any of the flags are non-zero in order to determine whether the DLC info message should be displayed.

Technical details aside, I suspect the original intent was to display the DLC info message for each new DLC that has been installed. I'll work on an embedded solution for this as a proper bug fix for Unleashed Recompiled. As a last resort, it may become a HMM code, but ideally this should be fixed properly.

hyperbx avatar Mar 15 '25 14:03 hyperbx