Hacking VC Rom Injection Size Edit?

Vaerille

Member
OP
Newcomer
Joined
Mar 3, 2015
Messages
6
Trophies
0
Age
34
XP
51
Country
United States
I Have recently been testing the virtual console game injection process. As we know already, we can not load games larger than the base vc game. However, I am wondering why this is the case. Note, I am a "noob" when it comes to the coding side of this endeavor so please bare with me when you explain. Also, I have seen people regarding success by changing rom headers so that the code.bin loads the game. The game then goes on to load in VC. If anyone knows how to successfully change the header COMPLETELY so that the checksums are good and the game loads please explain to me how to do so.
 

KazoWAR

Well-Known Member
Member
Joined
Aug 12, 2008
Messages
1,952
Trophies
1
Age
35
Location
Winter Haven
XP
2,134
Country
United States
from my initial tests, going over the base rom size would overwrite other memory and cause the entire VC application to crash. but i guess its possible based on certain VC games some of the data after the rom could get overwrite without causing a crash. i know with links awakening DX (1MB) attempting to inject 2MB rom crashed the entire VC application.
 

Vaerille

Member
OP
Newcomer
Joined
Mar 3, 2015
Messages
6
Trophies
0
Age
34
XP
51
Country
United States
from my initial tests, going over the base rom size would overwrite other memory and cause the entire VC application to crash. but i guess its possible based on certain VC games some of the data after the rom could get overwrite without causing a crash. i know with links awakening DX (1MB) attempting to inject 2MB rom crashed the entire VC application.

So is possible support for larger roms (Than the Base Rom) not very viable in the near future?
 

Vaerille

Member
OP
Newcomer
Joined
Mar 3, 2015
Messages
6
Trophies
0
Age
34
XP
51
Country
United States
from my initial tests, going over the base rom size would overwrite other memory and cause the entire VC application to crash. but i guess its possible based on certain VC games some of the data after the rom could get overwrite without causing a crash. i know with links awakening DX (1MB) attempting to inject 2MB rom crashed the entire VC application.

also, is there a difference in size between games like warioland 2 and mario golf. Or are they both exactly 2 mb?
 

KazoWAR

Well-Known Member
Member
Joined
Aug 12, 2008
Messages
1,952
Trophies
1
Age
35
Location
Winter Haven
XP
2,134
Country
United States
So is possible support for larger roms (Than the Base Rom) not very viable in the near future?

Not really, like i said overwriting data that comes after the base rom in memory crashes the VC most of the time.

also, is there a difference in size between games like warioland 2 and mario golf. Or are they both exactly 2 mb?


Mario Golf (2MB) Warioland 2 (1MB)
 

Vaerille

Member
OP
Newcomer
Joined
Mar 3, 2015
Messages
6
Trophies
0
Age
34
XP
51
Country
United States
Not really, like i said overwriting data that comes after the base rom in memory crashes the VC most of the time.




Mario Golf (2MB) Warioland 2 (1MB)

Im Sorry if I am being annoying, but wouldn't warioland 2 be 2 mb since the hex code at 0x148 is 6?
 

driverdis

I am Justice
Member
Joined
Sep 21, 2011
Messages
2,867
Trophies
2
Age
31
Location
1.048596β
XP
2,838
Country
United States
I Have recently been testing the virtual console game injection process. As we know already, we can not load games larger than the base vc game. However, I am wondering why this is the case. Note, I am a "noob" when it comes to the coding side of this endeavor so please bare with me when you explain. Also, I have seen people regarding success by changing rom headers so that the code.bin loads the game. The game then goes on to load in VC. If anyone knows how to successfully change the header COMPLETELY so that the checksums are good and the game loads please explain to me how to do so.

You would need to edit the VC game's binary itself (which would require a kernel exploit) as that decides where in ram the game is loaded. this would need to be changed to allocate 2MB or 4MB of ram instead and inject the rom after. I could be wrong about this, so somebody correct me if I am misunderstanding how it works.

why not just use Shantae as it is a 4MB game?
 

gokuguy

Well-Known Member
Member
Joined
Dec 5, 2008
Messages
424
Trophies
1
Age
30
XP
1,054
Country
United States
You would need to edit the VC game's binary itself (which would require a kernel exploit) as that decides where in ram the game is loaded. this would need to be changed to allocate 2MB or 4MB of ram instead and inject the rom after. I could be wrong about this, so somebody correct me if I am misunderstanding how it works.

why not just use Shantae as it is a 4MB game?


This. Both Shantae and Rayman are 4MB, so either one of those should set you up.
 

Vaerille

Member
OP
Newcomer
Joined
Mar 3, 2015
Messages
6
Trophies
0
Age
34
XP
51
Country
United States
This. Both Shantae and Rayman are 4MB, so either one of those should set you up.

So is VC injection over for all those who were forced to update (me, had to use eshop)?, or is there any possible leads on continued injection in version 9.5.0-23.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
  • Bunjolio @ Bunjolio:
    animal crossing new leaf 11pm music
  • Bunjolio @ Bunjolio:
    avatars-kKKZnC8XiW7HEUw0-KdJMsw-t1080x1080.jpg
    wokey d pronouns
  • SylverReZ @ SylverReZ:
    What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo
  • BakerMan @ BakerMan:
    wokey d pronouns when woku walks in

    "CALL ME THEY SLASH THEEEEEEEEEEEEEEEEEEEEEEEEEEM"
  • AncientBoi @ AncientBoi:
    :tpi::rofl2::rofl2: Right on point :rofl2::rofl2::tpi:
  • Bunjolio @ Bunjolio:
    politics forum is def a place that exists
  • Bunjolio @ Bunjolio:
    lol
    Bunjolio @ Bunjolio: lol