dsbuff

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

dsbuff

by WB3000 Jul 31, 2007 at 7:00 PM 18,311 Views 38 replies
  1. WB3000
    OP

    WB3000 GBAtemp Advanced Fan

    Member
    668
    1
    Apr 5, 2007
    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

    WB3000 GBAtemp Advanced Fan

    Member
    668
    1
    Apr 5, 2007
    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

    WB3000 GBAtemp Advanced Fan

    Member
    668
    1
    Apr 5, 2007
    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

    Ph1l0z0ph3r GBAtemp Regular

    Member
    185
    1
    Jul 21, 2007
    United States
    Hmm this program looks useful ima try it out.
     
  5. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,370
    9,174
    Nov 21, 2005
    Does it require .net?
     
  6. WB3000
    OP

    WB3000 GBAtemp Advanced Fan

    Member
    668
    1
    Apr 5, 2007
    United States
    Yes, like dslazy, this program requires the .NET Framework 2.0
     
  7. BrianTokyo

    BrianTokyo NDSTokyoTrim Dev.

    Member
    653
    42
    Jun 28, 2007
    .NET sucks

    [​IMG]
     
  8. WB3000
    OP

    WB3000 GBAtemp Advanced Fan

    Member
    668
    1
    Apr 5, 2007
    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

    retman Banned

    Banned
    534
    0
    Jun 3, 2007
    safe trim?
     
  10. WB3000
    OP

    WB3000 GBAtemp Advanced Fan

    Member
    668
    1
    Apr 5, 2007
    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

    Shuny I'm in yr forum, reading yr postz

    Member
    1,019
    54
    Nov 15, 2006
    France
    Somewhere in the world
    .NET is a great and modern framework ... [​IMG]
     
  12. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,370
    9,174
    Nov 21, 2005
    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

    WB3000 GBAtemp Advanced Fan

    Member
    668
    1
    Apr 5, 2007
    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

    BrianTokyo NDSTokyoTrim Dev.

    Member
    653
    42
    Jun 28, 2007
  15. WB3000
    OP

    WB3000 GBAtemp Advanced Fan

    Member
    668
    1
    Apr 5, 2007
    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

    BrianTokyo NDSTokyoTrim Dev.

    Member
    653
    42
    Jun 28, 2007
    Anyway, both VB and .NET suck
     
  17. WB3000
    OP

    WB3000 GBAtemp Advanced Fan

    Member
    668
    1
    Apr 5, 2007
    United States
    Easier to use though. [​IMG]
     
  18. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,370
    9,174
    Nov 21, 2005
    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

    t0m1th3 Member

    Newcomer
    14
    0
    Oct 16, 2006
    What does the ARM7 swapper do?
     
  20. FAST6191

    FAST6191 Techromancer

    pip Reporter
    23,370
    9,174
    Nov 21, 2005
    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.