Mario Kart Wii Gecko Codes, Cheats, & Hacks
Custom Text on ISO Guide - Printable Version

+- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com)
+-- Forum: Guides/Tutorials/How-To's (https://mariokartwii.com/forumdisplay.php?fid=45)
+--- Forum: Other (https://mariokartwii.com/forumdisplay.php?fid=49)
+--- Thread: Custom Text on ISO Guide (/showthread.php?tid=66)



Custom Text on ISO Guide - Vega - 02-15-2018

Custom Text on ISO Guide

NOTE: This guide assumes you are somewhat familiar with WIT/SZS Tools. This guide is meant for intermediate users, not beginners. Linux is used in this guide. But the same commands can be converted to work on Windows, if you are familiar with WIT/SZS Tools on your Windows machine. Guide works for both raw ISO files and WBFS files.


In this guide, the english (U) version of the RMCE01
szs files are manipulated.

1. cd (location of copied wbfs)
2. Example: /home/yourusername/isos/NTSCU.wbfs
3. wit extract NTSCU.wbfs /home/yourusername/Test
4. Test folder in step 3 must be created by the command, not beforehand
5. cd /home/yourusername/Test/DATA/files/Scene/UI
6. wszst extract Award_U.szs
wszst extract Channel_U.szs
wszst extract Event_U.szs
wszst extract Globe_U.szs
wszst extract MenuMulti_U.szs
wszst extract MenuOther_U.szs
wszst extract MenuSingle_U.szs
wszst extract Present_U.szs
wszst extract Race_U.szs
wszst extract Title_U.szs
7. Delete all the SZS files you extracted from, so only their respective
newly created directories exist. Leave other SZS files alone.
8. cd Award_U.d
9. cd message
10. wbmgt decode Common.bmg
11. wbmgt decode Menu.bmg
12. wbmgt decode Race.bmg
13. Delete the 3 bmg files you just decoded.
14. Open Common, Menu, and Race.txt's with a text editor and make desired edits
15. wbmgt encode Common.txt
16. wbmgt encode Menu.txt
17. wbmgt encode Race.txt
18. Delete the txt files now so the new BMG files only remain
19. Make a new folder /home/yourusername/CommonMenu and copy paste the Common.bmg and Menu.bmg into there
20. Make a new folder /home/yourusername/Race and copy paste the Race.bmg into there
21. Go to the ./Channel_U.d/message folder and delete Common.bmg and Menu.bmg
22. Copy paste your new Common and Menu bmgs from /home/yourusername/CommonMenu into that message folder
23. Do this now to the ./Event_U.d/message folder
24. Do this to the ./Globe_U.d/message folder
25. Do this to the ./MenuMulti_U.d/message folder
26. Do this to the ./MenuOther_U.d/message folder but leave the StaffRoll.bmg alone, also
no point in manipulating this file since its literally just the end credits
27. Do this to the ./MenuSingle_U.d/message folder
28. Do this to the ./Present_U.d/message folder
29. Go to the Race_U.d/message folder and delete Common, Menu, and Race.bmg. Paste in your new
Common and Menu Bmgs. Copy paste your new Race bmg from /home/yourusername/race into that message folder.
Leave the Number.bmg alone.
30. Go to the ./Title_U.d/message folder and delete Common and Menu bmg. Paste in your new COmmon and Menu
bmgs.
31. Now every folder has been covered, time to recreate all the SZS files
32. cd /home/yourusername/test/DATA/files/Scene/UI
33. wszst create ./Award_U.d
34. Do the create command for all the rest of the directories
35. Once all 10 new SZS files have been created, delete all the directories
36. cd /home/yourusername
37. wit copy ./test /home/yourusername/NEWNTSCU.iso
38. Add ISO to USB drive, congratz!! Go ahead and delete the /home/yourusername/commonmenu and /race folders.


RE: Custom Text on ISO Guide - FancyWheelies - 11-15-2019

Here's the code for a batch file that basically automates this if anyone wants.  Big Grin

Code:
wszst extract Award_U.szs Event_U.szs Globe_U.szs MenuMulti_U.szs Present_U.szs MenuOther_U.szs MenuSingle_U.szs Channel_U.szs Title_U.szs Race_U.szs
copy /b .\Race_U.d\message .\
wbmgt decode Menu.bmg Common.bmg Race.bmg
pause
wbmgt encode Menu.txt Common.txt Race.txt -o
del Menu.txt Common.txt
copy /b Menu.bmg + Common.bmg + Race.bmg .\Award_U.d\message
copy /b Menu.bmg + Common.bmg + Race.bmg .\Globe_U.d\message
copy /b Menu.bmg + Common.bmg + Race.bmg .\Event_U.d\message
copy /b Menu.bmg + Common.bmg + Race.bmg .\MenuOther_U.d\message
copy /b Menu.bmg + Common.bmg + Race.bmg .\Present_U.d\message
copy /b Menu.bmg + Common.bmg + Race.bmg .\MenuMulti_U.d\message 
copy /b Menu.bmg + Common.bmg + Race.bmg .\MenuSingle_U.d\message
copy /b Menu.bmg + Common.bmg + Race.bmg .\Channel_U.d\message
copy /b Menu.bmg + Common.bmg + Race.bmg .\Title_U.d\message
copy /b Menu.bmg + Common.bmg + Race.bmg .\Race_U.d\message
wszst create Award_U.d Event_U.d Globe_U.d MenuOther_U.d Present_U.d MenuMulti_U.d Channel_U.d MenuSingle_U.d Race_U.d Title_U.d -o
rmdir /s /q Award_U.d Event_U.d Globe_U.d MenuOther_U.d Present_U.d MenuMulti_U.d Channel_U.d MenuSingle_U.d Race_U.d Title_U.d
del Menu.bmg Common.bmg