Hacking 3DS Injector

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
Well, you could probably extend it to overwrite the actual version format string (the %d stuff), but I'm not sure if that might cause instability or crashing..
And all of em :D

Code:
  if (
      progid == 0x0004001000021000LL || // USA MSET
      progid == 0x0004001000020000LL || // JPN MSET
      progid == 0x0004001000022000LL || // EUR MSET
      progid == 0x0004001000026000LL || // CHN MSET
      progid == 0x0004001000027000LL || // KOR MSET
      progid == 0x0004001000028000LL    // TWN MSET
     )
  {
    static const char ver_pattern[] =
    {
       'V', 0x00, 'e', 0x00, 'r', 0x00, '.', 0x00
    };
    static const char ver_patch[] =
    {
       'A', 0x00, '9', 0x00, 'L', 0x00, 'H', 0x00 //insert your own text here in place of A 9 L H
    };
    patch_memory(code, size,
      ver_pattern,
      sizeof(ver_pattern), 0,
      ver_patch,
      sizeof(ver_patch), 1
    );
  }
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
And all of em :D

Code:
  if (
      progid == 0x0004001000021000LL || // USA MSET
      progid == 0x0004001000020000LL || // JPN MSET
      progid == 0x0004001000022000LL || // EUR MSET
      progid == 0x0004001000026000LL || // CHN MSET
      progid == 0x0004001000027000LL || // KOR MSET
      progid == 0x0004001000028000LL    // TWN MSET
     )
  {
    static const char ver_pattern[] =
    {
       'V', 0x00, 'e', 0x00, 'r', 0x00, '.', 0x00
    };
    static const char ver_patch[] =
    {
       'A', 0x00, '9', 0x00, 'L', 0x00, 'H', 0x00 //insert your own text here in place of A 9 L H
    };
    patch_memory(code, size,
      ver_pattern,
      sizeof(ver_pattern), 0,
      ver_patch,
      sizeof(ver_patch), 1
    );
  }

You can simplify the editing a little bit with:

Code:
  else if (progid == 0x0004001000021000LL) // MSET USA
  {
     static const char* ver_pattern = u"Ver.";
     static const char* ver_patch = u"A9LH";
     patch_memory(code, size, ver_pattern, 8, 0, ver_patch, 8, 1);
  }

I omitted the other MSETs for brevity.
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
You can simplify the editing a little bit with:

Code:
  else if (progid == 0x0004001000021000LL) // MSET USA
  {
     static const char* ver_pattern = u"Ver.";
     static const char* ver_patch = u"A9LH";
     patch_memory(code, size, ver_pattern, 8, 0, ver_patch, 8, 1);
  }

I omitted the other MSETs for brevity.
dammit man! now i get warnings lol :P i don't like warnings..
 
  • Like
Reactions: daxtsu

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Here's some fun with the version string using this:

faKPcXY.jpg

In code, that's:

Code:
     static const char* ver_pattern = u"Ver. %d.%d.%d-%d%ls";
     static const char* ver_patch =   u"ARM9LoaderHax %d.%d";
 

CreativeMan

Well-Known Member
Member
Joined
Apr 26, 2009
Messages
157
Trophies
1
XP
1,383
Country
Belgium
Here's some fun with the version string using this:

faKPcXY.jpg

In code, that's:

Code:
     static const char* ver_pattern = u"Ver. %d.%d.%d-%d%ls";
     static const char* ver_patch =   u"ARM9LoaderHax %d.%d";
I wonder if we would be able to differentiate Sys/EmuNAND strings, like RXTools did
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    To sleep perchance to dream!
  • BigOnYa @ BigOnYa:
    My state has put a heavy tax on vape juice, taxing any juice with nicotine by the weight/oz. So to get around the bs, my local vape store only sells 0 nicotine vape juices, then they also sell straight nicotine in tiny bottles, and you mix it yourself to your 0% juice, lol
    +1
  • BigOnYa @ BigOnYa:
    Damn, is that Wing from South Park?
  • Psionic Roshambo @ Psionic Roshambo:
    BigOnYa hmmm I wonder how long until someone just vapes the straight nicotine lol
  • BigOnYa @ BigOnYa:
    I was gonna say people are not that dumb, but yea you right, some are.
    +1
  • K3Nv2 @ K3Nv2:
    People have put 50mg salt nic in straight subohm coils which is like more powerful hits
    +1
  • BigOnYa @ BigOnYa:
    Hey psi, do they have dress codes down there in FLa, here there are signs on stores that say "No shirt, no service" but curious bout down yonder
  • BigOnYa @ BigOnYa:
    Yea I tried the salts and too strong for me, I prefer the norm juice
  • K3Nv2 @ K3Nv2:
    In Florida they don't serve you if you have clothes on
    +1
  • K3Nv2 @ K3Nv2:
    Fucking raining again
  • BigOnYa @ BigOnYa:
    How can you tell, do you see rain drops on top of other rain drops?
    +1
  • K3Nv2 @ K3Nv2:
    I can tell by whenever your wife done letting out loud ass moans then I get her a ticket back home
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, yeah most places demand clothes and shoes, unless it's some really back water place that I am unaware of lol
    +1
  • BigOnYa @ BigOnYa:
    Cool, I got lunch money for tomorrow then.
  • BakerMan @ BakerMan:
    @K3Nv2 call uremum Sloppenheimer the way she givin me this bomb head
    +1
  • K3Nv2 @ K3Nv2:
    I call uremum alzheimer she forgets to leave
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Time to start a vape straight nicotine challenge, Darwin be praised!
    +1
  • K3Nv2 @ K3Nv2:
    Imagine if Hitler had vapes, we promise it's not cyanide it'll help you quit nicotine
    +1
  • BigOnYa @ BigOnYa:
    Please, walk into my patented vape chamber, aka the non smoking area
  • K3Nv2 @ K3Nv2:
    I do wonder how dominate Germany would've been if they just enlisted Jewish people
  • BigOnYa @ BigOnYa:
    They actually enlisted Muslims, seriously, because the Muslims hates Jews, even tho it was not the supreme race. He claimed common hate, is friendship.
  • K3Nv2 @ K3Nv2:
    He could've just made them walking shields kind of a dumb ass move
  • K3Nv2 @ K3Nv2:
    https://a.co/d/3km8bqC lol cd level quality I fucking hope so
  • BigOnYa @ BigOnYa:
    So a man, wifey laying in bed, and man wants sum and rubs on her a little, she turns and says "Not tonight, I have a gyno apt in the morning." So man rolls over, but after few minutes starts rubbing her again. She says didn't you here me, no messing around? Man says, "Well you don't have a dentist apt tomorrow also do you?"
    BigOnYa @ BigOnYa: So a man, wifey laying in bed, and man wants sum and rubs on her a little, she turns and says...