ROM Hack 3DSExplorer

Immortal_no1

Well-Known Member
Member
Joined
Jul 17, 2003
Messages
266
Trophies
0
XP
292
Country
That looks a lot better now, Save extraction seems to work correctly again :-)

I think there are 3 hashes which still need to be done,

1. Hash at the end of the DIFI blob
2. 1st Hash in Hashtable Block
3. 2nd Hash in Hashtable Block

The 3rd Hash i think is not a problem as it doesn't change after a save
The 4th Hash is just the hash of the 0x1000 bytes of the game data.

So the 3 Main above are the ones to get, i've been looking at them for a couple of months now and if you feel like putting your programming knowledge into making application to scan the save files for recreating hashes from the data, GO AHEAD, it would be nice to have another person on board.
 

elisherer

I ♥ 3DS
Member
Joined
Dec 16, 2009
Messages
778
Trophies
0
Location
3dbrew.org
Website
www.sherer.co.il
XP
392
Country
Iceland
I made a new tool for 3dsexplorer.. Hash tool

updated to v0.6

* New GUI
* Improved algorithms (SAV files mainly)
* More information shown
* NEW and improved Hash Tool.

This tool can compute hashes or search for a specific hash of a certain sized
block in the entire file in seconds!
 

notmeanymore

Well-Known Member
Member
Joined
Nov 29, 2009
Messages
2,700
Trophies
1
XP
711
Country
United States
The Israeli people never cease to amaze me when it comes to tool development like this.

Reminds me of the good old days of koolk and haha01haha01 of the MapleStory scene.

I predict great things from this project.
 

chaosdarkneo

Well-Known Member
Member
Joined
Sep 13, 2009
Messages
530
Trophies
0
XP
215
Country
United States
I am seriously beginning to think this will play a HUGE part in 3DS hacking.

It has a great deal of features and more are beginning to be implemented.
 

elisherer

I ♥ 3DS
Member
Joined
Dec 16, 2009
Messages
778
Trophies
0
Location
3dbrew.org
Website
www.sherer.co.il
XP
392
Country
Iceland
Thanks everybody for the kind words
smile.gif


just found out a big bug in the DATA partitions...
Now the games that are known to have DATA partitions so far are Asphalt 3D, Steel Diver & Lego Star Wars III.

released now...

v0.61
* fix for DATA partitions files save (wrong offsets)...
* can now be associated with sav/bin/3ds/tmd files to open files from the explorer...
* hashtool and xortool can be opened while working with the explorer part of the program.
* EDIT: also you can drag&drop a file into the application...
 

elisherer

I ♥ 3DS
Member
Joined
Dec 16, 2009
Messages
778
Trophies
0
Location
3dbrew.org
Website
www.sherer.co.il
XP
392
Country
Iceland
v0.7
  • More information on sav files
  • Now all information is grouped
  • Bug fixes for all contexts
  • Hash tool supports HMAC
  • Source code rewritten for optimization..
  • [Experimental] Can now replace original files into sav image and save it to a new created sav file.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,646
Country
France
v0.7
  • [Experimental] Can now replace original files into sav image and save it to a new created sav file.
Did you find all the hash methods?
Or is it only replaced in the file system but not working on 3DS yet? (to already have this option coded for future use)



PS: 3dbrew link to 0.7 is not working.
 

elisherer

I ♥ 3DS
Member
Joined
Dec 16, 2009
Messages
778
Trophies
0
Location
3dbrew.org
Website
www.sherer.co.il
XP
392
Country
Iceland
v0.7
  • [Experimental] Can now replace original files into sav image and save it to a new created sav file.
Did you find all the hash methods?

Or is it only replaced in the file system but not working on 3DS yet? (to already have this option coded for future use)



PS: 3dbrew link to 0.7 is not working.

I didn't find all the hashes..as you said it's for future use...you can see the source code at the file "save.cs" to see what exactly it does...

Thanks about the link, i fixed it.
 

elisherer

