Tutorial  Updated

How to Make Flash Game WAD Injects

This is not an April Fool's joke!

People have made countless injects of Virtual Console games on the Wii. That means they take a Virtual Console game WAD, then use a program such as “autoinjectuwadinjector” to put any ROM they want into the game. This process is known as “injecting”. One little-known thing (until now) is that you can do the same thing with Adobe Flash games! A few WiiWare games and video-streaming Channels on the Wii actually run on a Flash applet.

For this tutorial, we will be injecting Flash games using a base of the European-exclusive WiiWare game by the name of “Back to Nature”. The game is terrible, and one thing to blame for that is that it’s entirely Flash-based! The swf can even be extracted from the game and be played on a computer. Despite the fact the game is garbage, it gave us a nice gift - the ability to inject whatever Flash game you want into the app. We turned the WAD into a template. Even though the Internet Channel can play Flash games, it’s a hassle for the webpage containing the Flash game to load, and Flash is at the end of life. It’s a good time to take advantage of packaging Flash games into WADs.


What you need:

  • Base WAD, can be found on a site called MarioCube in the folder WADs > Flash Injects > Flash > Base.
    • If you want to get the Flash WAD working on a USA region Wii, download the USA WAD, else if you want to get it working on a Europe region Wii, download the Europe WAD.
  • A tool to unpack and pack a WAD (ShowMiiWADs, WadMii in Wii.cs Tools, Sharpii...)
  • A tool to unpack and pack a U8 archive (ShowMiiWADs, U8Mii in Wii.cs Tools, Sharpii, wszst...)
  • A text editor (Notepad is fine)
  • Brlyt tool (You will need to install an framework called ActiveX for this to run. It's old, so I'm not sure if it's compatible with newer versions of Windows.)
  • A tool to extract the banner and modify the icons (CustomizeMii...)


Editing 00000002.app


We will replace the SWF file in the WAD and optionally make some changes to a fun configuration file. Unpack the WAD using a tool such as ShowMiiWADs, then you will see a set of .app files. Extract the 00000002.app with your preferred tool to unpack a U8 archive. Replace `content/menu.swf` with the SWF of the Flash game you want to inject.


OPTIONAL: Open config/config.common.pcf with your preferred text editor. You can make some fun changes to this, but the base WAD has all the preferred settings.

  • mouse - should be "on" if you want to use the Wii Remote cursor as a mouse, else "off"
  • midi - enables use for a soundfont in DLS format. Haven’t tested this, but if you want to play with it, set it to "on". Else, set it to "off".
  • dls_file - uncomment this line to use it (remove the "#" at the start of the line). Set it to a path to the DLS file you want to use.
  • shared_object_capability - determines whether or not to make a save file, haven’t done testing with it. In most cases, should be "off".
  • vff_cache_size - if you plan to make a save file, you can change the number of kilobytes. Default is "96".
  • strap_reminder - should be "none". Set to "normal" if you want to enable the wrist strap reminder, or "no_ex" if you want to remove the transitioning image on the strap screen about using an extension controller.
  • supported_devices - should be "core, freestyle, classic". Not sure how this works, but it seems to enable or disable controllers. Other types of comma-separated controllers that this can be set to are "balance_checker", "codetrain", "guitar", and "future".
  • hbm_no_save - should be "off". This option probably enables the “Anything not saved will be lost” message when you access the Wii Menu or Reset button on the HOME Menu.
  • quality - should be "high", but can also be "low" or "medium" if you want to use those qualities for some reason.
  • qwerty_keyboard - should be "on" if you want to use the keyboard, else "off"

When you made your changes, pack 00000002.app back up with your preferred tool and re-pack the WAD with all of it’s contents.


Changing the icons and names:


Change the display name of the channel to your name of choice, and change its ID to something unique (It’s not recommended to modify the first letter of the title ID). Using CustomizeMii, Modify the images “IconVCPic” and “VCPic” to match your game.


Now, extract the banner.brlyt file and put it somewhere. Do the following customization steps:

  • Change the name to the name you chose previously and press the “set all” button.

  • Change the year to match your game and press the “set all” button.

  • Change the players amount to match your game. (e.g. 1, 1-4, 2-4)

  • Select the banner.brlyt file

  • Keep everything else exactly as is and save changes.

You are all done, install the WAD file onto your Wii. Ensure you have BootMii or Priiloader installed on your Wii before installing the inject, or test with Dolphin, because things can go wrong if you are not careful enough. If it doesn't work and black screens, then the game might not be compatible with the Wii. If it works, great.

Credits to dhtdht020 for helping me write this guide.
 
Last edited by Larsenv,

Tweaker_Modding

Siezure Dice™
Member
Joined
Sep 1, 2017
Messages
465
Trophies
0
Location
Somewhere
Website
google.com
XP
1,475
Country
United Kingdom
update papa louie 1 when pizzas attack works but it won't appear on the wii menu meaning you have to load it via priiloader and its music is buggy and cuts out at times sound effects work and the game is laggy but playable
 

kokokool

Well-Known Member
Member
Joined
Apr 19, 2019
Messages
144
Trophies
0
Age
40
XP
588
Country
Chile
I grabbed Mario crossover.swf and i decompiled it with ffdec to match Bloxorz settings (flash injection that worked for me). just change the frame rate from 60 to 36 and I managed to show the cursor..... anyway, is a progress to me.

which app are you using to change swf settings?
 

redfire_mrt

Well-Known Member
Member
Joined
May 26, 2020
Messages
226
Trophies
0
XP
1,114
Country
United States
Yes! This means I will make WiiWare Games with Flash Injects! I will be making my own Flash files before doing this step on July 25. And Video-streaming Channels like YouTube! I will be making Custom games like Sid the Stick and Ah my eyes!
 

HomeStarRunnerTron

Well-Known Member
Newcomer
Joined
Jul 24, 2019
Messages
54
Trophies
0
Age
30
XP
1,020
Country
United States
Just some information that helped me-- when I repacked my .app file, I used Unheadered, then when prompted after that, didn't compress it. I was unable to get any games with AS3 instead of AS2 to so much as show up, even when I published the initial Flash file in a low Flash Player version (10.3). And for me, the frame-rate was... maybe slightly below 12fps, depending on what was happening?

Seriously wonderful, though-- even just to ENVISION how these sorts of games would be as an official Wii Shop release. -- Anyone had any luck wrapping games that use AS3?
 

kokokool

Well-Known Member
Member
Joined
Apr 19, 2019
Messages
144
Trophies
0
Age
40
XP
588
Country
Chile
Just some information that helped me-- when I repacked my .app file, I used Unheadered, then when prompted after that, didn't compress it. I was unable to get any games with AS3 instead of AS2 to so much as show up, even when I published the initial Flash file in a low Flash Player version (10.3). And for me, the frame-rate was... maybe slightly below 12fps, depending on what was happening?

Seriously wonderful, though-- even just to ENVISION how these sorts of games would be as an official Wii Shop release. -- Anyone had any luck wrapping games that use AS3?

Sorry, so you managed to build as2 flash wads successfully?

As3 not?


Enviado desde mi iPhone utilizando Tapatalk
 

SaulFabre

I like Yoshis and the Wii/Wii U scene.
Member
Joined
Feb 6, 2019
Messages
3,174
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,771
Country
Ecuador
Nice guide for inject Flash games, I've injected the Adobe Flash game "PAC.MAN" from Neave, and it works. My question I have is: how I can map the keyboard keys (example, in Tetris N-Blox, the letter P key is for pause the game, Z is for tilt the block to left and X is for tilt the block to right) to the Wii buttons in order to be usable when playing? I've tried to map it for make it a controllable game but it didn't work... Any ideas for may letter keys from keyboard to the Wii buttons? Thanks in advance :D
 

redfire_mrt

Well-Known Member
Member
Joined
May 26, 2020
Messages
226
Trophies
0
XP
1,114
Country
United States
um.....when I extracted 02.app I replaced the SWF file in trusted & I just go in common.pcf & edited the wii_shim.swf & putted WorldsHardestGame.swf. & when I packed the 02.app & packed the WAD I install it but then it shows a BLACKSCREEN. The other World's Hardest Game WAD created by MarioCUbe worked. But the other one in the YOUTUBE CHANNEL WAD. did'nt I tried the 02.app_OUT & pack the fokder after I did the common.pcf & does the samethhing as a BLACKSCREEN. What I am doing WRONG?
 

SaulFabre

I like Yoshis and the Wii/Wii U scene.
Member
Joined
Feb 6, 2019
Messages
3,174
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,771
Country
Ecuador
um.....when I extracted 02.app I replaced the SWF file in trusted & I just go in common.pcf & edited the wii_shim.swf & putted WorldsHardestGame.swf. & when I packed the 02.app & packed the WAD I install it but then it shows a BLACKSCREEN. The other World's Hardest Game WAD created by MarioCUbe worked. But the other one in the YOUTUBE CHANNEL WAD. did'nt I tried the 02.app_OUT & pack the fokder after I did the common.pcf & does the samethhing as a BLACKSCREEN. What I am doing WRONG?
Hi @mrt84! The reason of the BLACKSCREEN is because the WAD doesn't detect the wii_shim.swf. You put your SWF with the name WorldsHardestGame.swf, which that name doesn't load the emulator. You MUST rename the SWF you've put in the WAD as wii_shim.swf instead of WorldsHardestGame.swf and then repack the 02.app file. Hope this works :D
 

redfire_mrt

Well-Known Member
Member
Joined
May 26, 2020
Messages
226
Trophies
0
XP
1,114
Country
United States
um.......I change the common.pcf the stuff & change the other one so yeah. When I launched the FIXED version it says "An error occurred while accessing Wii System Memory. Refer to the the Wii Operations Manual for details". What SHOULD I do? I change the common.pcf & packed the 02.app & then pack the WAD. But there is No VCPic.tpl or IconVCPic.tpl or VC Icon & Banners & it dosen't work & again what am I doing WRONG?

Here is how it look like.
 
Last edited by redfire_mrt,

SaulFabre

I like Yoshis and the Wii/Wii U scene.
Member
Joined
Feb 6, 2019
Messages
3,174
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,771
Country
Ecuador
um.......I change the common.pcf the stuff & change the other one so yeah. When I launched the FIXED version it says "An error occurred while accessing Wii System Memory. Refer to the the Wii Operations Manual for details". What SHOULD I do? I change the common.pcf & packed the 02.app & then pack the WAD. But there is No VCPic.tpl or IconVCPic.tpl or VC Icon & Banners & it dosen't work & again what am I doing WRONG?

Here is how it look like.

Well, the YouTube channel is no longer recommended for Flash iNJECTS. It is recommended Back to Nature (PAL) or the Flash Placeholder bases (NTSC-U & PAL) for inject SWF into WADs.
 
  • Like
Reactions: kokokool

redfire_mrt

Well-Known Member
Member
Joined
May 26, 2020
Messages
226
Trophies
0
XP
1,114
Country
United States
oh no! so sad! then let me just do the WiiWare back to nature or Flash Placeholder EITHER way i just made the Wii VC injects. since then monday I problay made do the Flash iNJECTS instead.
 

SaulFabre

I like Yoshis and the Wii/Wii U scene.
Member
Joined
Feb 6, 2019
Messages
3,174
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,771
Country
Ecuador
oh no! so sad! then let me just do the WiiWare back to nature or Flash Placeholder EITHER way i just made the Wii VC injects. since then monday I problay made do the Flash iNJECTS instead.
Yeah. Well, user @SuperrSonic tested the SWF files of the game "Shadow the Hedgehog Flash" in Back to Nature WAD and in YouTube Channel WAD, and they have a big difference. Here's the differences between SWF injected in Back to Nature and injected in YouTube Channel:

Back to Nature WAD:

shado-png.202098


YouTube Channel WAD:

ytsh1-png.202099


As you can see, the WAD Back to Nature has better compatibility with Adobe Flash SWF games than YouTube Channel. Back to Nature almost perfectly emulates the injected SWF files, as you can see the Back to Nature comparison. Howewer, in YouTube Channel, the SWF doesn't look so good. Shadow looks yellow instead of black and red.
Hope this help :D
 

redfire_mrt

Well-Known Member
Member
Joined
May 26, 2020
Messages
226
Trophies
0
XP
1,114
Country
United States
I tested the BACK IN NATURE European on my Wii U after I created the injected Flash BIN Back in Nature WAD. when I click start it says "This Channel cannot be used" Because I think i'm on the USA version so I DON"T THINK THAT the game will NOT work at all in the USA version.
 

SaulFabre

I like Yoshis and the Wii/Wii U scene.
Member
Joined
Feb 6, 2019
Messages
3,174
Trophies
2
Age
25
Location
Ecuador
Website
saulfabreg-wiivc.blogspot.com
XP
7,771
Country
Ecuador
I tested the BACK IN NATURE European on my Wii U after I created the injected Flash BIN Back in Nature WAD. when I click start it says "This Channel cannot be used" Because I think i'm on the USA version so I DON"T THINK THAT the game will NOT work at all in the USA version.
The Flash games are NOT REGION LOCKED. The Flash games are used around the world without restrictions of region. You can inject your Flash games in any Flash base WAD of any region.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    I @ idonthave: :)