Hacking [Release][v.1.5.1] Sky Army Knife - a Sky3DS Template Tool

Foxi4

Endless Trash
OP
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,838
Country
Poland
Sorry, but the reason I asked is because I either didn't understand or comprehend what the first post meant. I'm not sure, at least to my knowledge, it explains what the use of it is.
The tool can be used to generate accurate templates for the Sky3DS, at least comparatively accurate compared to just editing the template file in notepad. It simplifies the process of injecting a new UniqueID by calculating all the checksums for you.
Quite often, you mention consulting the "sky3ds template file entry" .... What you mean by this?
I mean consulting the template.txt made by Sky3DS and checking the entry with the same product code as the game you're trying to make the template for. This is a 1.0 version, I'm still working out the kinks, a better guide will be written later down the line. ;)

UPDATE: duke_srg The quickfix is up, Macronix EEPROM's should generate correctly now, a typo in the Items list prevented them from being generated. I'll include more robust EEPROM ID drop-down boxes in the next release (including density) in the next release, this is just a quick-fix. Auto-detection from pre-existing templates is also coming soon. ;)
 

duke_srg

Well-Known Member
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
The tool can be used to generate accurate templates for the Sky3DS, at least comparatively accurate compared to just editing the template file in notepad. It simplifies the process of injecting a new UniqueID by calculating all the checksums for you.
I mean consulting the template.txt made by Sky3DS and checking the entry with the same product code as the game you're trying to make the template for. This is a 1.0 version, I'm still working out the kinks, a better guide will be written later down the line. ;)

UPDATE: duke_srg The quickfix is up, Macronix EEPROM's should generate correctly now, a typo in the Items list prevented them from being generated. I'll include more robust EEPROM ID drop-down boxes in the next release (including density) in the next release, this is just a quick-fix. Auto-detection from pre-existing templates is also coming soon. ;)


You should add Sanyo with size 13 at least. As for 1MB size eepom dumps, looks like that was my R4i Save Dongle bug, the actual size is still 128 or 512 Kb, so I dount density of 12 is ever used. Also checked that EEPROM Manufaturer does not really matters for save while but the density byte does.
 

duke_srg

Well-Known Member
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
The tool can be used to generate accurate templates for the Sky3DS, at least comparatively accurate compared to just editing the template file in notepad. It simplifies the process of injecting a new UniqueID by calculating all the checksums for you.
I mean consulting the template.txt made by Sky3DS and checking the entry with the same product code as the game you're trying to make the template for. This is a 1.0 version, I'm still working out the kinks, a better guide will be written later down the line. ;)

UPDATE: duke_srg The quickfix is up, Macronix EEPROM's should generate correctly now, a typo in the Items list prevented them from being generated. I'll include more robust EEPROM ID drop-down boxes in the next release (including density) in the next release, this is just a quick-fix. Auto-detection from pre-existing templates is also coming soon. ;)


Ок, one more thing about EEPROM
Alog with Macronix (C2 22) and Sharp (62 26) that uses 2^11 *512B =128KB or 2^13 * 512B=512KB bytes density there is also exist at least
98 38 17 for 2^17 = 128KB
and
98 38 19 for 2^19 = 512KB
Not sure the latter is supported by the Sky3DS, there are no such values in the template. Using C2 22 11 and C2 22 13 works fine for transfer saves for my New Art Academy and RE:Revelations.

upd: one more bug: 128MB rom size is 7F not 76. Check all list please

Upd2: EEPROM with first byte 98 is Toshiba. Manufacturer ID database available here http://www.idhw.com/textual/chip/jedec_spd_man.html
 
  • Like
Reactions: Foxi4

markmcrobie

Well-Known Member
Member
Joined
May 24, 2008
Messages
623
Trophies
0
XP
1,247
The tool can be used to generate accurate templates for the Sky3DS, at least comparatively accurate compared to just editing the template file in notepad. It simplifies the process of injecting a new UniqueID by calculating all the checksums for you.
I mean consulting the template.txt made by Sky3DS and checking the entry with the same product code as the game you're trying to make the template for. This is a 1.0 version, I'm still working out the kinks, a better guide will be written later down the line. ;)


Ok thanks, but I think I'm still being stupid - am I right in saying the end use of this tool is so you can play ROMs without having to wait on the Sky3DS official template file?
 

Foxi4

Endless Trash
OP
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,838
Country
Poland
Ок, one more thing about EEPROM
Alog with Macronix (C2 22) and Sharp (62 26) that uses 2^11 *512B =128KB or 2^13 * 512B=512KB bytes density there is also exist at least
98 38 17 for 2^17 = 128KB
and
98 38 19 for 2^19 = 512KB
Not sure the latter is supported by the Sky3DS, there are no such values in the template. Using C2 22 11 and C2 22 13 works fine for transfer saves for my New Art Academy and RE:Revelations.
I don't think Sky currently uses capacities that go so high, the original source only mentions C22211 - C22213, I'll keep this in mind though when I redesign the EEPROM portion to accept custom sizes.
upd: one more bug: 128MB rom size is 7F not 76. Check all list please
Thanks, corrected in next release. ;)
Upd2: EEPROM with first byte 98 is Toshiba. Manufacturer ID database available here http://www.idhw.com/textual/chip/jedec_spd_man.html
Are Toshiba EEPROM's used in 3DS cartridges? I only came across Macronix, Sanyo and OKI.
Hi ! Is it possible to generate template file for Bigbluemenu.3ds with zero fill option ? Thanks.
Not unless it comes out in cartridge dump form, no. ;)
 
  • Like