I ♥ 3DS
Member
Joined
Dec 16, 2009
Messages
778
Trophies
0
Location
3dbrew.org
Website
www.sherer.co.il
XP
392
Country
Iceland
This tool has many purposes... one of them is to fully understand the save flash structure to be able to inject bad information to games (without getting the corrupt save message) and thus crashing the game into a state that we can inject code to it...There's no rush because the assembly code isn't prepared (3ds' custom cpu) so we continue understanding the structure...

An outcome of this tool would be the ability to cheat in games, Personally I don't like cheating but I know there's a big community waiting for this...
 

CollosalPokemon

ばん。。。かい
Member
Joined
Oct 18, 2009
Messages
682
Trophies
0
XP
1,724
Country
United States
Good job Elisherer! Neat to see folders now in sav files too.

btw this is related to hacking 3DS executables; Using my Dev 3DS I was able to partially reproduce a CTR executable. Picture here:

partialheaderhack3ds.jpg




(SDK version and header removed because they are unimportant to you guys ;))

For proof this isn't BS (I'm not using photo channel) :

20110925211238p.jpg



I just thought you'd like to know some small progress on channels as we're talking about 3DS executable hacking.

I haven't figured out how to present the title code to the 3DS so it doesn't actually load yet (not the same methods as 3DBrew uses for title codes).
 

CollosalPokemon

ばん。。。かい
Member
Joined
Oct 18, 2009
Messages
682
Trophies
0
XP
1,724
Country
United States
Thanks...
I dont understand what you mean reproduce? have you made the cia file by yourself?
and a cia (CTR Importable Archive) is not executable...

I mean I made this myself. CIA is needed for CXI channel I believe which allows the channel to be imported (because the 3ds can import cias and displays data as if channel type/info is based on CIA).

From 3DBrew: (So I give a trusted source, although I have a Developer 3DS it's better to understand with more reliable sources as I am not really well known =p)

"Import- From this window, applications (compiled to be installed) in the format of a .CIA file"

http://3dbrew.org/wi...t_Unit_Software

Nintendo made it somewhat difficult to install cias; I figured out 1/2 of making custom cias so far, although it's confusing and difficult and I need to find out how to make correct size (you can see the 2 sizes I showed were different). I made this before 3DSExplorer was out but I thought it was interesting considering 3DSExplorer can view debug info on 3DS executables. Hopefully the SDK software will be leaked soon (my friend at Nintendo couldn't get me the sdk software, just the developer unit because there was a newer version so he didn't need it anymore).
 

lazymarek

Active Member
Newcomer
Joined
Dec 18, 2010
Messages
30
Trophies
0
XP
99
Country
Gambia, The
How did you actually create these CIA files, CollosalPokemon? Can you give us some screenshots about the development of them?
 

CollosalPokemon

ばん。。。かい
Member
Joined
Oct 18, 2009
Messages
682
Trophies
0
XP
1,724
Country
United States
How did you actually create these CIA files, CollosalPokemon? Can you give us some screenshots about the development of them?

It's not really screenshot-able at the moment. I used hex editors and TWL executables for bases. Currently no custom cia I make loads, however I am able to make custom cias recognizable up to the required size, which is quite a feat because I don't have a 3DS SDK software for my computer yet. But the topic is 3DSExplorer; I don't want to steal elisherer's thunder as he's doing really well. I just wanted to show some tiny progress of making executables for the 3DS which 3DSExplorer might come in handy for.
 

elisherer

I ♥ 3DS
Member
Joined
Dec 16, 2009
Messages
778
Trophies
0
Location
3dbrew.org
Website
www.sherer.co.il
XP
392
Country
Iceland
That's the whole idea! :)

Thanks CollosalPokemon... and about the sdk...If we can't have the sdk..information would be great too...maybe about the save hashes or what are the encryptions used...(I mean to get from the friend...)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    ShdwTakashi @ ShdwTakashi: pineapple belong on pizza? The answer is yes until proven otherwise