Hacking [RELEASE] Phacox's Injector (NES/SNES/N64/GBA/NDS for Wii U)

phacox_cll

Well-Known Member
OP
Member
Joined
Mar 30, 2019
Messages
172
Trophies
0
XP
1,339
Country
Mexico
Thank you! Also I edited my first post with an additional question. at least one of the base roms (Yoshi Touch & Go) seems to share some relationship with Brain Age, which i used to install CBHC on my Wii U. Will installing an injection with this base cause an issue with CBHC?

Any advice is appreciated!
The Wii U file system uses the Title ID to organize the games in different folders. When you install a game that has the same Title ID of another that you previously installed, the contents of the folder corresponding to that Title ID are overwritten with the files of the new game. In other words, to avoid a problem with your CBHC installation you should take care that the Title ID of any game does not match the Title ID of the game you used for CBHC.

As far as I know my program does not generate conflicts with Title IDs of official games.

My injector generates the Title IDs as follows:

For Famicom/NES: 0005000061XXXXZZ

For Super Famicom/SNES: 0005000062XXXXZZ

For N64: 0005000064YYYYNN

For GBA: 000500006AXXXXZZ

For NDS: 00050000D5XXXXZZ

Where XXXX is the CRC16 of the ROM, ZZ is an index that corresponds to the Virtual Console version, YYYY is the CRC16 of the N64 ROM concatenated (byte level) with the configuration file ".ini" and NN It is a value consisting of three bits of flags (Darkfilter, Widescreen and "Frame scale-traslation") plus five bits of a corresponding index the version of the N64 Virtual Console.

Base games with the same version of the Virtual Console will provide the same ZZ index or the same NN value (if the flag bits are also the same).

If you are curious you can check the indexes of each version of the Virtual Console in the file "PhacoxsInjector_VC_Hash_List.xlsx", mentioned above.
 

brightlight54

Active Member
Newcomer
Joined
Feb 16, 2020
Messages
26
Trophies
0
Age
36
XP
186
Country
United States
The Wii U file system uses the Title ID to organize the games in different folders. When you install a game that has the same Title ID of another that you previously installed, the contents of the folder corresponding to that Title ID are overwritten with the files of the new game. In other words, to avoid a problem with your CBHC installation you should take care that the Title ID of any game does not match the Title ID of the game you used for CBHC.

As far as I know my program does not generate conflicts with Title IDs of official games.

My injector generates the Title IDs as follows:

For Famicom/NES: 0005000061XXXXZZ

For Super Famicom/SNES: 0005000062XXXXZZ

For N64: 0005000064YYYYNN

For GBA: 000500006AXXXXZZ

For NDS: 00050000D5XXXXZZ

Where XXXX is the CRC16 of the ROM, ZZ is an index that corresponds to the Virtual Console version, YYYY is the CRC16 of the N64 ROM concatenated (byte level) with the configuration file ".ini" and NN It is a value consisting of three bits of flags (Darkfilter, Widescreen and "Frame scale-traslation") plus five bits of a corresponding index the version of the N64 Virtual Console.

Base games with the same version of the Virtual Console will provide the same ZZ index or the same NN value (if the flag bits are also the same).

If you are curious you can check the indexes of each version of the Virtual Console in the file "PhacoxsInjector_VC_Hash_List.xlsx", mentioned above.


gotcha, thanks again. sounds like im pretty safe
 

Andrehws

Active Member
Newcomer
Joined
Nov 21, 2018
Messages
39
Trophies
0
Age
28
XP
259
Country
Brazil
sometimes injecting snes games the error appears (ROM size: 4mb) and I can't inject the game. What can this be?
 

phacox_cll

Well-Known Member
OP
Member
Joined
Mar 30, 2019
Messages
172
Trophies
0
XP
1,339
Country
Mexico
sometimes injecting snes games the error appears (ROM size: 4mb) and I can't inject the game. What can this be?
Look that the base game is ROM size: 4 MiB. Injections of NES and SNES games are limited by the maximum size of the original ROM.
 

Andrehws

Active Member
Newcomer
Joined
Nov 21, 2018
Messages
39
Trophies
0
Age
28
XP
259
Country
Brazil
any idea why zelda alttp doesn't work when injected in the original virtual console game, but when injected into the super metroid does it work?
 

phacox_cll

