Jump to navigation Jump to search

Changing the Exception Handler Message

In order to edit the Exception Handler Message of Newer Super Mario Bros Wii, you need to know how to compile NewerSMBW's source code.

Tutorial written by User:RedStoneMatt


Step 1: Opening the File which contains the Exception Handler Message[edit | edit source]

Randomcrap.S location.png

In the Newer Source Code, go to the folder

NewerSMBW-master/Kamek/src

if you're using the master branch of Newer Source Code.

If you're using the no-translations branch, it will be

NewerSMBW-no-translations/Kamek/src

If you've done this correctly, you'll see this folder:

Now, open the randomcrap.S file with Notepad++ or another text-editing software.

Step 2: Editing the Exception Handler Message[edit | edit source]

Exephandlermessage.png

In the randomcrap.S file, go the the 615th line and you'll see the Exception Handler Message: Now, you just have to edit the text, in order to go to the next line, simply add

\n

to the text here is an example of an edited Exception Handler Message:

.string "OOF! MyHack has crashed.\nPlease take a screenshot of the info below,\nsave it where you want and do what you want with it\nsince nobody cares about it\nYou can scroll through this report using the D-Pad.\n"

Step 3: Compiling[edit | edit source]

Now, you just need to compile your edited source code. After recompiling it, just copy the bin files into your NewerRes folder and launch the game.

Step 4: How to see the edited Exception Handler Message[edit | edit source]

there is two ways for that

On a real Wii/WiiU[edit | edit source]

it's the easiest way, simply make an error in the file you want in your newer source code and launch the game, if the error you made crashes the game, you'll see the edited Exception Handler Message you just made



On a Wii Emulator (Dolphin)[edit | edit source]

Open dolphin

Dolphinlog.png









Click View > Show Log and View > Show Log Configuration.








Togglelog.png







A window will appear, Click Log Configuration and then click Toggle All Log Types




Seelog.png





Then, click Log and you'll be able to see the logs of the game

Now, make an error in a newer sources file. Launch the game, if the error you made crashes the game, two things can happen: most of the time, dolphin will just show some errors and crashes but if you're very lucky, you'll see the Exception Handler Message in the logs of the game