Tutorial  Updated

Virtual Console - Commodore 64 (C64 / C-64) - Wii VC Injection Tutorial

Hello, community.
I'd like to share us my Wii VC injection tutorial for Commodore 64 (C64 or C-64) games (only in PAL releases / PAL WADs).

SjoAXaJ.png


sixKWD0.png


H8vBzBw.png


dRI1aue.png

Qs30DMw.png


If you like C64 games as Bosconian '87, PAC-MAN, WWF WrestleMania, 1942, Karate Champ, or others for this game system, and you want to see in action as Wii VC games, this is the tutorial for you.

-------------------------------------------------------------------------
WARNING WARNING WARNING!!!!!!!!!!!!!!!!
-------------------------------------------------------------------------

Unproperly following these instructions and/or unproperly packing the 00000000.app file CAN HARD-BRICK YOUR Wii!!!!!! DO NOT ATTEMPT TO CREATE CUSTOM Wii VC WADS unless you know what are you doing!!!!!! It's highly recommendable that you have installed in your Wii any brick protection such as BootMii as boot2, or Priiloader!

Here are the steps to inject your game!

----------------------
First, download the Custom Frodo for Wii Snapshots made by @WiiCrazy (I.R.on): https://gbatemp.net/threads/custom-frodo-for-c64-vc-injection.102356/
Now, download the Commodore 64 T64 to D64 Converter by Build-0-Matic here: https://www.mediafire.com/file/2crs...T64_to_D64_Converter_by_Build-0-Matic.7z/file
Then download the other necessary tools here: https://gbatemp.net/download/all-in-one-wii-vc-injecting-tools-by-saulfabreg.35917/
Uncompress the 7Z file.
-------------------

FIRST STEP - PREPARING YOUR COMMODORE 64 ROM AND COMMODORE 64 VC WAD
  1. Get your Commodore 64 WAD for inject. The recommended WAD for inject is International Karate (PAL).
  1. Then do one of the following steps depending of the type of the ROM:
  • If you are really lucky, the ROM of your C-64 game is in *.d64 format. If this is the case, skip to SECOND STEP.
  • Most of the time, the ROM of your C-64 game is in *.t64 format. If this is the case, you have extra work to do. You MUST convert your *.t64 ROM to a readable *.d64 file. For do this, follow the following steps:
  1. Uncompress the 'Commodore 64 T64 to D64 Converter by Build-0-Matic.7z' file that you downloaded
  2. Open the T64-to-D64-master folder
  3. Now copy your *.t64 ROM file and paste in the c1541 folder of the T64-to-D64-master folder. DO NOT DELETE ANYTHING FROM THE c1541 FOLDER!!!! IF YOU DO THAT, THE CONVERTER WON'T WORK CORRECTLY!!!!!
  4. Now go back to T64-to-D64-master folder and, without releasing the left button of the mouse, drag and drop into T64 to D64.cmd executable
  5. Let the program do its work...
  6. Once finished, close the CMD and you get a converted C64 game in *.D64 format.
  7. Now follow the SECOND STEP below:
SECOND STEP - TAKING A SNAPSHOT IMAGE OF YOUR GAME
  1. In the “Control Panel”, open “Folder Options” and click on “View”. Make sure “Hide extensions for known file types” is UNTICKED!
  2. Get your C-64 ROM. The game must be in *.d64 format. If the ROM of your C-64 game is in *.t64 format, you MUST convert your *.t64 ROM to a readable *.d64 file to be readable for any C-64 emulator (see FIRST STEP upper from this). Emulate it using VICE, Frodo, or other emulators.
  3. Take a snapshot of your game. Use Snipping Tool to do it.
  4. Click in 'New' and use the mouse to take it.
  5. Save the snapshot in a folder with the name of the game.
THIRD STEP - EDITING THE VCPic.tpl, IconVCPic.tpl AND banner.brlyt FILES

  1. Now open the CustomizeMii v3.11 folder
  2. Run CustomizeMii.exe as administrator
  3. In Source Wad, select the C-64 WAD you want to inject
  4. Click in the 'Title' tab, write the name of the game, and delete the translations.
  5. Click in the 'Options' tab, and modify the game ID.
  6. Click in the 'Banner' tab, and select the 'VCPic.tpl' file.
  7. Click in the 'Preview' button
  8. In 'Banner', select again 'VCPic.tpl'
  9. Click in 'Replace', and select 'RGBA8'
  10. Select the screen capture file of your game that you maked in Snipping Tool
  11. Now, in 'Icon', select 'IconVCPic.tpl'
  12. Click again in 'Replace', and select 'RGBA8'
  13. Select the screen capture file of your game again that you maked in Snipping Tool
  14. Close the Preview window
  15. Go to the 'Layout' tab
  16. In 'Banner', select the 'banner.brlyt' file and extract it
  17. Save in the Wii VC Injecting Tools folder
  18. Now open the 'HowardC_Tools' folder
  19. Open the 'VCbrlyt9.0' folder
  20. Run vcbrlyt.exe as administrator
  21. Click in the '...' button to localize the banner.brlyt file
  22. Select the 'banner.brlyt' file that you extracted
  23. Edit the banner.brlyt file as shown:
  • Name: [Game Name]
  • Year: [year that was released the game]
  • Players: [# of allowed players], NO DASHES!!!! (Ex., write '2' for '1-2')
  • Then follow the following steps:
  1. Click in 'Save Changes'
  2. Close the VC brlyt Editor
  3. In CustomizeMii, select again the 'banner.brlyt' file and click in 'Replace'
  4. Select the 'banner.brlyt' file that you edited
  5. Now click in 'Create WAD'
  6. If the 'You changed the brlyt file, but you didn't change the brlan file. Are you sure this is correct?' window shown, select 'Yes' or 'OK'
  7. Save the WAD as '[game_name]_TEST.wad' Example: 'Bosconian87_TEST.wad'
  8. Close CustomizeMii
FOURTH STEP - UNPACKING THE EDITED WAD
  1. Now copy and paste the WAD in the 'WADpack_WADunpack' folder
  2. Rename the WAD file as 'in.wad'
  3. Use 'WAD Unpacker.bat'
  4. Click in the randomed-name folder. Here's the files that joins the WAD.

FIFTH STEP - CREATING THE SAVE ICON
  1. Open again the 'HowardC_Tools' folder
  2. Now, in 'HowardC_Tools' folder, click in the 'VCIcon8.0' folder
  3. Run VC_Icon_Gen.exe as administrator
  4. In 'Console', select 'C-64'
  5. In 'Source', select the screen capture photo that you made in Snipping Tool
  6. In 'Dest', select the photo folder
  7. In 'Create', uncheck the options 'Channel Icon' and 'Banner Image'
  8. Click in 'Make Preview' to see the preview of your new save icon
  9. Now click in 'Make' to make the LZ77_banner.tpl file. This file is saved in the photo's folder. NOTE: The save icon file is made WITH NO COMPRESSION!!! SO WE HAVE TO COMPRESS IT TO LZ77 BEFORE INJECTING IT!!!
  10. HINT: Rename the generated LZ77_banner.tpl to banner.tpl in order for avoid confusing.
SIXTH STEP - UNPACKING THE 00000005.app FILE
  1. Now go to the 'u8tool10.1' folder and run U8Tool.exe as administrator
  2. In 'Archive File', click in '...' button to localize the file
  3. Select the '00000005.app' file in the
  4. Now cut all the save icon files and paste in the randomed-name folderrandomed-name folder
  5. Then click in 'Extract'
  6. Minimize the U8 Tool
SEVENTH STEP - INJECTING THE SAVE ICON AND SAVE TITLE
  1. Now go to the following folders:
  • The screen capture folder
  • The '.../[randomed-name]/00000005_app_OUT/' folder
  • Then follow the following steps:
  1. Now download a hex editor compatible with Unicode to edit the save title. Download the HxD Hex Editor utility from the following link: https://mh-nexus.de/en/downloads.php?product=HxD20
  2. Once the HxD Hex Editor is installed, open it.
  3. Then click on File and then Open. Or easier, press Ctrl + O.
  4. Find the WAD folder you unpacked and open the file 00000001.app file
  5. Now click on Search and select the Search option. Or easier, press Ctrl + F.
  6. In the 'Search' box, look for the original save title of the original WAD (that is, the previous name of the WAD before editing it). For example, if to inject 'Bosconian '87' you used the WAD of 'International Karate', then look for the words 'International Karate' (WITHOUT quotes).
  7. In 'Text encoding', choose the option 'Unicode (UTF-16 little endian).
  8. Click on 'Accept' or 'OK'.
  9. c64-step1.PNG

  10. If you wrote the name of the original save correctly, it will be highlighted:
  11. c64-step2.PNG

  12. Now click the first letter of the save title (example, if title is International Karate, the first letter is I) and start editing the save title with your keyboard, (you can use letters, symbols and spaces), always avoiding overpassing the limit that is the last word of the original save title (example, E). DO NOT REMOVE 00 byte before letters!
  13. When you have finished, see if any other unnecessary letters are in your edited save title. If there is, then put byte 00 to each unnecessary letter replacing it. See example:
  14. c64-step3.PNG

  15. Once modified, you should see a text like this, with your save marked red: (DO NOT DO ANYTHING THERE)
  16. c64-step4.PNG

  17. Once you have edited your save, save the changes of 00000001.app by clicking on File and then on Save. Or easier, use Ctrl + S.
  18. c64-step5.PNG

  19. Ok. Once saved, it's time to inject the save icon file. But first, we have to compress it to LZ77 for make it usable.
  20. First, get your LZ77_banner.tpl of your game and rename it as banner.tpl
  21. Copy the banner.tpl and paste in WADpack_WADunpack folder
  22. Open the CMD and execute the command: gbalzss.exe e banner.tpl LZ77_banner.tpl
  23. Once compressed the save icon file, copy the new LZ77_banner.tpl and paste in the 00000005_app_OUT of the randomed-name folder
  24. Once saved, now go to the EIGHTH STEP.
EIGHTH STEP - INJECTING THE C-64 ROM, EXTRACTING ORIGINAL VC FRODO SNAPSHOT AND GENERATING & INJECTING THE C-64 GAME FRODO SNAPSHOT
  1. Open your game snapshot folder and the '00000005_app_OUT' folder
  2. Get your C-64 ROM in D64
  3. Rename your ROM to inject as the WAD's ROM file.
    Example: If the WAD's ROM name is 'ik.d64', then rename your ROM as 'ik.d64'. REMEMBER: If warning message that the file can be unusable, accept and continue by choosing 'Yes' or 'OK'.
  4. Now copy your renamed ROM file to the '/.../00000005_app_OUT/' replacing the old ROM file.
  5. OK! You replaced the old ROM file with your ROM file you want to inject! But the Frodo snapshot of the game is required in order to work, so we MUST also generate and inject it.
  6. First, uncompress the Custom Frodo 7Z file from VC ROM files creators 7Z file, then open the Custom Frodo for Wii Snapshots folder, then open the bin folder.
  7. Go to 00000005_app_OUT and copy the original LZ77_snapshot.bin file and paste in folder WADpack_WADunpack
  8. Open the CMD and execute the command: gbalzss.exe d LZ77_snapshot.bin ik.fss
  9. Once uncompressed the Frodo snapshot file, copy the ik.fss file and paste in the bin folder of Custom Frodo folder
  10. Now open the bin folder, then run Frodo.exe
  11. NOTE: If error "Can't find XXXXX ROM" (example, Can't find Basic ROM) appears, then follow the instructions of this guide: How to fix 'Can't find XXXXX ROM in Custom Frodo.txt
  12. Now configure Frodo for use your D64 file for play. For do this, first click in Tools tab, then press in Preferences.
  13. frodo-step1.PNG

  14. In Standard tab, press Browse in Device 8, then open your D64 file of your game, and click in Open. REMEMBER, FRODO VC EMULATOR USES DEVICE 8 FOR LOADING GAMES AND NOT OTHER DEVICES!!!! IF YOU TRY TO USE ANOTHER DEVICE FOR RUN, THEN THE GAME WON'T START!!!!
  15. frodo-step2.PNG
  16. Once set up the device 8 with your game, press OK, Accept or Save.
  17. frodo-step3.PNG

  18. Reset the C64 virtual machine on Frodo by pressing F12 or in Tools > Reset C64.
  19. Now, in the Commodore 64 Basic, type the following command and press Enter: LOAD"*",8,1
  20. frodo-step4.PNG
  21. The virtual C64 try to read the D64 ROM file of your game. It will say like this:
  22. SEARCHING FOR *
  23. LOADING FROM #### (####) TO #### (#### is a random number)
  24. frodo-step5.PNG

  25. Once loaded, you have to see READY and not ERROR. If ERROR says in the Basic, then try reconfigurating your D64 file to use on Device 8 by repeating steps 12 to 15.
  26. When READY shows, and there is no errors when loading, then write this command and press Enter: RUN
  27. frodo-step6.PNG
  28. Once you executed RUN, the game should be playable and visible. Don't worry about the small glitches and lags during game, it will working better on real Wii hardware.
  29. frodo-step7.PNG

  30. Now, let's generate the Frodo VC snapshot from our game and from the extracted ik.fss file. First, check if the extracted and uncompressed ik.fss file is in the bin folder of Custom Frodo, then go to Tools and click in Patch and Save Snapshot.
  31. frodo-step8.PNG

  32. Give a name to our new snapshot (example, bosc87.fss) and save in the game image folder.
  33. frodo-step9.PNG

  34. Once finished, close Frodo
  35. Ok, we generated a new snapshot for our game, but that's uncompressed (no compression). For make it usable for our VC emulator, we have also to compress it to LZ77 IN ORDER FOR GET THE SNAPSHOT DETECT AND WORKING.
  36. First, get your game snapshot of your game in FSS format.
  37. Copy the *.fss file and paste in WADpack_WADunpack folder
  38. Delete the original LZ77_snapshot.bin from WADpack_WADunpack folder, but NOT from the randomed-name folder
  39. Open the CMD and execute the command: gbalzss.exe e [snapshot_name].fss LZ77_snapshot.bin Example: gbalzss.exe e bosc87.fss LZ77_snapshot.bin
  40. Once compressed the Frodo snapshot file, copy the new LZ77_snapshot.bin and paste in the 00000005_app_OUT folder from the randomed-name folder, replacing the old one.
  41. Once injected the ROM file and the snapshot file, now go to the NINETH STEP.

NINETH STEP - PACKING THE 00000005.app FILE

  1. Open again the minimized U8 Tool
  2. In 'Archive File', click in '...' button to localize the file
  3. Select the '00000005.app' file in the randomed-name folder
  4. Then click in 'Pack'
  5. Close the U8 Tool
  6. Now, before packing the WAD, check what is the region of your Wii console. If you want to play your C-64 Wii VC iNJECT in a PAL console, then skip the EXTRA STEP and go to TENTH STEP. But if you want to play your C-64 Wii VC iNJECT in a NTSC console, then read the EXTRA STEP below.
EXTRA STEP - PATCHING THE main.dol (00000001.app) FOR USE NTSC VIDEO SIGNAL INSTEAD OF PAL VIDEO SIGNAL

If your Wii console is NTSC-U / NTSC-J region and not PAL region, then you MUST patch the 00000001.app (main.dol) file to NTSC in order for get your C-64 Wii VC iNJECT working on your NTSC Wii.
Follow the steps below for do this:
  1. Open the randomed-name folder
  2. Rename the 00000001.app file to main.dol. REMEMBER: If warning message that the file can be unusable, accept and continue by choosing 'Yes' or 'OK'.
  3. Now uncompress the Generic Wii Patcher v1.2 7Z file from Other utile Wii tools 7Z file, then open the Generic Wii Patcher folder
  4. Open GenericWiiPatcher.exe as administrator
  5. Click in Open button and open the main.dol file on the randomed-name folder
  6. Now, in 'Video mode changer', click in 'Search'. It will search what video mode is the 1.app file. Once finished, it MUST show you PAL.
  7. Now, in 'Video mode changer' again, click in 'PAL-2-NTSC' button. It will start patching the PAL region to NTSC region.
  8. Once finished, click in 'Save' button and save the changes made to 1.app file
  9. Close Generic Wii Patcher
  10. Now rename the main.dol file again to 00000001.app. REMEMBER: If warning message that the file can be unusable, accept and continue by choosing 'Yes' or 'OK'.
You need to know about patching PAL WADs for use in NTSC Wiis:
  • The screen of the game is stretched out on the upside and the downside of the screen.
  • When you press the HOME button, the game crashes and soft-locks your Wii. If this occurs, the only thing you can do is rebooting your Wii. This problem is still unfixable :(
  1. Now follow the TENTH STEP below:
TENTH STEP - PACKING THE INJECTED WAD
  1. Go to the randomed-name folder
  2. Copy all the files (not the folders, just the files) that are:
  • - The .app files
  • - The .tik file
  • - The .tmd file
  • - The .cert file
  • - The .trailer file
  • - The .tpl files
  • Then follow the following steps:
  1. Paste all the files in the 'WADpack_WADunpack' folder
  2. And use 'WAD Packer.bat'
  3. This make a out.wad file
ELEVENTH STEP - USING WADder TO EDIT THE PACKED WAD

  1. Go to the 'WADder_Editor' folder
  2. Run wadder.exe as administrator
  3. In 'WAD to Edit', click in 'Browse'
  4. Select the 'out.wad' file that is in the 'WADpack_WADunpack' folder
  5. Click in the 'Title' tab
  6. In 'All Languages', enter the name of the game
  7. Click in the 'Create WAD!' button
  8. In the 'Banner' tab, select the 'VCPic.tpl' file
  9. Click in 'Preview'
  10. Now click in 'Replace'
  11. Select the screen capture that you made in Snipping Tool
  12. Click again in 'Preview'
  13. Click in the 'Icon' tab
  14. In the 'Icon' tab, select the 'IconVCPic.tpl' file
  15. Click in 'Preview'
  16. Now click in 'Replace'
  17. Select the screen capture that you made in Snipping Tool
  18. Click again in 'Preview'
  19. Then click in 'Continue'
  20. Save your WAD as [game_name].wad Example: Bosconian87_C64.wad
  21. OK! Now you injected your game as Wii Virtual Console game, ready to install and use!
INSTALLING YOUR INJECTED WAD:

Remember, you must have installed any brick protection such as BootMii as boot2, or Priiloader BEFORE INSTALLING ANY WAD!!!!!!! For install WADs, you must have the Homebrew Channel installed on your Wii and one of the following homebrew apps:
  • Wii Mod Lite (released by RiiConnect24 bashed on jskyboo's WiiMod)
  • Multi-Mod Manager (released by Wiiwu)
  • YAWMM (Yet Another Wad Manager Mod) (released by Leathl, WiiShizzza and Cwstjdenobs)
  • WAD Manager (released by Waninkoko)
  • Pimp my Wii (released by Attila and distributed by wii-info.fr)
Here's some snapshots of one of my C-64 injections:

snap.PNG

snap2.PNG

snap3.PNG

snap4.PNG


Enjoy injecting your COMMODORE 64 games for Wii VC, and have fun!!! Enjoy!!! :) :yaywii:
saulfabreg
 

Attachments

  • How to fix 'Can't find XXXXX ROM' in Custom Frodo.txt
    731 bytes · Views: 314
Last edited by SaulFabre,

redfire_mrt

Well-Known Member
Member
Joined
May 26, 2020
Messages
226
Trophies
0
XP
1,116
Country
United States
I get a Frodo error:
Illegal opcode 42 at 000d.
Press OK to reset.
I tried restarting Frodo and type the required command again, but this time no response after “Searching for *”.
The D64 file I’m using is a Bad Apple 64 ROM from Archive.org that is 192 KBs.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=9X0F1Qjn0Ac