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,845
Country
Poland
SkyArmyKnife needs a scrollbar. Using a small screen and can't finalize my template. Nor can I maximize.

Food for thought...
Wow, that must be a really small screen then. :P Good point though, a scroll bar would be nice considering the dimensions are locked.
Is necesary change shar1 to the rom or template?
SHA1 is calculated automatically for the template, no need to touch it.
 

s-arash

Well-Known Member
Member
Joined
Sep 3, 2013
Messages
185
Trophies
0
Age
32
XP
364
Country
United States
is there anychance that we can make our own template files in near future and don't wait for sky3ds to release them?
 

ss4gogeta069

Member
Newcomer
Joined
Mar 10, 2014
Messages
14
Trophies
0
Age
44
XP
87
Country
United States
Ah, didn't realize it had to be in the original template. I thought I could use it to create a template. Ok, now I know the problem. Oh well. I suppose I will wait for Sky to put out a new template with this game.
 

Foxi4

Endless Trash
OP
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,845
Country
Poland
is there anychance that we can make our own template files in near future and don't wait for sky3ds to release them?
Ah, didn't realize it had to be in the original template. I thought I could use it to create a template. Ok, now I know the problem. Oh well. I suppose I will wait for Sky to put out a new template with this game.
As soon as someone figures our how to generate UnknownID's. I have my suspicions, but no way of verifying them.
 

Osmosis

Accidents Happen. Don't be one of them.
Member
Joined
Dec 20, 2014
Messages
823
Trophies
0
XP
387
Country
United States
is there any chance that we can make our own template files in near future and don't wait for sky3ds to release them?
Ah, didn't realize it had to be in the original template. I thought I could use it to create a template. Ok, now I know the problem. Oh well. I suppose I will wait for Sky to put out a new template with this game.
As soon as someone figures our how to generate Unknown ID's. I have my suspicions, but no way of verifying them.

I've been playing with ID headers and templates so here's what you do:

GATEWAY ROM PATCHER - v1.1
  • Can gen Cart and Chip IDs into ROM (or import private ones if you have them, but import sometimes screws up game code identifier)
  • Don't forget to EXPORT the header when your done applying IDs
NO BAN NO SKY - v2.1
  • Use a copy of original templat0310.txt (gotta double-click-it)
  • Use the altered ROM (double-click)
  • Use exported header (double-click again)
  • Then modify template. Try not to apply to all. Especially if you plan to play ONLINE.
Sky3DS DISKWRITER v1.06b5
  • FORMAT (to start clean)
  • CHANGE TEMPLATE (get your new template you just fixed with NBNSky)
  • WRITE the ROMs you made with GW PATCHER.
When finished, pop it in Sky3DS and see if they show up. If you did it wrong, you won't get anything but spinning boxes from 3DS and an empty button icon. I recommend trying x2 games to see if they appear. When they do, you now have ROMs with false IDs and a Template to go with them. Or you can basically copy private ones so you can play online...

Once satisfied, go back to DiskWriter and write the rest of your games as usual.

I recommend using OPTIMIZER when finished, but if you're pressed for time, use the TRIM ROM TOOL, works better. Helps games scroll faster on Sky3DS. Does require manual cutNpaste for RUN CMD, but TRIM ROM TOOL with -t works like a hot knife through butter. While the optimizer does trim, it's leaving quite a lot for safety's sake. We don't want safe, we want better load times on Sky3DS. And optimizer makes one huge BACKUP file. I did it a couple of times and accidentally filled an SD card.

If you have 9.2 sysNAND you can always DL the GateWay Ultra pack and use the loader.dat to rip ROMs headers and Firmware (highly recommend, JIC). Anything above 9.2 and you're screwed. You don't even need GW carts to do it.

I'd use Army Knife... but I can't fit it onto my screen right now. Screens are horizontal folks. Not vertical. From left to Right. :P

Hope this helped.


