Hacking dsbuff

WB3000

Well-Known Member
OP
Member
Joined
Apr 5, 2007
Messages
674
Trophies
1
Website
wb3000.co.nr
XP
471
Country
United States
This is just a small program I've whipped up recently, and currently it's at version v1 Final

dsbuff.PNG


The current features are...
-Trim
-DLDI
-Unpack
-Pack
-Arm7 Swapper
-Header Editor
-CrashMe Scan
-Drive

This release has been entirely rewritten using C#.NET, and features a new interface. I won't go into detail now, but you can try out the beta if you wish.

DOWNLOAD:
dsbuff v1 Final .ZIP file

*Requires .NET Framework 2.0!
 
  • Like
Reactions: NexoCube

WB3000

Well-Known Member
OP
Member
Joined
Apr 5, 2007
Messages
674
Trophies
1
Website
wb3000.co.nr
XP
471
Country
United States
Version 0.2 is up now, which mainly includes the addition of all the DLDI patches! If anyone would like to see any more features, please say so!
 

WB3000

Well-Known Member
OP
Member
Joined
Apr 5, 2007
Messages
674
Trophies
1
Website
wb3000.co.nr
XP
471
Country
United States
I uploaded version 0.3 to the DS-X forums thread only, since the only new things are an options menu to filter out the DLDI patches you don't need, and a ARM7 swapper, which is only useful to DS-X owners right now.

EDIT: You can find it here now
smile.gif
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
I will not get into the .net debate, sure it lessens DLL hell but I kind of resent having to download a 20 meg framework for a 200K app (and hoping it works with the version I have).

I can not give you any code but all that "safe" trimming is:
reads 4 bytes from 80 (hex)
If first 4 bytes can be said to be
ABCD they become DCBA
e.g. 1302 Sommelier
24C29302 becomes
0293C224
Delete all following this newly derived address (gba era and early trimmers just deleted until there were no more 00/FF's).
 

WB3000

Well-Known Member
OP
Member
Joined
Apr 5, 2007
Messages
674
Trophies
1
Website
wb3000.co.nr
XP
471
Country
United States
I will not get into the .net debate, sure it lessens DLL hell but I kind of resent having to download a 20 meg framework for a 200K app (and hoping it works with the version I have).

I can not give you any code but all that "safe" trimming is:
reads 4 bytes from 80 (hex)
If first 4 bytes can be said to be
ABCD they become DCBA
e.g. 1302 Sommelier
24C29302 becomes
0293C224
Delete all following this newly derived address (gba era and early trimmers just deleted until there were no more 00/FF's).

I'm not that technical with my coding lol, I don't know any other language besides VB.NET. I am currently using the trim.exe from dslazy, but I think I know where I can find some safe trimming style code...

And for that error regarding the options.txt, just hit continue like I said before, then run one of the commands in the program. The error is caused by the C:\dsbuff\ directory not being in place before creating the options.txt.
 

WB3000

Well-Known Member
OP
Member
Joined
Apr 5, 2007
Messages
674
Trophies
1
Website
wb3000.co.nr
XP
471
Country
United States
How about checking if the dir exists on start up?
smile.gif


Just call GetFileAttributesA in kernel32.dll and check for FILE_ATTRIBUTE_DIRECTORY ($10)

if it doesn't, just make it, CreateDirectoryA also from kernel32.dll

http://msdn2.microsoft.com/en-us/library/aa364944.aspx

http://msdn2.microsoft.com/en-us/library/aa914972.aspx

I've implimented that on my end already, though in VB it reads more like "If directory exists then do nothing else create directory" lol. But that error will not appear after your first use.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
If you want ease of use can I suggest you look at autoIT, it is pretty good for GUI making (it can spit out command line, screen positions related stuff, call DLLs, make directories/(text) files, registry stuff... and some binary stuff (not so good at reading/editing)).

Syntax is somewhere between C? and new style basic (Visual Basic and the like) and there is no need for clunky framework.

If you want something that is coded in it look at BatchDPG.

Homepage:
http://www.autoitscript.com/autoit3/
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
The DS has two processors, an ARM7 and an ARM9, both of which work in DS mode. Each naturally runs its own code which courtesy of the DS file system can be accessed very easily.
It was found that the ARM7 binary controls copy protection for some titles meaning cards that patch the game to run (most of them) that had not been updated could simply swap out the ARM7 binary (which courtesy of nintendo's dev tools is very similar between most DS games, something I would probably not have guessed) with another usually "older" (i.e. the Japanese release) arm7 binary and have it work.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    +1
  • K3Nv2 @ K3Nv2:
    Lol newegg+
    Screenshot-20240423-053504-Gmail.jpg
  • S @ salazarcosplay:
    does update 19 really block it
  • SylverReZ @ SylverReZ:
    Update 19 never came out yet. Just the 18.1.
    SylverReZ @ SylverReZ: Update 19 never came out yet. Just the 18.1.