Hacking WiiU VC game injection working on 5.3.2

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,864
Trophies
2
Location
At Home :)
XP
4,452
Country
No, I did not make that video. I only used that to rebuild the screen settings of the newer DS VC titles.
I have never seen a new configuration file, maybe we can activate the menu in Kawashima Brain Training!

I injected Mario Kart DS to test my configuration file. Works perfectly. The selected layout gets saved btw.

I have 2 config files to test out so I will find out which is the best but somehow you should be able to have it like the original on the video, if someone has that MK VC on there wiiu they could extract it then it would be just like that and not all squashed or the wrong way round etc.. Another good point it seems all the DS titles I have tested so far all work. You can even inject the modded stuff and they work all ok! :)
 
  • Like
Reactions: VinsCool

n1ghty

Well-Known Member
Member
Joined
Aug 8, 2013
Messages
273
Trophies
0
XP
606
Country
Saint Kitts and Nevis
My config is not squashed. The pic was just the first test. I can switch between all those layouts (ingame!) now.

Pokemon Platinum @ Kawashima VC:
pg6ni5N.jpg

The selected layout gets saved for each rom & they also have seperate save files.
 
Last edited by n1ghty,
  • Like
Reactions: VinsCool

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,864
Trophies
2
Location
At Home :)
XP
4,452
Country
My config is not squashed. The pic was just the first test. I can switch between all those layouts (ingame!) now.

Pokemon Platinum @ Kawashima VC:
pg6ni5N.jpg

The selected layout gets saved for each rom & they also have seperate save files.
Sorry I have not managed to test them both yet I didn't mean to come across harsh it just looked squashed in your other picture of MK. How did you get the screen so good on your gamepad etc.. in this img. did you change the config file around again from the one you copy & pasted in the other comment, it looks great just what I need?
 

n1ghty

Well-Known Member
Member
Joined
Aug 8, 2013
Messages
273
Trophies
0
XP
606
Country
Saint Kitts and Nevis
Yes I edited that post several times. Copy my config to your config file and then press the right thumbstick to cycle through the layouts.
 
  • Like
Reactions: Reecey

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,864
Trophies
2
Location
At Home :)
XP
4,452
Country
"n1ghty, post: 5649984, member: 333085"]Yes I edited that post several times. Copy my config to your config file and then press the right thumbstick to cycle through the layouts.[/QUOTE]

Sorry yeah it does I realised you have to press the right one down. Looks perfect now, just like the video in your comment.
DSCN1134.jpg

:yayu:
 
Last edited by Reecey,
  • Like
Reactions: VinsCool

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,864
Trophies
2
Location
At Home :)
XP
4,452
Country
so is ds injection better compat wise than n64? i mean i see platinium mario 64 ds and such lets hope all ds games wor great :P
I don't know how N64 injection works out but following on from other peoples comments it sounds a tad bit unstable a bit touch and go with each rom you try to inject but as far as DS injection is concerned, it seems very stable so far, all the games I have tested works all ok.
 
  • Like
Reactions: VinsCool

pedro702

Well-Known Member
Member
Joined
Mar 3, 2014
Messages
12,720
Trophies
2
Age
33
XP
8,698
Country
Portugal
I don't know how N64 injection works out but following on from other peoples comments it sounds a tad bit unstable a bit touch and go with each rom you try to inject but as far as DS injection is concerned, its very stable all the games I have tested so far works all ok.
great knews so you basicaly got a full ds emulator without homebrew :P
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
well DS emulation seems to be all good for drop and play compatibility, while N64 is dependent on either nintendo already having the config file for the game you want pre-made, or you getting lucky and it working without specific patches.....at least until/if someone figures out making their own config files
 
  • Like
Reactions: VinsCool

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,864
Trophies
2
Location
At Home :)
XP
4,452
Country
Darn I hope Someone finds a fullscreen mode in n64 vc. Compatibility is pain in the ass ( i still try to understand configs) and it's a bit complicated to figure it out.
I'm just hoping someone can find a way of injecting N64 titles in any VC template, now that would be cool! :) Lets swap WiiU's you can have a VC DS title and I can have a VC N64 title cause I am sick of playing DS titles :cry::gun::yaynds:
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,207
Country
Canada
well DS emulation seems to be all good for drop and play compatibility, while N64 is dependent on either nintendo already having the config file for the game you want pre-made, or you getting lucky and it working without specific patches.....at least until/if someone figures out making their own config files
that's exactly what I am working on.

--------------------- MERGED ---------------------------

And I currently am listing all strings for each configs (to be documentes of course)

as soon I finish that I will post that online.
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,207
Country
Canada
Known strings used in N64 Virtual Console:

-> [RomOption]
All base ROM configuration. All known strings are noted down here;

- RetraceByVsync = 0 or 1
Is it related to framerate? Seems to reduce (even remove) lag if enabled.

- RamSize = 0x?????? (0x400000 is used by F-Zero X)
Ram size. No clues why it has to be specified for some games.

- Rumble = 0 or 1
Emulates the rumblepack if enabled. Seems enabled by default if not specified.

- PDFURL = "http://.yourpdfurl.pdf" (example).
Specifies the game manual (in .pdf format) URL. Custom URLs works too!

- UseTimer = 0 or 1
Not sure of its functions, but seems to regulate framerate, after my tests.

- RSPMultiCore = 0 or 1
Related to the RSP, but I don't know what this option does. Used by some games.

- CmpBlockAdvFlag = 0 or 1
I have no ideas of what this option does!

- PlayerNum = 1 to 4
Defines the number of usable controllers? Or the number of players. No clues why this option exists lol.

- RomType = 1 to ? (unknown)
Defines the ROM type, but what is what? Used by SimCity, set on 1.

