Hacking Homebrew unsafe fork of ntrboot_flasher to restore some fake-killed / non-working DSTT flashcarts

NekoNoor

Well-Known Member
OP
Newcomer
Joined
Oct 13, 2015
Messages
59
Trophies
0
XP
684
Country
Netherlands
i just added a simple menu to it, that allows you to spoof what flashchip your cart has (to ntrboot_flasher) this will let you restore a DSTT-backup.bin if your cart shows up as flashchip id 0xffffffff or 0x0000000 etc. or you just want to try to restore/flash a dstt which for some reason was never supported by flashcart_core/ntrboot_flasher (this might be very unsafe! use at your own risk, in the case that your flashcart isn't working already, it can't really get worse obviously)

In the select flashcart menu, when you select DSTT, you can use left and right on the D-Pad to select what flashchip id you want to spoof, and then X to enable spoofing.

Find your flashchip in this file and select the corresponding flashchip id in the menu. if you don't know what flashchip your cart has, check under the sticker or just kinda guess.

It will then use those commands to interface with the flashcart rather than the "unsupported flashcart" error that would otherwise show up. You can use this to restore a DSTT-backup.bin from gbatemp/flashcart archive/your own backup.

it allowed me to restore my previously non-working DSTT with flashchip MX29LV400BTI-70, that was showing up in ntrboot_flasher as 0xffffffff and thus giving me an "unsupported flashcart" error. after restoring the backup, it now shows up as 0xbac2 (which apparently is the most common type of flashchip used on the dstt)

release URL: https://github.com/NekoNoor/ntrboot_flasher/releases/tag/0.5.1-unsafe

(you need the .firm file, just chainload it with luma/fastboot3ds or open it with godmode9)

yes i know the code is bad, i used global variables, i should probably have made some functions to get/set the spoofed flashchip id but i couldn't be bothered, so i did it this way. there is not a lot of code edited, so other than maybe being able to brick a working cart if you try and write to it with wrong commands, i don't see how anything could go catastrophically wrong.
 
Last edited by NekoNoor,
  • Like
Reactions: TheStonedModder

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • S @ salazarcosplay:
    and you convince your owner to help you break out of the virtual world to real world
  • BigOnYa @ BigOnYa:
    Eyes - "yawn"
    +1
  • S @ salazarcosplay:
    you bleack in to goverment computer systems to get cyborg schematics so you can get a robot body constructed
  • Xdqwerty @ Xdqwerty:
    btw @BigOnYa the health bar doesnt decrease when i take damage (and yes i put the "at the beggining of the scene change value of greenflatbar: set to Protagonistcopmode.Health::Health())
  • S @ salazarcosplay:
    i the protagonist
  • S @ salazarcosplay:
    human, robot, cyborg
  • S @ salazarcosplay:
    human with cyborg enhancements
  • S @ salazarcosplay:
    or like terminatior
  • S @ salazarcosplay:
    with living tissue
  • BigOnYa @ BigOnYa:
    @Xdqwerty there is health behaviour you can add to your character, then to use a health bar is lil more complicated, google n watch a few tutorial video on it, be too hard to explain here.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the character has the health behavior
  • BigOnYa @ BigOnYa:
    I know you have to create a health and health max variable. Then there is a calculation you use in code to subtract width size of the health bar. Google few vids.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, the "greenflatbar" is one of the preset health bars btw
  • BigOnYa @ BigOnYa:
    Yea you can use any bar/sprite. It will just change the width. Ok good luck and have fun. I'm off to go shoot some pool at the bar. Talk to you later.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why does the health behavior exist if you can just use a variable?
  • Xdqwerty @ Xdqwerty:
    and nope the number still doesnt change
  • Xdqwerty @ Xdqwerty:
    ok im gonna make my own asset
  • Xdqwerty @ Xdqwerty:
    nvm i think i fixed it
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I fixed it
    +1
  • S @ salazarcosplay:
    how are you\
  • Xdqwerty @ Xdqwerty:
    @salazarcosplay, we just talked like 2 hours ago
    Xdqwerty @ Xdqwerty: