Hacking 128 and 256 Mb games with Nand based save?

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
it's placing save offset 1MB after game data?
if I understand your code, you don't check the ROM size, but the actual game's data size, right?

I should learn python, data manipulation seems easy.
 
  • Like
Reactions: Snailface

Snailface

My frothing demand for 3ds homebrew is increasing
Member
Joined
Sep 20, 2010
Messages
4,324
Trophies
2
Age
40
Location
Engine Room with Cyan, watching him learn.
XP
2,255
it's placing save offset 1MB after game data?
if I understand your code, you don't check the ROM size, but the actual game's data size, right?

I should learn python, data manipulation seems easy.
The fact that you can understand python without having experience with it is a real testament to the language's effectiveness. : )
 
  • Like
Reactions: setsuya

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
While card2to1 would be pointless in regards to pokemon and animal crossing(already tried it a while back....doesn't work) maybe it could be handy for people who want to revert back after changing a card1 game to card 2

But you would loose your save and I think the save area has to be returned to FFFFFF or the game crashes
 

AlbertoSONIC

Pasta Team Member
OP
Member
Joined
Jun 27, 2014
Messages
927
Trophies
0
Age
52
Website
www.albertosonic.com
XP
1,396
Country
Italy
While card2to1 would be pointless in regards to pokemon and animal crossing(already tried it a while back....doesn't work) maybe it could be handy for people who want to revert back after changing a card1 game to card 2

But you would loose your save and I think the save area has to be returned to FFFFFF or the game crashes

Yeah you need to write FF FF FF FF at the line 200 and 01 or 00 across 180-0b.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,648
Country
France
you could extract the save to TitleID.sav when converting Card2to1


Snailface:
only one thing I don't understand, how is working return n[::-1] ?
I couldn't find a lot of things about it. it's a struct, an array?

it's a shortcut for reversed 8-bit order?
it can't be used for both conversion little<->big endian?
 

Snailface

My frothing demand for 3ds homebrew is increasing
Member
Joined
Sep 20, 2010
Messages
4,324
Trophies
2
Age
40
Location
Engine Room with Cyan, watching him learn.
XP
2,255
you could extract the save to TitleID.sav when converting Card2to1


Snailface:
only one thing I don't understand, how is working return n[::-1] ?
I couldn't find anything about it. it's a struct, an array?

it's a shortcut for reversed 8-bit order?
it can't be used for both conversion little<->big endian?
yea, its just a way to quickly reverse any kind of list which is handy for changing endianess.
https://docs.python.org/release/2.3.5/whatsnew/section-slices.html
 
  • Like
Reactions: Cyan

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
you could extract the save to TitleID.sav when converting Card2to1


Snailface:
only one thing I don't understand, how is working return n[::-1] ?
I couldn't find a lot of things about it. it's a struct, an array?

it's a shortcut for reversed 8-bit order?
it can't be used for both conversion little<->big endian?

Most games I tested with make a bigger save when converted to card2 so extracting the save will only make a save to be injected back into a card2 converted rom

Yeah you need to write FF FF FF FF at the line 200 and 01 or 00 across 180-0b.

Oh no I meant the actual save data area, you could just trim the rom then untrim to blank it all out.....I'm not sure if it did cause issues having the extra save data stored inside them rom, but I seem to remember having to trim then untrim a rom to delete the save made it work again
 

AlbertoSONIC

Pasta Team Member
OP
Member
Joined
Jun 27, 2014
Messages
927
Trophies
0
Age
52
Website
www.albertosonic.com
XP
1,396
Country
Italy
Guys a little off topic: when you stop playing games, do you power off your 3ds or do you put it in spleep mode (by closing it)? I ask that because is very boring to open Gateway Mode every time i want to play...
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
Really? That's a problem....
What was you expecting lol less power with it switched on :lol: sleep mode is pretty good, I have had the console stay on for a couple of days in sleep mode, but really its only intended.for.if your taking a short break or something would probably do even better if you turn wifi off too
 

AlbertoSONIC

Pasta Team Member
OP
Member
Joined
Jun 27, 2014
Messages
927
Trophies
0
Age
52
Website
www.albertosonic.com
XP
1,396
Country
Italy
What was you expecting lol less power with it switched on :lol: sleep mode is pretty good, I have had the console stay on for a couple of days in sleep mode, but really its only intended.for.if your taking a short break or something would probably do even better if you turn wifi off too
I tought that i was like SmartPhones. For example, my Htc One m8 loses 1% of battery every hour in sleep time. It's very good. I expected the same thing in the 3DS... I was wrong ;)
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,018
Country
Vietnam
I tought that i was like SmartPhones. For example, my Htc One m8 loses 1% of battery every hour in sleep time. It's very good. I expected the same thing in the 3DS... I was wrong ;)

The 3DS's battery is only a little over 1000 mAh. IIRC it also doesn't have DeepSleep like phones.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: I like how Amazon just has one long Add to cart button now just in case I forget where it is +1