The MIG Switch Thread

Keylogger

Well-Known Member
Member
Joined
May 3, 2006
Messages
2,648
Trophies
1
Age
34
Website
Visit site
XP
6,711
Country
France
Can I dump my NSP games from my CFWed switch to use them on MIG SWITCH?
Post automatically merged:

Other question:
Can I use only one certificate with all my dumps If I don’t care about ban? I mean will it works?
 

turkeylip

New Member
Newbie
Joined
Apr 2, 2024
Messages
2
Trophies
0
Age
36
XP
14
Country
United States
Is there a way I can check the initial data file and xci to see if they are compatible...without attempting to load the game on the Switch.
 

turkeylip

New Member
Newbie
Joined
Apr 2, 2024
Messages
2
Trophies
0
Age
36
XP
14
Country
United States
Is there a way I can check the initial data file and xci to see if they are compatible...without attempting to load the game on the Switch.
 

TheStonedModder

Well-Known Member
OP
Member
Joined
Dec 25, 2022
Messages
878
Trophies
0
Age
27
XP
1,723
Country
United States

Attachments

  • image.png
    image.png
    19.9 KB · Views: 9
  • Like
Reactions: frozencat

flextcg

New Member
Newbie
Joined
Apr 5, 2024
Messages
3
Trophies
0
Age
25
XP
23
Country
Austria
i ordered a mig switch but it hasnt arrived yet. hopefully it will arrive soon. i had chatgpt write a python script to modify the xci file, to allow you to use pretty much any initial data bin file with any xci. maybe someone can test it for me. if not i will be trying once i get my mig switch, i just got my shipping notification so heres to that.

chatgpt wrote 2 other scripts that tried to generate an intial data file, but that was futile because i think the initial data bin is signed. so instead my thought is to update the xci only. if this works it could open up modding on original switches using only the mig switch.

but this script is based off the following information i found in a youtube comment:
the initial data contains 2 parts the first 8 bytes are the header, which is found in the xci. and the second part is the challenge response which allows the cart to enter secure mode in the cartslot. the sha256 hash of the whole initial data file can found in the xci as well. my thought was to reuse the challenge response, since dev carts can use a common response. the script is supposed to update the xci with the new sha256 hash and the 8 byte header from the initial data bin.

the modified xci still plays in an emulator just fine. but i cant test it on mig switch till mine arrives.



Python:
import hashlib
import zlib
import argparse

def update_game_xci_with_initial_data(game_bin_path, initial_data_path):
    with open(initial_data_path, 'rb') as initial_data_bin:
        initial_data_content = initial_data_bin.read()

    # Extract the relevant data from initial_data.bin that needs to be matched in game.xci
    data_to_match = initial_data_content[0x0:0x8]  # For example, the first 8 bytes

    # Update game.xci with the extracted data
    with open(game_bin_path, 'r+b') as game_bin:
        game_bin.seek(0x110)  # Assuming the data needs to be updated at offset 0x110
        game_bin.write(data_to_match)
    with open(initial_data_path, 'rb') as initial_data_bin:
        initial_data_bin_content = initial_data_bin.read()
        new_sha256 = hashlib.sha256(initial_data_bin_content).digest()
    with open(game_bin_path, 'r+b') as game_bin:

    # Update game.xci with new SHA256
        game_bin.seek(0x160)
        game_bin.write(new_sha256)


def main():
    parser = argparse.ArgumentParser(description="Update game.xci to match data from initial_data.bin")
    parser.add_argument("game_bin_path", help="Path to the game.xci file")
    parser.add_argument("initial_data_path", help="Path to the initial_data.bin file")
    args = parser.parse_args()

    update_game_xci_with_initial_data(args.game_bin_path, args.initial_data_path)
    print('game.xci has been updated.')

if __name__ == "__main__":
    main()
I got my Mig Switch yesterday, and have been fiddling with it since. I've tried 2 initial data generator scripts, the first one did not work at all, the second one updated some lines in the xci and the initial data bin itself, and the one you attached only tampered with the xci, but none of them were able to get this game to work yet.
 

TheStonedModder

Well-Known Member
OP
Member
Joined
Dec 25, 2022
Messages
878
Trophies
0
Age
27
XP
1,723
Country
United States
-snip-

I got my Mig Switch yesterday, and have been fiddling with it since. I've tried 2 initial data generator scripts, the first one did not work at all, the second one updated some lines in the xci and the initial data bin itself, and the one you attached only tampered with the xci, but none of them were able to get this game to work yet.
You can’t generate initial data that’s unique to each game. I’d scan your PC for a virus
 
Last edited by Flame,

flextcg

New Member
Newbie
Joined
Apr 5, 2024
Messages
3
Trophies
0
Age
25
XP
23
Country
Austria
It’s already mirrored elsewhere and we can’t link it here


You can’t generate initial data that’s unique to each game. I’d scan your PC for a virus
They were just very similar python scripts like one they attached here, there is no need for a virus scan. The XCI I got was different from the initial data bin, and these scripts were meant to make them compatible somehow, but did not work.
 
  • Like
Reactions: supermad91

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
    cearp @ cearp: It's nice to not have to have a lot of physical things though, saves space +1