Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Wii:New Super Mario Bros. Wii: Difference between revisions

From Hacks Guide Wiki
Aep (talk | contribs)
Add NSMBW Anti Piracy information
Tags: Mobile edit Mobile web edit
Aep (talk | contribs)
m :( why doesnt `` work
Tags: Mobile edit Mobile web edit
 
Line 33: Line 33:


==Anti-Piracy==
==Anti-Piracy==
New Super Mario Bros. Wii has an interesting anti-piracy method, not one any other Wii game uses. The game checks the disc's BCA to see if it matches the expected BCA an official disc of the game, and if it does not, set off an alarm using the `OSCreateAlarm`, and `OSSetAlarm` SDK function to trigger within a specific delay. This calls the generic SDK disc read error function, and writes a DVD error to dvderror.dat on the Wii NAND. This tricks the user into thinking a disc read error randomly happened. This delay is `60 * (random number 0-7) + 180`. This means there is a minimum of 180 seconds, with the addition of 420 extra possible seconds, depending on what the RNG value turned out to come out to. This comes out to 3-10 minutes. This was potentially a way to confuse pirates, as they wouldn't know why the anti-piracy was triggering happening so randomly. The DVDError code used is special, as it is not used anywhere else by any other software. Said code is `0x0123456A`, and this is believed to be a way to catch potential pirates if anyone were to send their Wii console to Nintendo for a repair, or potentially for other Wii software to read at some point (which was never done, this is just an idea for something they could have done)
New Super Mario Bros. Wii has an interesting anti-piracy method, not one any other Wii game uses. The game checks the disc's BCA to see if it matches the expected BCA an official disc of the game, and if it does not, set off an alarm using the OSCreateAlarm, and OSSetAlarm SDK function to trigger within a specific delay. This calls the generic SDK disc read error function, and writes a DVD error to dvderror.dat on the Wii NAND. This tricks the user into thinking a disc read error randomly happened. This delay is 60 * (random number 0-7) + 180. This means there is a minimum of 180 seconds, with the addition of 420 extra possible seconds, depending on what the RNG value turned out to come out to. This comes out to 3-10 minutes. This was potentially a way to confuse pirates, as they wouldn't know why the anti-piracy was triggering happening so randomly. The DVDError code used is special, as it is not used anywhere else by any other software. Said code is 0x0123456A, and this is believed to be a way to catch potential pirates if anyone were to send their Wii console to Nintendo for a repair, or potentially for other Wii software to read at some point (which was never done, this is just an idea for something they could have done)
[[Category:Wii games]]
[[Category:Wii games]]