Hacking WiiU VC game injection working on 5.3.2

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
Apparently, just having more than one file in the rom folder does the trick.

Huh, I wonder how this was discovered. I still don't know how this would actually work, like, obviously games load on Loadiine GX2 with a GUI, but having multiple RPX files in one folder, how does that work with content folders or the code folders? I think @KiiWii should at least maybe show us what the folder layout is like?

I ask because games have code and content folders, and each games needs to have X amount of needed files in order to load the RPX, so with multiple RPX files in one folder, I don't see how that works without issues.
 
Last edited by the_randomizer,

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
N64 are outside the RPX.

That doesn't tell me anything though. I'm asking how the folder placement/hierarchy is set up when having multiple RPX files in a folder, where it pulls the files from content from, how it knows to do it, if it works with Snes games, etc.
Right now, there's not enough info to go around on how to actually set this up, how to navigate or access the menu, if HBL and Loadiine GX2 are used. No info.
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,228
Country
Canada
That doesn't tell me anything though. I'm asking how the folder placement/hierarchy is set up when having multiple RPX files in a folder, where it pulls the files from content from, how it knows to do it, if it works with Snes games, etc.
Right now, there's not enough info to go around on how to actually set this up, how to navigate or access the menu, if HBL and Loadiine GX2 are used. No info.
Apparently, having more files in the rom folder triggers it.
 

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
Apparently, having more files in the rom folder triggers it.
Doesn't seem to work for Snes games.

Just put a bunch of N64 ROMs into the ROM folder..

Doesn't work with Snes games. I copied the Content and Data folders over from an existing Snes game (Kirby's Dreamland 3) placed about 10 RPX games into the content folder (or wherever it is the RPX goes). I loaded it up and picked one at random
I thought that it was supposed to load a ROM menu?
 

TheLittlestBowl

Well-Known Member
Member
Joined
Sep 3, 2013
Messages
119
Trophies
0
XP
1,093
Country
Canada
You'd have to extract the contents of the ELF. Then make a new ELF with multiple ROMs inside where ever it stores ROMs. That's if the SNES emulator even has the ROM menu.
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,228
Country
Canada
Doesn't seem to work for Snes games.



Doesn't work with Snes games. I copied the Content and Data folders over from an existing Snes game (Kirby's Dreamland 3) placed about 10 RPX games into the content folder (or wherever it is the RPX goes). I loaded it up and picked one at random
I thought that it was supposed to load a ROM menu?
I said N64 :)
 

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
I said N64 :)

Right, I understand that, I want to see if I can do with Snes games instead as they're more compatible :P

You'd have to extract the contents of the ELF. Then make a new ELF with multiple ROMs inside where ever it stores ROMs. That's if the SNES emulator even has the ROM menu.

Hmm, I know how to do that, I didn't think of it, not sure if Snes games have that.
 
  • Like
Reactions: VinsCool

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,242
Trophies
2
XP
34,823
Country
Mexico
Right, I understand that, I want to see if I can do with Snes games instead as they're more compatible :P



Hmm, I know how to do that, I didn't think of it, not sure if Snes games have that.
SNES games are stored within the RPX, unlike GBA, N64 or DS games.
You could try inject 3/4 games of 1MB each into a 3MB (or 4 MB) VC dump like EarthBound and see what that does, but I don't think that'd do much.
 
  • Like
Reactions: the_randomizer

the_randomizer

The Temp's official fox whisperer
Member
Joined
Apr 29, 2011
Messages
31,284
Trophies
2
Age
38
Location
Dr. Wahwee's castle
XP
18,969
Country
United States
SNES games are stored within the RPX, unlike GBA, N64 or DS games.
You could try inject 3/4 games of 1MB each into a 3MB (or 4 MB) VC dump like EarthBound and see what that does, but I don't think that'd do much.

Ugh, so there's no chance in there being a working menu? :unsure: *sigh* Oh well. It's bad enough that no one has stepped forward with info about the filtering.
 

SlimPortable

Well-Known Member
Member
Joined
Aug 18, 2015
Messages
275
Trophies
0
Age
28
XP
159
Country
United States
Cool going to try this out!

EDIT:

OMG just found something cool by accident..... rom load menu?!

simply renamed the rom I had working to .BAK while testing the next rom and round this menu

0FU0xBc.jpg


ANMlG9y.jpg


L-stick changes and A selects even though it says Y.... weird? anyone else seen this before?

Maybe we can use this as a multi rom host or something? load one title, pick a rom within that hosts compatibility, and have a multi menu?
I'm on a Mac laptop and when ever you write to SD card Macs add some little hidden files to it for every file you copy over for some reason. If I don't remove those files first this screen shows up for me. I could never get anything to load from this screen, weird.
 

KiiWii

Editorial Team
Editorial Team
Joined
Nov 17, 2008
Messages
16,735
Trophies
3
Website
defaultdnb.github.io
XP
27,372
Country
United Kingdom
I'm on a Mac laptop and when ever you write to SD card Macs add some little hidden files to it for every file you copy over for some reason. If I don't remove those files first this screen shows up for me. I could never get anything to load from this screen, weird.

