theoretically changing roms on a cartridge

OneOwen

Member
OP
Newcomer
Joined
Mar 3, 2023
Messages
8
Trophies
0
Age
23
XP
29
Country
United States
could you theoretically change any data on an official nds/3ds cartridge to homebrew or would you need an r4 card to load homebrew that way, i was thinking if you could hijack the state of saving a game file and edit other contents, or it could be only editing data on existing files? if so would you be able to edit the game files to make a rom hack on an official cartridge?
 

OneOwen

Member
OP
Newcomer
Joined
Mar 3, 2023
Messages
8
Trophies
0
Age
23
XP
29
Country
United States
Not possible. Roms stand for read only memory.
how do save files get saved because i was thinking at least editing and replacing save files manually or through other means, couldnt you run homebrew by overloading the system memory to run external applications

i was hoping to hijack the process where save files get saved so i could edit other data on the cartridge
 

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
19,983
Trophies
1
XP
21,035
Country
United States
how do save files get saved because i was thinking at least editing and replacing save files manually or through other means, couldnt you run homebrew by overloading the system memory to run external applications

i was hoping to hijack the process where save files get saved so i could edit other data on the cartridge

You can't because the game data is ROM, read only memory. For save data on cartridge you can decrypt it with homebrew like jksv / checkpoint or like cybergadget save editor for Japanese cartridges.
 

r1vver

Well-Known Member
Member
Joined
Oct 7, 2017
Messages
551
Trophies
0
XP
979
Country
Russia
Game data is on MROM (Mask ROM) chip. It's big one on image. It is programmed only once when the chip is produced in the factory (photolithography process). Reprogramming is impossible. Physically impossible (because of the method of production).
Saves are on EEPROM chip. Small one on image.
 

Attachments

  • 1613567558.jpg
    1613567558.jpg
    288.1 KB · Views: 25

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,443
Trophies
2
XP
14,901
Country
Germany
Game data is on MROM (Mask ROM) chip. It's big one on image. It is programmed only once when the chip is produced in the factory (photolithography process). Reprogramming is impossible. Physically impossible (because of the method of production).
Saves are on EEPROM chip. Small one on image.
For DS games true. For 3DS games... I'm missing deep knowledge here... they are technically rewritable on physical level - to my knowledge.
See card1/card2
https://wiki.gbatemp.net/wiki/3DS_Glossary#C

I guess the chip itself will be locked against software attempts to write (outside specified savegame region). Would be a bummer if a software error would end in the game erasing itself.

i was hoping to hijack the process where save files get saved so i could edit other data on the cartridge
We don't need to hijack anything. We have full system control over the 3DS. Besides, editing game data (ROM hack) would end in not working games (on unmodified 3DS consoles).
 
  • Like
Reactions: The Catboy

mrgone

old man
Member
GBAtemp Patron
Joined
Nov 6, 2002
Messages
1,331
Trophies
3
Age
45
Location
close to the oktoberfest
XP
2,887
Country
Germany
I have to ask, why would you want to inject a ROM into a different cart when you could just install a CFW and use CIAs?
https://3ds.hacks.guide/
the easy answer always is: because the other person likes it that way
but there could be many reasons:
1. one might not like to mod his 3ds or a custom cart could be a present
2. there are many pokemon enthusiasts out there who make custom carts of rom hacks including custom label
and this is applicable to other games besides pokemon, but i guess they are the biggest crowd
 

OneOwen

Member
OP
Newcomer
Joined
Mar 3, 2023
Messages
8
Trophies
0
Age
23
XP
29
Country
United States
I have to ask, why would you want to inject a ROM into a different cart when you could just install a CFW and use CIAs?
https://3ds.hacks.guide/
to load homebrew on unmodified consoles or other useful tools without sd card, and i could use a r4 card to do this but thats boring and i want a challenge, but it seems it may be impossible if it is ill just use an r4 cart to do so
 

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,443
Trophies
2
XP
14,901
Country
Germany
to load homebrew on unmodified consoles or other useful tools without sd card, and i could use a r4 card to do this but thats boring and i want a challenge, but it seems it may be impossible if it is ill just use an r4 cart to do so
Just remember that an R4 is limited to DS mode. There is no (simple) homebrew loading on unmodified consoles.
What comes near your idea – rewriteable storage running software in 3DS mode – is Sky3DS+. But that is limited to unmodified cartridge ROMs from the same region as the console (if no CFW is installed).
You can't just slap any random software on it and expect the 3DS security/DRM garbage to accept this.
 
  • Like
Reactions: r1vver

The Catboy

GBAtemp Official Catboy™: Boywife
Member
Joined
Sep 13, 2009
Messages
27,951
Trophies
4
Location
Making a non-binary fuss
XP
39,375
Country
Antarctica
the easy answer always is: because the other person likes it that way
but there could be many reasons:
1. one might not like to mod his 3ds or a custom cart could be a present
2. there are many pokemon enthusiasts out there who make custom carts of rom hacks including custom label
and this is applicable to other games besides pokemon, but i guess they are the biggest crowd
to load homebrew on unmodified consoles or other useful tools without sd card, and i could use a r4 card to do this but thats boring and i want a challenge, but it seems it may be impossible if it is ill just use an r4 cart to do so
Fair enough, compelling reasons and respectable
 

OneOwen

Member
OP
Newcomer
Joined
Mar 3, 2023
Messages
8
Trophies
0
Age
23
XP
29
Country
United States
Just remember that an R4 is limited to DS mode. There is no (simple) homebrew loading on unmodified consoles.
What comes near your idea – rewriteable storage running software in 3DS mode – is Sky3DS+. But that is limited to unmodified cartridge ROMs from the same region as the console (if no CFW is installed).
You can't just slap any random software on it and expect the 3DS security/DRM garbage to accept this.
im aware of that limitation and plan to start first by getting/making a tool to dump slot 2 cartridges
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    DinohScene @ DinohScene: when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying