Changes

Jump to navigation Jump to search
10,279 bytes added ,  19:05, 14 February 2013
Line 56: Line 56:  
:::::No..it's seems that the key found isn't the right key (even that it appears 4 times in the file). we need to figure out how to decrypt the save files without searching blindly for the key. --[[User:Elisherer|Elisherer]] 21:33, 18 November 2011 (CET)
 
:::::No..it's seems that the key found isn't the right key (even that it appears 4 times in the file). we need to figure out how to decrypt the save files without searching blindly for the key. --[[User:Elisherer|Elisherer]] 21:33, 18 November 2011 (CET)
 
:::::I got an idea. Xor the image's 0x100-0x103 with every (0x200 block)'s 0x100-0x103 to see if it produces 'DISA' ..it should work with the already known files and might be faster to find. i'll try it tomorrow.. --[[User:Elisherer|Elisherer]] 21:40, 18 November 2011 (CET)
 
:::::I got an idea. Xor the image's 0x100-0x103 with every (0x200 block)'s 0x100-0x103 to see if it produces 'DISA' ..it should work with the already known files and might be faster to find. i'll try it tomorrow.. --[[User:Elisherer|Elisherer]] 21:40, 18 November 2011 (CET)
 +
::::::Mind linking to a SM3DL save here so I could look at it?(Btw, you're not looking for a "key", you're looking for an AES-CTR xorpad.) --[[User:Yellows8|Yellows8]] 06:03, 22 November 2011 (CET)
 +
:::::::I'll ask for permission. In the meanwhile, can we talk about it at n-dev.net? I made a [http://n-dev.net/showthread.php?tid=4 thread] there. --[[User:Elisherer|Elisherer]] 16:26, 22 November 2011 (CET)
 +
::::::::Yes, you can share them!--[[User:Lazymarek9614|Lazymarek9614]] 17:24, 22 November 2011 (CET)
 +
:::::::Catch the files on my server [http://www.sherer.co.il/saves http://www.sherer.co.il/saves] (Super Mario 3D Land).--[[User:Elisherer|Elisherer]] 17:43, 22 November 2011 (CET)
 +
::::::::I'm stumped too. Since some chunks of data appears several times in these saves, in theory the CTR should still be repeating.(CTR seems to repeat >0x200 bytes now, not sure.) Didn't really manage to decrypt much via xor. --[[User:Yellows8|Yellows8]] 22:08, 22 November 2011 (CET)
 +
::::::::I would guess they finally fixed the bug that limited the xor stream to just 0x200 bytes repeating, and now it behaves more like the data saved to SD cards? --[[User:Neimod|Neimod]] 01:30, 25 November 2011 (CET)
 +
::::::::But you can see that same blocks share the same xorpad in the file...the DISA header is in the file 4 times and encrypted the same all the 4 times.. so the key may not repeat but maybe every block has it's own xorpad based on its offset in the image (my speculation) --[[User:Elisherer|Elisherer]] 09:02, 25 November 2011 (CET)
 +
 +
== *FS#.bin decrypt ==
 +
Maybe I found the key: I think it's the unknown value at Rom. It's 16 characters long.
 +
When I use it, it doesn't give a error or something.
 +
--[[User:Gericom|Gericom]] 16:06, 12 December 2011 (CET)
 +
 +
== Extracting Data Files? ==
 +
 +
Hello! I'm SuperMario64DS, I hack Mario Kart Wii & The Super Mario Galaxy 1 & 2 ( Co-creator of the BDL Editor!). Okay, so I was wondering about extracting files from a 3DS ROM; can the program do that? I think I heard some where that it can decrypt 3DS ROMS and veiw their filesystem, is this true? And if not, will his feature be added? And if so, will an option to extract files from a ROM be added? I've been looking into studying Mario Kart 7's formats, and to see how to game works. --[[User:SuperMario64DS|SuperMario64DS]], 04:43, 20 December 2011 (CET)
 +
:As soon as you get the 3ds common key we could decrpyt the romfs & exefs from the CXIs and then learn the file system... We could however have your help in understanding the CGFX format which has 3d models in it. --[[User:Elisherer|Elisherer]] 07:22, 20 December 2011 (CET)
 +
 +
::Well how faraway would you say we are from decrypting 3DS ROMs? I'd REALLY like to see inside of Mario Kart 7, I know it uses Yaz0, so it can be de-coded. 1: How might we find the decryption key? And 2: How much more longer do you think it will be until we can extract a 3DS ROM's file system? It would be really helpful. -- [[User:SuperMario64DS|SuperMario64DS]], 16:34, 20 December 2011 (CET)
 +
:::We are VERY far. (but then again it could happen any day). Nintendo was smart enough to use AES-CTR which is a very strong encryption which can't be cracked even if you have encrypted and decrypted data (and even the initialization vector) you basicly need the key and it's far inside the 3ds (maybe even coded in hardware and not just inside the 3ds flash). So unless we were told what the key is I don't see us getting anywhere. For now, we do what we can. --[[User:Elisherer|Elisherer]] 18:29, 20 December 2011 (CET)
 +
::::So, we just need that key? How might we look into the 3DS's Film Ware? Or couldn't you just observe the "Lock" (The 3DS ROM) And find the shape of the "Key"? (Encryption Key). Then if we took the "Lock" apart, we could re-build a replica of the "Key" and un-lock the File System. -- [[User:SuperMario64DS|SuperMario64DS]], 19:59, 20 December 2011 (CET)
 +
:::::We know the "shape" of the key, it's 16 bytes long, combined with an IV you can decypher anything. Please read the rest of the pages on 3dbrew before posting more questions. And you might want to look at [http://gbatemp.net/f201-3ds-hacking-homebrew GBAtemp.net] for more information. --[[User:Elisherer|Elisherer]] 22:01, 20 December 2011 (CET)
 +
::::::You completely missed my point there (A good point too), but since you want me to stop asking questions I will stop. --[[User:SuperMario64DS|SuperMario64DS]], 05:40, 21 December 2011 (CET)
 +
:::::::Please don't stop asking questions. Asking questions leads us to finding things... just ask them in the right place, like GBAtemp or the irc channel. The title of this discussion is "Extracting data files" and clearly it can't happen for now so this talk is useless. --[[User:Elisherer|Elisherer]] 09:30, 21 December 2011 (CET)
 +
 +
== Xentax ==
 +
 +
I would love to get the models from ace combat assault horizon legacy but I know its a long long way off. but if you are looking to decrypt the files you might want to try xentax. they have a whole decompression section and since you have a tool you have some "street credit"
 +
:I rekon you're talking about the website, I looked it up but it doesn't have any information about decryption.. only game file editors.. They do have a program called MultiEx editor (for blizzard files) that seems similiar to 3dsexplorer... --[[User:Elisherer|Elisherer]] 07:28, 29 January 2012 (CET)
 +
:I only mean the other users might be of help on the forum anyway i look and see if anyone else is doing the same kind of work as you and send them your way
 +
 +
== questions ==
 +
 +
You can use Moma to scan 3DSExplorer for Mono compatibility--[[User:Jocopoco|Jocopoco]] 17:14, 10 February 2012 (CET)
 +
 +
Elisherer can you make the entries in the TMD sections editable for cia files?--[[User:3dsguy|3dsguy]] 13:04, 28 March 2012 (CEST)
 +
:Probably, but I want to make an all-around solution for editing because it is needed by other formats too. I might need to add a struct to each line on the list which will include data-type and editable boolean... it might take some time... --[[User:Elisherer|Elisherer]] 08:09, 29 March 2012 (CEST)
 +
 +
 +
Elisherer there is a bug in your program, when it tries to read .cia files which do not have a 'SMDH' or banner, like in the case of TWL converted applications and some old .CIA files, 3DS Explorer crashes. It is possible to read these kind of .CIA file in 3DSExplorer by entering a false banner size, so I know this is where the problem lies. Can you patch 3DSExplorer to read .cia files and not try to load information on banners when the banner size is '0'--[[User:3dsguy|3dsguy]] 02:25, 18 May 2012 (CEST)
 +
:I don't really understand the problem...if you look at mdlCIA.cs file you'll see that i'm checking if the bannerLength > 0 so I wouldn't know what to change here.. --[[User:Elisherer|Elisherer]] 10:45, 18 May 2012 (CEST)
 +
::Edit the sample .CIA on the .CIA wiki page and make the banner size zero, then try to open it 3DSExplorer. On my computer this causes 3DSExplorer to crash--[[User:3dsguy|3dsguy]] 12:50, 18 May 2012 (CEST)
 +
::Sorry correction, it crashes when you try to open a .cia file(that has no banner size) when it is associated to be run with 3DSExplorer. But if you try to load a .cia file(that has no banner size) from the open file tab of 3DSExplorer, it tells me that an unhandled exception has occured, "Object reference not set to an instance of an object." --[[User:3dsguy|3dsguy]] 16:57, 18 May 2012 (CEST)
 +
:::OK, I found the bug that you were talking about... If the banner's size is zero I try to put the icons in the file view anyway and that's wrong..I'll try to fix the association bug and release a new version. --[[User:Elisherer|Elisherer]] 10:22, 19 May 2012 (CEST)
 +
 +
Found some more bugs. 3DSExplorer crashes when it tries to open .BNR files and .BCWAV files. For example try the sample .BCWAV and .BNR file in the 0.2 CiTRus release.--[[User:3dsguy|3dsguy]] 12:32, 22 May 2012 (CEST)
 +
 +
I made it be able to send e-mail,but I don't have SMAP server and knowledge about web application.
 +
Here.[https://docs.google.com/folder/d/0B_1DNe-beZjwaWdKME1PTF9zYjA/edit]
 +
 +
--Matyapiro31 14:53, 9 July 2012 (CEST)
 +
:[+]How about release your source codes on Google Drive?
 +
If you want to,everyone can edit it,see on web.
 +
I think it is very good service.--Matyapiro31 14:53, 9 July 2012 (CEST)
 +
::Hi Matyapiro31, thank you for you efforts, the source code is maintained by a version control system, this way i can revert to older versions if necessary, Google Drive can't do it. The source is free to download using checkout or browsing (on the site), You don't need to send feedback because the google code site offers "Issues" you can open and I will respond. --[[User:Elisherer|Elisherer]] 08:01, 10 July 2012 (CEST)
 +
 +
Thank you to reply me.
 +
 +
I think it is easier for light-users to send mails than to write comments on Google Code ----people who can debug,find solution of error,use software without seeing any helps is worth being called "Hacker".but they are minority in the 3DS  game player.It is nice try to construct a system to send feedbacks easily.
 +
 +
This is the time to decide 3DS homebrew standard including support, internationalism,extensibility and easy development.--Matyapiro31 13:42, 10 July 2012 (CEST)
 +
 +
@elisherer are you going to update 3DSExplorer to read CIA files differently as with the updated specs(this includes reading the .ICN flags)? Also what about allowing the .CFA (NCCH) format to be read without renaming to .CXI, and destinguishing between CFA and CXI when viewing a CCI/CSU in 3DSExplorer?--[[User:3dsguy|3dsguy]] 20:10, 20 July 2012 (CEST)
 +
 +
 +
Why don't you add the function to read-and-write phtcache.bin?
 +
3DSCamera use the file to find the videos and pictures in ''SDDIR''/DCIM/XXXNIN03,but I succeeded to read a picture in other folder by changing it.
 +
:That's nice, but I work only on small stuff for now because i'm very busy.. maybe in the future if it becomes necessary --[[User:Elisherer|Elisherer]] 00:31, 16 January 2013 (CET)
 +
 +
I changed bad codes.[https://docs.google.com/file/d/0B_1DNe-beZjwdHgxMEVBRnkxNTg/edit?usp=sharing MarshalUtil.cs]
 +
--Matyapiro31 15:20, 14 February 2013 (CET)
 +
:Big thanks! it will be changed to your edit in the near future --[[User:Elisherer|Elisherer]] 18:05, 14 February 2013 (CET)
399

edits

Navigation menu