BONUS EDIT: I actually owned the Game Genie up until about a month ago when I sold off my GB collection. Had the case, two handhelds with recharge bats, games galor and a magnifier/light overhead. I even had the codes taped on the back of cartridges and the codebooks in the Genie. I was pretty oldschool hardcore. I even had a college friend with a GB cart from Japan. Hence my having got a 3DS. Kind of fell back in love with an old crush, only I got older and life got more complicated. Damn Nintendo. I miss Gunpei Yokoi. He'd actually approve of GBATemp and cheer you on...
 

Foxi4

Endless Trash
OP
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,845
Country
Poland
That's a bit of a handful right there - three apps to generate something that can be made in Notepad, really. That's why I'm working on SAK - I'm trying to make this process a bit more manageable. Essentially Gateway Rom Patcher imports CartID and EEPROMID - stuff that's already in the template anyways. No Ban No Sky changes the UniqueID, that's practically its only function. The only necessary program here is DiskWriter, really, and it shouldn't be too difficult to code an alternative to it. As far as screens go, sure, they're "left to right", but we're living in the HD era so I was sort of expecting users to have at least 720p monitors - I'll add a scroll bar to the next release.
 

Osmosis

Accidents Happen. Don't be one of them.
Member
Joined
Dec 20, 2014
Messages
823
Trophies
0
XP
387
Country
United States
That's a bit of a handful right there - three apps to generate something that can be made in Notepad, really. That's why I'm working on SAK, make this process a bit more managable. Essentially Gateway Rom Patcher imports CartID and EEPROMID - stuff that's already in the template anyways. No Ban No Sky changes the UniqueID, that's practically its only function. The only necessary program here is DiskWriter, really. Sure, screens go left to right, but we're living in the HD era so I was sort of expecting users to have at least 720p monitors - I'll add a scroll bar to the next release.

Actually, I was hoping your tool would be a one-stop-shop, but I had to improvise (sorry, on my EeePC right now). If anything, might want to steal some code from the above apps.

EDITS:

Especially the TRIM ROM TOOL! I have no idea why that isn't a separate option in Diskwriter. I hate having to wait through a BACKUP save. Annoying...

I've been toying with header IDs to see if PowerSaves would let me use it, but so far I've discovered that only NON-EEPCROMs can use PowerSaves without headers. Any way I can convert EEPCROMs to NON? Then I could run them through PowerSaves, unlock everything, convert them back so they don't dump all over my SD card, and move on.

OR/AS/X/Y are NON-EEPCROM and they all work with PowerSaves. Only problem is if I format the Sky3DS SD all their Savedata becomes corrupt and I even tried using DiskWriter Save Backup. No success. I really need private headers, but I'm on 9.5.0-22U. I can still PKHeX inject... which is nice.
 

Foxi4

Endless Trash
OP
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,845
Country
Poland
Actually, I was hoping your tool would be a one-stop-shop, but I had to improvise (sorry, on my EeePC right now). If anything, might want to steal some code from the above apps.
There's already no need to use Gateway's Rom Patcher for Sky3DS use since it does the exact same thing DiskWriter does when writing a game to an SD card - it replaces the header. The information stored in the templates is equivalent to that found in header.bin files, plus an extra cryptographic hash that nobody knows how to calculate yet (hence the requirement for using Sky's templates as a base). Yes, the final goal would be to make SAK an all-in-one application, but I'm taking baby steps with this due to a limited amount of time I can spend on coding. ;) Anywho, the next release should make Gateway's ROM Patcher obsolete as it will automatically detect header information from *.3DZ and *.BIN files, it's already working with header.bin's, I just need to adjust an offset for *.3DZ's. A teaser:
ytJ8voj.png
Should come in handy - you won't have to use the ROM Patcher anymore. I know it's not perfect yet, but we'll get there one tools tab at a time. ;)
 

Osmosis

Accidents Happen. Don't be one of them.
Member
Joined
Dec 20, 2014
Messages
823
Trophies
0
XP
387
Country
United States
Anywho, the next release should make Gateway's ROM Patcher obsolete as it will automatically detect header information from *.3DZ and *.BIN files, it's already working with header.bin's, I just need to adjust an offset for *.3DZ's. A teaser:

(removed for post's sake)

Should come in handy - you won't have to use the ROM Patcher anymore. I know it's not perfect yet, but we'll get there one tools tab at a time. ;)

You sir, deserve some cake:

7dfb6c1d79b3b609fed127b75c4070a7.jpg
 
  • Like
Reactions: Foxi4

DejahThoris

Member
Newcomer
Joined
Nov 5, 2012
Messages
5
Trophies
0
Age
37
XP
100
Country
United States
Not sure what I'm doing wrong, but I've downloaded the past 3 official Sky3DS templates and "Template file is invalid!" keeps getting spat back out at me.

EDIT: Read back a few posts and saw to delete the empty lines at the start and now everything's ship-shape. Just need to learn the rest!
 
  • Like
Reactions: Foxi4

Hylianzero

Well-Known Member
Member
Joined
Nov 21, 2010
Messages
201
Trophies
1
XP
499
Country
United States
Ok, so I read through the entire topic. I was wondering if you would be able to make a short video where you actually use the tool so that we can see exactly how it works. I don't know if it's because I'm super sleepy or if I'm just slow, but all of this is a bit above my head and I'm not in the mood to be banned on my 3DS, lol. I've been trying to use Falo's tool that I found a few hours ago, but every time I do the ROMs don't work... which is because I'm not doing everything that I'm supposed to. Which I just found out.

:D
 

Foxi4

Endless Trash
OP
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,845
Country
Poland
the tool is great and works fine, but some games (MH4U) the online function not works and in GW this did works fine with same data. It is the reason of my questions
Odd. Can you post the resulting template? It might be a bug.
Ok, so I read through the entire topic. I was wondering if you would be able to make a short video where you actually use the tool so that we can see exactly how it works. I don't know if it's because I'm super sleepy or if I'm just slow, but all of this is a bit above my head and I'm not in the mood to be banned on my 3DS, lol. I've been trying to use Falo's tool that I found a few hours ago, but every time I do the ROMs don't work... which is because I'm not doing everything that I'm supposed to. Which I just found out.

:D
The step by step instructions are in the original post - load a template, put in your settings, generate, save to txt, load the new template in DiskWriter and burn your games to the SD. Making a video guide right now would be pointless because the GUI is subject to change based on comments, the tool is far from complete. In fact, v.1.4 already has some boxes modified for added flexibility. ;)
 

Ninoh-FOX

Otaku Gamer!!
Member
Joined
Jan 22, 2015
Messages
535
Trophies
0
Age
44
Location
Military base.
Website
colorslive.com
XP
650
Country
Spain
** : CTR-P-BFGP

SHA1: A8A7F1848C8B3CBD04D7D6748CC9406F64055C74
00 00 00 00 C2 F0 00 90 C2 22 13 00 50 F7 AF 08
43 54 52 49 4D 41 47 45 00 00 00 00 00 00 00 00
9F 99 26 F3 63 F0 FB 87 D6 64 EA 46 D9 0C 5B 7C
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
:lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol::lol:
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 47 50 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 3E F1

EDIT: Now work online!! The problem was the settup of modem wifi. XD
 

NeroAngelo

Clueless Importer
Member
Joined
Dec 31, 2003
Messages
273
Trophies
2
XP
1,217
Country
Libya
Hey Foxi wnderful tool :)
wondering if anyone else has an issue with the auto detect code option ... for some roms it misses the last byte.
no biggie since you can just copy past the string anyway ... just thought you'd like to know.
 
  • Like
Reactions: Foxi4

Foxi4

Endless Trash
OP
Global Moderator
Joined
Sep 13, 2009
Messages
30,825
Trophies
3
Location
Gaming Grotto
XP
29,845
Country
Poland
Hey Foxi wnderful tool :)
wondering if anyone else has an issue with the auto detect code option ... for some roms it misses the last byte.
no biggie since you can just copy past the string anyway ... just thought you'd like to know.
Interesting, it definitely shouldn't do that. Can you post the product codes of affected games? It's set to read the whole line so it shouldn't be happening.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: The Castlevania game was on the PS1 so that's cool +1