Reactions: Margen67

duke_srg

Well-Known Member
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
I don't think Sky currently uses capacities that go so high, the original source only mentions C22211 - C22213, I'll keep this in mind though when I redesign the EEPROM portion to accept custom sizes.
Thanks, corrected in next release. ;)
Are Toshiba EEPROM's used in 3DS cartridges? I only came across Macronix, Sanyo and OKI.
Not unless it comes out in cartridge dump form, no. ;)
Sky have ability to save EEPROM for upto 1Mb, however all templates only have 128Kb and 512Kb options for Macronix and Sanyo: four options: C22211, C22213, 622611, 622613. The third density byte determine the actual size i.e. 2^0x11=2^17=131072 or 2^0x13=2^19=524288. I personally dumped EEPROM with R4i Save Dongle and several games with Toshiba EEPROM, in that case EEPROM ID is displayed, and that was 9883817 and 983819, looks like Toshiba used a packed BCD for density. I'm not sure Sky will work with that values, though EEPROM dumps from those games was successfully converted to Sky saves with the appropriate Macronix values. Also I have never met 256kb or 1Mb saves while I dumped about 40 different game EEPROM.
 

Foxi4

Endless Trash
OP
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,838
Country
Poland
Sky have ability to save EEPROM for upto 1Mb, however all templates only have 128Kb and 512Kb options for Macronix and Sanyo: four options: C22211, C22213, 622611, 622613. The third density byte determine the actual size i.e. 2^0x11=2^17=131072 or 2^0x13=2^19=524288. I personally dumped EEPROM with R4i Save Dongle and several games with Toshiba EEPROM, in that case EEPROM ID is displayed, and that was 9883817 and 983819, looks like Toshiba used a packed BCD for density. I'm not sure Sky will work with that values, though EEPROM dumps from those games was successfully converted to Sky saves with the appropriate Macronix values. Also I have never met 256kb or 1Mb saves while I dumped about 40 different game EEPROM.
I see. What would be the second bit for Toshiba then? The MakerID and the size aren't sufficient, I need 4 values, last being always 0x0 from what I've seen (probably used as a deliminator in the template). If I have the second bit, I can implement Toshiba as a maker in the next release.
 

duke_srg

Well-Known Member
Member
Joined
Mar 1, 2011
Messages
1,862
Trophies
0
Age
44
Location
Moscow
XP
807
Country
Serbia, Republic of
I see. What would be the second bit for Toshiba then? The MakerID and the size aren't sufficient, I need 4 values, last being always 0x0 from what I've seen (probably used as a deliminator in the template). If I have the second bit, I can implement Toshiba as a maker in the next release.
The second byte is 38, I already posted the full 3-byte ID for both 128Kb and 512Kb Toshiba chips. Once again, I'm not sure Sky is compatible with Toshiba IDs because of different density byte encoding.
 

Foxi4

Endless Trash
OP
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,838
Country
Poland
The second byte is 38, I already posted the full 3-byte ID for both 128Kb and 512Kb Toshiba chips. Once again, I'm not sure Sky is compatible with Toshiba IDs because of different density byte encoding.
Sorry, my bad, just noticed that you did already post them. I have the flu and my brain isn't exactly working at full capacity right now lol. :P
 

drfsupercenter

Flash Cart Aficionado
Member
Joined
Mar 26, 2008
Messages
1,909
Trophies
1
XP
1,163
Country
United States
Is there any way we can use Gateway ROM Patcher to obtain the information from a dump made with Gateway's launcher.dat? Or some other way to import it? That should have the unique ID and all of that in the ROM, I'm just not sure what goes where.
 

JustinDanielPerr

Member
Newcomer
Joined
Jun 19, 2012
Messages
13
Trophies
0
XP
55
Would there be any way we could get like an example of someone doing this? Like someone using Youtube to make a video of them making a template for a random game?
 

nab

Member
Newcomer
Joined
May 20, 2006
Messages
21
Trophies
0
Website
Visit site
XP
188
Country
Canada
I can't make it work either. I tried multiple times, with multiple games and it still doesn't work.

Here's an example taken from template0216.txt :
Code:
** : CTR-P-BFRE
 
SHA1: 37FD09F6D2A2DD3D7B9C057F8AFE7043E1BC20E8
00 00 00 00 C2 FF 00 90 C2 22 13 00 69 C2 96 3D
43 54 52 49 4D 41 47 45 00 00 00 00 00 00 00 00
C4 FB 46 7B 5B E5 FA 64 C6 38 99 35 25 61 09 E4
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
43 54 52 2D 50 2D 42 46 52 45 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 15 35

And here's one that I created through the tool :
Code:
** : CTR-P-BFRE
 
SHA1: 37FD09F6D2A2DD3D7B9C057F8AFE7043E1BC20E8
00 00 00 00 C2 FF 00 90 C2 22 13 00 69 C2 96 3D
43 54 52 49 4D 41 47 45 00 00 00 00 00 00 00 00
A8 7E 2A 0F D9 F4 A1 93 83 53 71 3A 17 9B 17 B8
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
A8 7E 2A 0F D9 F4 A1 93 83 53 71 3A 17 9B 17 B8
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
43 54 52 2D 50 2D 42 46 52 45 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 E1 E4

The original works, the one I made doesn't. Help?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: I'm still on MKDS so I'm not bothered :tpi: