Hacking How to create your own Sky3DS template entries?

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany
So I used the diskwriter to write it somewhat successfully, problem is when it cycles to the game on the 3DS it's a blank icon that won't load. On top of that in diskwriter under EEPROM it says "NO" instead of YES like all the other roms. Weird. :S
Pokemon XY / ORAS is CARD2 -> Nand Saving, it has no EEPROM chip inside.

The Cartridge ID should be "C2 ?? ?? 98" (replace ?? ?? with working values) and EEPROM ID -> Nand Save.

Cartridge ID must match EEPROM ID, xx xx xx 90 -> eeprom, xx xx xx 98 -> nand
 

ChrisRX

Well-Known Member
Member
Joined
Nov 8, 2006
Messages
490
Trophies
0
Website
Visit site
XP
420
Country
Pokemon XY / ORAS is CARD2 -> Nand Saving, it has no EEPROM chip inside.

The Cartridge ID should be "C2 ?? ?? 98" (replace ?? ?? with working values) and EEPROM ID -> Nand Save.

Cartridge ID must match EEPROM ID, xx xx xx 90 -> eeprom, xx xx xx 98 -> nand

Just to help you out, I think the second byte in the cartridge ID is the ROM size
There are 4 values:
0xFE 536870912 bytes or less. 512MB
0xFA 1073741824 bytes: 1GB
0xF8 2147483648 bytes: 2GB
0xF0 4294967296 bytes: 4GB

I hope this helps!

The third byte can be 0x00 or 0x02. I haven't got my head around what that value is yet
 

Ralph1611

Well-Known Member
Member
Joined
Dec 20, 2014
Messages
1,220
Trophies
0
Age
40
XP
822
Country
United States
Can I get a Tomodachi Life EUR template file?

i think the one say has wont work.. Im using region three and the Japanese one isnt having the same problem as the EUR one.

The EUR writes with diskwriter...but im guessing is the same error as Resident Evil Revelations.. No game card inserted..
 

Varia

Well-Known Member
Member
Joined
Nov 19, 2010
Messages
570
Trophies
1
XP
944
Country
Ah fair enough, I can get some of those values anyway like the Unknown ID, EEPROM


Any idea what to write in unknown id for monster hunter 4?
eeprom i assume nand save and cartridfe id is C2F00090.
It does copy the game to the memory card with the diskwriter tool, but when I try to play it it won't show up. and follwing that the card won't
work anymore (at all, won't load even the other games) until I delete the game.
 

lukas_2511

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
126
Trophies
0
Age
31
XP
409
Country
Gambia, The
Any idea what to write in unknown id for monster hunter 4?
eeprom i assume nand save and cartridfe id is C2F00090.
It does copy the game to the memory card with the diskwriter tool, but when I try to play it it won't show up. and follwing that the card won't
work anymore (at all, won't load even the other games) until I delete the game.


Since everything but this "Unknown id" can be calculated from a rom dump, and the sky3ds team seems to be able to generate the template.txt entries from the first 0x4000 bytes of the roms, i have reason to believe that it is some kind of cryptographic hash, used to lock out clones or something, and it will probably be impossible to generate it without knowing the key.
 

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany
It surely is because eshop games won't work and sky3ds needs one real cartridge in hands to publish new template.
Could it be related to the number in the back of retail games ?

eShop ".3DS" games are not working because the "NCSD" signature is a fake, sky3DS only allows real signatures and there is no way to generate them.

The Unknown id has something to do with the game's encryption, they request 0x4010 bytes in their header tutorial, 0x4000-0x400F = NCCH(0) KeyY.
So this unknown id is somehow generated from the games's keyY.
 
  • Like
Reactions: hackotedelaplaqu

thaikhoa

Well-Known Member
Member
Joined
Sep 16, 2008
Messages
2,236
Trophies
1
XP
2,590
Country
Australia
Is there any clue on what's Unknown ID in the template of Sky3DS yet? Without it, no game will be loaded, leave blank game icon without appropriate Unknown ID. I have Super Smash Bros AXCP-AUS (Australia version). It's completely different from the one in the current template due to SHA-1 checksum is different between the two.

Contacted Sky3DS to ask them for adding SSB AUS dump to their template (sent SHA-1 section and dump's header as well). However, they refused to do that, the reason is that they wouldn't like to add personal dump, even I explained some of Nintendo games here in Australia are different from Europe.
 

Datalogger

Living the Dream
Member
Joined
Dec 21, 2009
Messages
416
Trophies
1
Location
Maui
XP
710
Country
United States
I have another question.
Is it possible to rename the Game Titles in SKY3DS that show on the 3DS Screen?

Like so I can have 4 or more copies of Cubic Ninja and know which is for which exploit.
#1 - Launch HomeBrew
#2 - Launch NTR CFW
#3 - Launch GW
#4 - Launch whatever comes next (Karl/OSKA/xyzCFW)

I know I can have multiple copies of CN in my SKY (I have three now), but is there a way to change the names so you can see which one you have Blue Buttoned to?
 

motezazer

Well-Known Member
Member
Joined
Feb 6, 2015
Messages
1,214
Trophies
0
Age
24
XP
1,442
Country
France
I have another question.
Is it possible to rename the Game Titles in SKY3DS that show on the 3DS Screen?

Like so I can have 4 or more copies of Cubic Ninja and know which is for which exploit.
#1 - Launch HomeBrew
#2 - Launch NTR CFW
#3 - Launch GW
#4 - Launch whatever comes next (Karl/OSKA/xyzCFW)

I know I can have multiple copies of CN in my SKY (I have three now), but is there a way to change the names so you can see which one you have Blue Buttoned to?
No. The name is signed so you can't change it.
 

Centrix

Stop Poking the Moogle!
Member
Joined
Aug 28, 2008
Messages
1,037
Trophies
1
Age
39
Location
Seattle,WA
XP
1,610
Country
United States
So has any one bothered to look at the settings.ini that comes with the template? it seems like it has some connection to the way the template looks at the games that are added by the sky3ds team? maybe theres something there that will give us a clue as to how they are adding games? maybe its not as hard as we think? im not a programer out side of site design so im not sure if this is anything that will help I just wanted to share my thoughts :D
 

Datalogger

Living the Dream
Member
Joined
Dec 21, 2009
Messages
416
Trophies
1
Location
Maui
XP
710
Country
United States
The only person that has even has a rat's ass chance in cracking this is Yifan Lu, and so far SKY3DS is not on his radar.
 

TarAnTani

Active Member
Newcomer
Joined
Aug 9, 2016
Messages
29
Trophies
0
Age
38
XP
63
Country
Gambia, The
Hi;
Sorry to necro an old thread but I thought it should be posted here:
The unknownID is actually the ENC_SEED.
Since the review of the sky3ds+ (here on gba temp https://gbatemp.net/review/sky3ds.414/) there was a picture with per game settings, which had commentaries what the actuall values are.

Here is the picture (credits go to Foxi4 since he probably took that screenshot):
32193


The ENC_SEED seems to be derived from offset 0x1010 in the rom, but I don't get with what they decrypt it.
The same information can be obtained in the sky3ds+ gamelist.bin file.
Also the ENC_SEED (CTR-P-AMGP) from this screenshot as well as the "gamelist.bin" and the latest sky3ds "template0513.txt" match up completely.
Anyway, the first four byte in each sky3ds game template of the "template0513.txt" seem to correlate with the ENC_TYPE.

Now for the stupidity of mine, I thought to catch the "unknown ID" from sky3ds official gamelist.bin but since they do not update that file either nor the template, we NEED to find out how the value is calculated.
I mean if, the sky3ds+ cart is capable of actually generating that value on its own in the "gamename.cfg" on startup of the rom so why can't we?
 

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
Hi;
Sorry to necro an old thread but I thought it should be posted here:
The unknownID is actually the ENC_SEED.
Since the review of the sky3ds+ (here on gba temp https://gbatemp.net/review/sky3ds.414/) there was a picture with per game settings, which had commentaries what the actuall values are.

Here is the picture (credits go to Foxi4 since he probably took that screenshot):
32193


The ENC_SEED seems to be derived from offset 0x1010 in the rom, but I don't get with what they decrypt it.
The same information can be obtained in the sky3ds+ gamelist.bin file.
Also the ENC_SEED (CTR-P-AMGP) from this screenshot as well as the "gamelist.bin" and the latest sky3ds "template0513.txt" match up completely.
Anyway, the first four byte in each sky3ds game template of the "template0513.txt" seem to correlate with the ENC_TYPE.

Now for the stupidity of mine, I thought to catch the "unknown ID" from sky3ds official gamelist.bin but since they do not update that file either nor the template, we NEED to find out how the value is calculated.
I mean if, the sky3ds+ cart is capable of actually generating that value on its own in the "gamename.cfg" on startup of the rom so why can't we?

there is already a tool to make your own template files for games that are missing here
https://gbatemp.net/threads/create-template-for-blue-button-sky3ds-ourself.430142/
 
  • Like
Reactions: TarAnTani

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    HiradeGirl @ HiradeGirl: https://www.youtube.com/watch?v=ntjkwIXWtrc&ab_channel=Apple I feel uncomfortable from watching...