Yeah the roms do load from this screen, they just need to be named differently and have an accompanying ini. (And they need to be working: I can't get USA ver GE to load at all with JAP header)

@the_randomizer its literally putting more than 1 file in the ROM folder within the N64 VC file structure that triggers this.

Obviously snes is different so I would imagine there is a different way to call a similar menu.

I haven't tested any other VC types (NES/DS etc) yet, but I have today off to figure it out :)

@GeneraLight i want to play around with APS patched N64 roms too, removing blur filters, adding scan lines, etc. Hopefully get something working with just rom mods: without even touching configurations on Wii u.
 
Last edited by KiiWii,
  • Like
Reactions: the_randomizer

KiiWii

Editorial Team
Editorial Team
Joined
Nov 17, 2008
Messages
16,735
Trophies
3
Website
defaultdnb.github.io
XP
27,372
Country
United Kingdom
Ok made some progress!

You do not need to name your games with this weird convention, it seems virtually anything works as long as its name matches to the configuration file.
(the extension doesnt even need to be "*.443")

You can now (technically) have 1 host rom with a generic META folder which acts as a forwarder to the games that can be injected into it so for example:

I have MG640U.443 (mario gold 64 USA), PD640U.443 and GE640J.443 (Goldeneye JAP) in the CONTENT/ROM folder and MG640U.443.ini (with the original config for MG64 intact within) PD640U.443.ini (with perfect dark modified ini) and GE640J.443.ini (with modified MG64 ini to get GE booting) in the CONTENT/CONFIG folder.

Having multiple roms in there triggers multi menu, allows me to select either rom by using left stick to choose, A to select rom, hit YES to load rom, the rom you selected will now load. (this menu looks like it uses the header to extract the rom name too as its not using the titleID6 of the file or the ini)

pictures to come

I have tried with each, and they do all work they're just VERY unstable!

Even the ZR > ZL in game manual works just the same for mario golf, but obviously doesnt work for goldeneye however I would imagine editing the
PDFURL = "http://<yourhostingwebsite>/goldeneyemanual.pdf" in the game ini file would link it up to whatever PDF you want as its literally just a web link!

Hitting ZR and then reset = just resets the selected rom, doesn't go back to multi menu......

What would be great is figuring out how to evoke the multi menu from within game! There has to be a button combo or something to get back to select a new rom, without having to exit the entire thing with the home button..............

Code:
[Keymap]
A = "A"
B = "B"
X = ""
Y = ""
START = "START"
SELECT = "SELECT"     ;For debug menu
L = "L"
R = "R"
ZL = "Z"
ZR = "MENU"
LEFT = "LEFT"
RIGHT = "RIGHT"
UP = "UP"
DOWN = "DOWN"
LSTICKPUSH = "LSTICKPUSH"     ;Left stick push down.
RSTICKPUSH = "RSTICKPUSH"     ;Right stick push down.
LSTICK = "3DSTICK"
RSTICK = "C_UNIT"

N64Stick = "Left"

[KeymapLeft]
A = "A"
B = "B"
X = ""
Y = ""
START = "START"
SELECT = "SELECT"     ;For debug menu
L = "L"
R = "R"
ZL = "Z"
ZR = "MENU"
LEFT = "LEFT"
RIGHT = "RIGHT"
UP = "UP"
DOWN = "DOWN"
LSTICKPUSH = "LSTICKPUSH"     ;Left stick push down.
RSTICKPUSH = "RSTICKPUSH"     ;Right stick push down.
LSTICK = "C_UNIT"
RSTICK = "3DSTICK"

N64Stick = "Right"

[KeymapRight]
A = "A"
B = "B"
X = ""
Y = ""
START = "START"
SELECT = "SELECT"     ;For debug menu
L = "L"
R = "R"
ZL = "Z"
ZR = "MENU"
LEFT = "LEFT"
RIGHT = "RIGHT"
UP = "UP"
DOWN = "DOWN"
LSTICKPUSH = "LSTICKPUSH"     ;Left stick push down.
RSTICKPUSH = "RSTICKPUSH"     ;Right stick push down.
LSTICK = "3DSTICK"
RSTICK = "C_UNIT"

N64Stick = "Left"
Going to try mess with this too....

One last note: CONTENT/DATA-SYNC/IMAGES/REF/vessel_vcmenu_graphicresource_main_ref.png looks interesting too (notice the bottom right of image) for multiplayer?
LGxBPvQ.png

EDIT: lol now only mario golf will boot.... odd.....

CONCLUSION:

This could be useful, its unstable as hell, and its pretty useless right now IMHO.

Perhaps someone else with more skill thank me can make something of this as it looks like it was an incredibly useful debug tool!
 
Last edited by KiiWii,

KiiWii

Editorial Team
Editorial Team
Joined
Nov 17, 2008
Messages
16,735
Trophies
3
Website
defaultdnb.github.io
XP
27,372
Country
United Kingdom
@KiiWii please try booting up RE2 (U). xD

Black screen on boot. If someone knows a way to convert the INI file from Biohazard 2 (J) to the (E) or (U) version, please post it here.

You could try hex edit header swap (@AlanLC technique), put the JAP header in the US release?

http://pastebin.com/RkCBfiTq

You could also try add to:

[romoption]:
Code:
UseTimer = 1
RetraceByVsync = 1

and:

[BreakBlockInst]
Code:
Count = 1
Address0 = 0x7f0d0eeC
Inst0 = 0x24420004
JmpPC0= 0x7f0d0ee8
Type0 = 1

IDK its just additions that get Goldeneye booting.
 
  • Like
Reactions: ShadowOne333

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    a_username_that_isnt_cool @ a_username_that_isnt_cool: @Xdqwerty, about to