Another thing:
- You have to restart the app everytime again when you want to patch a new game, even with the same header
Example, i patched my first game, want to patch another game with the samùe header, so in step 3 i always click the new rom skipping the other 2dteps, cause that's already selected
it says patched, but nothing has changed in the template, so you need to close the app and restart it for every new rom you want to patch the template for.
Hi,
Is there anyway you could outline what the program does when I tell it to patch all ROMs after giving it a header? I want to write a script for Linux/Mac so those users can quickly patch the new template without having to boot Windows or find a PC.
Thanks!
Case #Button_PatchAll
If OpenFile(#TemplateFile,TemplateFile$)
If OpenFile(#HeaderFile,HeaderFile$)
HeaderString.s=""
pos=0
nbgames=0
*buffer=AllocateMemory(Lof(#TemplateFile))
ReadData(#TemplateFile,*buffer,Lof(#TemplateFile))
string.s=PeekS(*buffer)
*HeaderData=AllocateMemory(16)
ReadData(#HeaderFile,*HeaderData,16)
For n=0 To 7
posi=n*2
Headers.s=RSet(Hex(PeekU(*HeaderData+posi),#PB_Unicode),4,"0")
Hex1.s=Left(Headers,2)
Hex2.s=Right(Headers,2)
Headers=Hex2+Hex1
HeaderString=HeaderString+Headers
Next
For n=3 To 45 Step 2
HeaderString=InsertString(HeaderString," ",n)
n=n+1
Next
Repeat
pos=FindString(string,"SHA",pos+1)
nbgames=nbgames+1
If pos <>0
FileSeek(#TemplateFile,pos)
For n=0 To 4
ReadString(#TemplateFile)
Next
WriteString(#TemplateFile,HeaderString,#PB_Ascii)
EndIf
Until pos=0
CloseFile(#TemplateFile)
CloseFile(#HeaderFile)
FreeMemory(*HeaderData)
FreeMemory(*buffer)
MessageRequester("Success", Str(nbgames)+" games patched. See you on next template file update")
Else
MessageRequester("Error","Failed to open "+HeaderFile$,#PB_MessageRequester_Ok)
EndIf
Else
MessageRequester("Error","Failed to open "+TemplateFile$,#PB_MessageRequester_Ok)
EndIf
Download No Ban no Sky.
False positive as it's often the case with .Net apps.Can you post the sha hash for the file?
I just downloaded it from the dropbox link on original post and mcafee thought it was a virus
Also checked virustotal.com..
https://www.virustotal.com/en/file/...47e039b4e4a43f6cd54de176242b027e59c/analysis/
Are you saying you don't trust pirates? For shame!
But I do see your point, just throwing the idea out there. Just feeling bad for the average Sky users with high firmware.
so if I have a bin file with private header and I load the template and header bin to no ban no sky, I click patch. It says all 1370 something games patched. After that I just write games to sky3ds sd card with diskwriter???
Oh no! Why do you say that?? I just got a SKY3DS and I have v9.7... *sigh* I haven't tried to use it yet as I want to be ENTIRELY SURE I use private headers. I've been posting on a few threads here about what a friggin' n00b I am regarding all this.
So I'm trying to figure out how I would dump one of my legit cartridges, get a private header and use that in the ROMs I have.
I have Gateway ROM Patcher but I don't know if that words only with Gateway and not SKY3DS... I downloaded this tool, but I don't know if it works with higher firmware (comments imply not). What are my options? Also, I have no idea what to actually DO! A readme was suggested a couple months back. Is there one? HELP!
To dump a game, afaik you need to use a Gateway card. Twice now I've helped Sky3DS users out by buying a cheapo game, ripping the header for them, sending them the header, and then tossing the game (being reimbursed only for the cost of the game). If you can't find someone around you with a Gateway willing to rip a header for you then shoot me a PM.
Cant you also rip a header with a powersaves tool regardless of the 3ds fw version?
-- Original post --
so if I have a bin file with private header and I load the template and header bin to no ban no sky, I click patch. It says all 1370 something games patched. After that I just write games to sky3ds sd card with diskwriter???