dsbuff

Discussion in 'NDS - Flashcarts and Accessories' started by WB3000, Jul 31, 2007.

Jul 31, 2007

dsbuff by WB3000 at 7:00 PM (17,144 Views / 0 Likes) 38 replies

  1. WB3000
    OP

    Member WB3000 GBAtemp Advanced Fan

    Joined:
    Apr 5, 2007
    Messages:
    668
    Country:
    United States
    This is just a small program I've whipped up recently, and currently it's at version v1 Final

    [​IMG]

    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!
     


  2. WB3000
    OP

    Member WB3000 GBAtemp Advanced Fan

    Joined:
    Apr 5, 2007
    Messages:
    668
    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!
     
  3. WB3000
    OP

    Member WB3000 GBAtemp Advanced Fan

    Joined:
    Apr 5, 2007
    Messages:
    668
    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 [​IMG]
     
  4. Ph1l0z0ph3r

    Member Ph1l0z0ph3r GBAtemp Regular

    Joined:
    Jul 21, 2007
    Messages:
    185
    Country:
    United States
    Hmm this program looks useful ima try it out.
     
  5. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,697
    Country:
    United Kingdom
    Does it require .net?
     
  6. WB3000
    OP

    Member WB3000 GBAtemp Advanced Fan

    Joined:
    Apr 5, 2007
    Messages:
    668
    Country:
    United States
    Yes, like dslazy, this program requires the .NET Framework 2.0
     
  7. BrianTokyo

    Member BrianTokyo NDSTokyoTrim Dev.

    Joined:
    Jun 28, 2007
    Messages:
    649
    Country:
    Japan
    .NET sucks

    [​IMG]
     
  8. WB3000
    OP

    Member WB3000 GBAtemp Advanced Fan

    Joined:
    Apr 5, 2007
    Messages:
    668
    Country:
    United States
    Is your main harddrive called C:\? If stuff like that pops up, just hit continue, and it will move on. [​IMG]
     
  9. retman

    Banned retman Banned

    Joined:
    Jun 3, 2007
    Messages:
    534
    Country:
    United Kingdom
    safe trim?
     
  10. WB3000
    OP

    Member WB3000 GBAtemp Advanced Fan

    Joined:
    Apr 5, 2007
    Messages:
    668
    Country:
    United States
    Trims identical to dslazy, if anyone has a command prompt style safe trimmer or VB.NET code for that, it would be appreciated [​IMG]
     
  11. Shuny

    Member Shuny I'm in yr forum, reading yr postz

    Joined:
    Nov 15, 2006
    Messages:
    1,019
    Location:
    Somewhere in the world
    Country:
    France
    .NET is a great and modern framework ... [​IMG]
     
  12. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,697
    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).
     
  13. WB3000
    OP

    Member WB3000 GBAtemp Advanced Fan

    Joined:
    Apr 5, 2007
    Messages:
    668
    Country:
    United States
    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.
     
  14. BrianTokyo

    Member BrianTokyo NDSTokyoTrim Dev.

    Joined:
    Jun 28, 2007
    Messages:
    649
    Country:
    Japan
  15. WB3000
    OP

    Member WB3000 GBAtemp Advanced Fan

    Joined:
    Apr 5, 2007
    Messages:
    668
    Country:
    United States
    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.
     
  16. BrianTokyo

    Member BrianTokyo NDSTokyoTrim Dev.

    Joined:
    Jun 28, 2007
    Messages:
    649
    Country:
    Japan
    Anyway, both VB and .NET suck
     
  17. WB3000
    OP

    Member WB3000 GBAtemp Advanced Fan

    Joined:
    Apr 5, 2007
    Messages:
    668
    Country:
    United States
    Easier to use though. [​IMG]
     
  18. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,697
    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/
     
  19. t0m1th3

    Newcomer t0m1th3 Member

    Joined:
    Oct 16, 2006
    Messages:
    14
    Country:
    United Kingdom
    What does the ARM7 swapper do?
     
  20. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,697
    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.
     

Share This Page