- BackupType = 0 (auto), 1 (SRAM), 2 (Flash) and 3 (EEPROM)
Defines the savechip used.

- BackupSize = 2048, 16K, 4K, 512
Defines the savesize.

- AIIntPerFrame = 0 or 1
Unknown functions, Used by Biohazard 2 (Resident Evil 2!).

- AIUseTimer = 0 or 1
Unknown, Timing related? Used by Biohazard 2 too.

- TicksPerFrame = ?????? (781250 is used in Banjo Kazooie)
Commented out in some games, but it's here. I have no ideas of its functions.

- EEPROMInitValue = 0x?? (0xFF is used in Custom Robo v2)
Default SRAM value in an empty save.

- TimeIntDelay = 0 or 1 (Used by Mario Tennis)
Possibly giving a timed delay, but on what?

- g_nN64CpuCmpBlockAdvFlag = 0 or 1
Used by Excitebike, unknown functions.

------------------------------------------------------------------------------------------------------

I still am looking for more stuff, because more stuff is used in .ini files!
[Idle], [Input], [Cheat], [Render] and much more has to be figured out!

I will post more later! :)
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,207
Country
Canada
Some more stuff written down :)



-> [Input]
This configuration section is related to inputs used in N64 Virtual Consoles.
This one is rather simple to figure.

- StickModify = ? (I have found 2 and 3 as used values. I'm not quite sure)
This one is uncertain. It could be related to Deadzone used for emulated N64 joystick.
I cannot confirm exactly how this works, but some games use this in Nintendo's premade configurations.


-> [Idle]
A very specific (patches?) to be used at very specific RAM addresses for many games.
I currently have no idea of what this does and why.

Here is its structure:

Count = ? (the number of patches to apply)
Address0 = 0x???????? (The (RAM?) address to be used)
Inst0 = 0x???????? (The (instruction?) to patch)
Type0 = ? (Mostly 0, I don't know what the other types are)
Address1 = 0x???????? (For additional addresses...)
Inst1 = 0x???????? (same)
Type1 = ? (same)
Address2 = 0x???????? (same)
Inst2 = 0x???????? (same)
Type2 = ? (you guessed it, same)
*****
*****
*****
And so on, this is based on "Count" value. So, if there is a "Count" of 3, there will be 3 "Address", 3 "Inst", 3 "Type".

Here is an example [Idle] configuration, used by F-Zero X (Jap):

[Idle]
Count = 3
Address0 = 0x800afc3c
Inst0 = 0x5443ffff
Type0 = 0
Address1 = 0x800743bc
Inst1 = 0x5443ffff
Type1 = 0
Address2 = 0x80079094
Inst2 = 0x5443ffff
Type2 = 0

The most logic assumption here is that those are WiiU RAM addresses, dues to how high the HEX value is.
Of course, I could be wrong. I actually have no idea of what this option does.
The only thing I know, is that it is required to make some games to work.

EDIT -- Quoting fix94 for clarifications :)
just so you know the "BreakBlockInst" addresses are in fact N64 ROM address, Inst is just the actual 32bit original value in that place, I assume to verify that the address is correct, the JmpPC according to IDA is the address that the "loop" (type 1 I assume?) would normally jump back to, I assume the emulator doesnt have that jump instruction implemented so its written in by hand, how its detected though I have no clue at all, I have no idea about MIPS ASM so its just observation on what it could be.

-----------------------------------------------------------------------------------------------------------------

I will try to document more tomorow :)
 
Last edited by VinsCool,

AfroJackX

Well-Known Member
Member
Joined
Jul 18, 2013
Messages
225
Trophies
1
XP
343
Country
United States
My config is not squashed. The pic was just the first test. I can switch between all those layouts (ingame!) now.

Pokemon Platinum @ Kawashima VC:
pg6ni5N.jpg

The selected layout gets saved for each rom & they also have seperate save files.
Cool I hope ace attorney apollo justice and ace attorney investigations 1 and 2 work. If that is so that will be awesome!
 

n1ghty

Well-Known Member
Member
Joined
Aug 8, 2013
Messages
273
Trophies
0
XP
606
Country
Saint Kitts and Nevis
Cool I hope ace attorney apollo justice and ace attorney investigations 1 and 2 work. If that is so that will be awesome!

I tested 2 of those. Here is my list:

working

Ace Attorney Investigations - Miles Edgeworth (US)
Animal Crossing - Wild World (US)
Apollo Justice - Ace Attorney (US)
Kirby Super Star Ultra (EU)
Mario Kart DS (EU)
Metroid Prime Hunters (v01) (EU)
Pokémon - Platinum Edition (EU/DE) [minor graphic glitch @ start screen]

not working

Animal Crossing - Wild World (EU) [glitches @ start screen; crashes after intro]
Pokémon - Black 2 (US) [does not load, probably out of memory (512MB!)
 
Last edited by n1ghty, , Reason: Animal Crossing US works...
  • Like
Reactions: VinsCool

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,178
Trophies
2
XP
33,620
Country
Mexico
I tested 2 of those. Here is my list:

working

Ace Attorney Investigations - Miles Edgeworth (US)
Animal Crossing - Wild World (US)
Apollo Justice - Ace Attorney (US)
Kirby Super Star Ultra (EU)
Mario Kart DS (EU)
Metroid Prime Hunters (v01) (EU)
Pokémon - Platinum Edition (EU/DE) [minor graphic glitch @ start screen]

not working

Animal Crossing - Wild World (EU) [glitches @ start screen; crashes after intro]
Pokémon - Black 2 (US) [does not load, probably out of memory (512MB!)
Wow Metroid Prime Hunters works?!
That's NEAT!

Now I regret not buying NSMB back when it came out. :P
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: Welcome!