Well-Known Member
OP
Member
Joined
Mar 30, 2019
Messages
172
Trophies
0
XP
1,339
Country
Mexico
I have no idea. What kind of fail do you have? Is the ROM a hack ROM or is it the original ROM? Does the original virtual console game have the right ROM Size? Can you provide the log file?
 

phacox_cll

Well-Known Member
OP
Member
Joined
Mar 30, 2019
Messages
172
Trophies
0
XP
1,339
Country
Mexico
Get a black screen is usual when the ROM is not compatible with the virtual console or with the configuration.

The configuration file contains settings for the virtual console emulator, each N64 ROM needs some specific configuration to function properly. You can check CORE's research for some information about all the settings and you can use the VCN64Config Editor program to create or edit configuration files. In the compatibility list you can get some configuration files.
 
  • Like
Reactions: CORE

raidriar

New Member
Newbie
Joined
Feb 21, 2020
Messages
4
Trophies
0
Age
30
XP
53
Country
United States
None of my injections work. They pack and install fine but it always gives error 199-9999 whenever I try to launch. I'm running CHBC

EDIT
works only if I install to USB, not NAND. What gives?
 
Last edited by raidriar,

phacox_cll

Well-Known Member
OP
Member
Joined
Mar 30, 2019
Messages
172
Trophies
0
XP
1,339
Country
Mexico
You are not first to have that problem, I repeat what I put post #42 of this thread:

You are performing the injections correctly. I don't know the reason why some consoles have the error code 199-9999 regardless of the CFW. But I know that some people have solved this by installing the games injected into the console memory, if they were installing it on an external disk or vice versa, if they were installing it in the console memory, they go on to install them in a external disk. You can also load games through Loadiine.

And I attach this information from post #45:

HOLY CRAP THAT WORKED

So I get what was going on now. When my injects were working, I hadn't connected USB storage yet. Then after I connected USB storage, they all started bringing up Error 199-9999. So with USB storage attached, I just had to move them all from the NAND to the USB, and they now play perfectly, including some Widescreen patches! ...
 

Spikemech88

Well-Known Member
Newcomer
Joined
Mar 7, 2020
Messages
90
Trophies
0
Age
35
XP
63
Country
United States
I need help

I did all the right steps
I’m trying to inject Super Smash Bros for N64
I used Mario golf as the base rom
Everything seemed to work fine
The game loads
But when it’s done loading
The game freezes
How can I fix this
 

CORE

3:16
Member
Joined
Jul 15, 2018
Messages
1,176
Trophies
1
XP
2,068
Country
United Kingdom
;SmashBrothers USA

[RomOption]
RetraceByVsync = 0
RSPMultiCore = 1
UseTimer = 1

[FrameTickHack]
Hack0 = 1281250
Hack1 = 0

[RSPG]
RIntAfterGTask = 1

[Sound]
BufFull = 0x3800
BufHalf = 0x1000
BufHave = 0x1000

Use FZeroX as Base.

Check my Blog for more info and ini's.
 
Last edited by CORE,
  • Like
Reactions: phacox_cll

Spikemech88

Well-Known Member
Newcomer
Joined
Mar 7, 2020
Messages
90
Trophies
0
Age
35
XP
63
Country
United States
I tried F zero X as the base rom, and it still didn’t work

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

I’m using mocha CFW
 

Spikemech88

Well-Known Member
Newcomer
Joined
Mar 7, 2020
Messages
90
Trophies
0
Age
35
XP
63
Country
United States
Do I use this .ini file for all n64 games or just super smash bros

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

Also is Mario golf the base rom for smash bros n64
 

soniccomcisbr

Well-Known Member
Member
Joined
Jul 27, 2014
Messages
551
Trophies
0
Age
43
Location
Fortaleza, Brazil
XP
1,981
Country
Brazil
;SmashBrothers USA

[RomOption]
RetraceByVsync = 0
RSPMultiCore = 1
UseTimer = 1

[FrameTickHack]
Hack0 = 1281250
Hack1 = 0

[RSPG]
RIntAfterGTask = 1

[Sound]
BufFull = 0x3800
BufHalf = 0x1000
BufHave = 0x1000

Use FZeroX as Base.

Check my Blog for more info and ini's.
Question: when the compatibility list says the .ini file is "by nintendo" what i must do?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: :tpi::rofl2::rofl2: