DML source release

Discussion in 'Wii - Hacking' started by G0dLiKe, Dec 24, 2011.

  1. G0dLiKe
    OP

    G0dLiKe who needs a title ;)

    Member
    1,674
    51
    Aug 2, 2009
    United States
    This is the source for DML, released under GNU v3.

    As its christmas already and I feel like giving here you go: http://code.google.com/p/dios-mios-lite-source-project/

    Any contributions are welcome, there has not been much progress with DML bc Devs are busy with their own respective projects and of course real life is biting.

    Merry christmas :)

    Discussion thread is here: http://gbatemp.net/topic/307341-dios-mios-and-dios-mios-lite-source-project/
     
    1 person likes this.


  2. kylster

    kylster mich weich töten

    Member
    1,395
    32
    Sep 11, 2010
    United States
    Fr33D0M R1N6
    Thank you :) hopefully this will help start it off and get things going but I appreciate what you guys have done so far.
     
  3. Lucif3r

    Lucif3r GBAtemp Maniac

    Member
    1,464
    78
    Sep 10, 2011
    Nice, hopefully someone will pick it up and make it perfect *wishful thinking*
     
  4. FIX94

    FIX94 Global Moderator

    Global Moderator
    6,793
    8,081
    Dec 3, 2009
    Germany
    ???
    So here we have the source... Good luck guys :P
     
  5. DarkMatterCore

    DarkMatterCore I like turtles.

    Member
    886
    189
    May 30, 2009
    Venezuela
    Cabimas, Zulia, Venezuela.
    Any significant changes since the PoC? I already compiled the source code just to test it.

    EDIT: OK, I've received some PMs asking how did I compile this baby. It was quite easy, because the Readme.txt file says it all (or well, most of it). Here are the steps, anyway:

    1. Edit the following lines according to the paths you're gonna work with:

    • Line 26 in DML/Makefile (which is purely the commands for FixELF). I used this:

      Code:
      @/c/DM_DMLS_Source_Code_GNU_GPL/FixELF/FixELF.exe /c/DM_DMLS_Source_Code_GNU_GPL/FixELF/0000000c.app iosmodule.elf /c/DM_DMLS_Source_Code_GNU_GPL/00000008.app
      That's assuming you uncompressed the ZIP archive in C:/ and you already saved the 0000000c.app content file from MIOS v10 to C:/DM_DMLS_Source_Code_GNU_GPL/FixELF.
    • Line 4 in DML/asm/make.cmd. I changed the part between quotes ("") to this:

      Code:
      C:[backslash]DM_DMLS_Source_Code_GNU_GPL[backslash]bin2h[backslash]bin2h.exe
      (for some odd reason, the forum doesn't allow me to input backslashes)

      This batch file also needs some binaries that are not present in the recent revisions of devkitPPC. You'll have to download devkitPPC r17 from here and uncompress the powerpc-gekko-as.exe and powerpc-gekko-strip.exe files to C:/devkitPro/devkitPPC/bin.

    2. Open the Command Line Utility in C:/DM_DMLS_Source_Code_GNU_GPL/DML/asm (if you use Clickie, this will be an easy task), type "make.cmd" (without the quotes) and press Enter. This will create the necessary Assembly code for some of the CARD/DVD related functions.

    3. Don't close the CMD utility yet. Go back to C:/DM_DMLS_Source_Code_GNU_GPL/DML with "cd..", type "make" and press Enter. If you did the steps correctly, you should get the final 00000008.app file to use with SNEEK+DI in C:/DM_DMLS_Source_Code_GNU_GPL.
     
    1 person likes this.
  6. conanac

    conanac Be an Angel

    Member
    252
    98
    Sep 13, 2009
    United States
    Just in case anyone is interested with the modified version of DML that I made in the past for incorporating the debugger/cheat codes feature (abilities to read the codes.gct file and to run WiiRD), I could provide the modified source code files (or if GodLiKe wants me or himself to upload them to the googlecode page). Let me know.

    Nevertheless, it may take quite a time for me to clean it up first (since there are a lot of other things that I put in the codes for testing purpose).
     
  7. G0dLiKe
    OP

    G0dLiKe who needs a title ;)

    Member
    1,674
    51
    Aug 2, 2009
    United States
    You´re welcome to upload it to the googlecodepage mate. thank you.
     
  8. WiiPower

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    Gambia, The
    The development would go much faster if all relevant devs had write access to the Google Code page. Because then every dev who has a little time could just update to the latest rev, change some code, test it and then commit for the others. With possibly many people working on the code, i recommend small atomic changes and not a bunch of changes in one revision.

    About the Ocarina/debugger stuff:
    That should only be added as option. And if that is done, i would add some dummy options as well, so that future changes that need options can be implemented faster. It would look like sh*t, but the way i see it, the development progress should be more important.

    Just my thoughts about it.
     
  9. goku1980

    goku1980 GBAtemp Advanced Fan

    Member
    638
    1
    Oct 20, 2008
    United States
    wow how is this not bigger i cant wait to see what the guys in neek2o do to add this,nothing offical was said by any one that i know of.
     
    1 person likes this.
  10. nano351

    nano351 GBAtemp Regular

    Member
    259
    2
    Jun 6, 2009
    United States
    Why isn't the code in source control?
     
  11. kylster

    kylster mich weich töten

    Member
    1,395
    32
    Sep 11, 2010
    United States
    Fr33D0M R1N6
    Is that even possible? I hope so even then I don't think the compatibility will increase much with just neek2o alone there still needs to be devs capable of working on this.I do support the idea though.
    What is source control?
     
  12. PsyBlade

    PsyBlade Snake Charmer

    Member
    2,204
    254
    Jul 30, 2009
    Gambia, The
    Sol III
    what google code was made to do
    http://en.wikipedia.org/wiki/Revision_control
     
  13. Rockhoundhigh

    Rockhoundhigh Man with a mission

    Member
    436
    209
    Apr 2, 2011
    United States
    Southern California
    Thanks G0dLiKe, you've been really awesome trying get work done on DML's development. :yay: I guess this also solves the issue of having Sven's SD code included in DML.
     
  14. Lucif3r

    Lucif3r GBAtemp Maniac

    Member
    1,464
    78
    Sep 10, 2011
    cmooooon usb support!
     
  15. kylster

    kylster mich weich töten

    Member
    1,395
    32
    Sep 11, 2010
    United States
    Fr33D0M R1N6
    Thanks for the info so how many devs are interested in working on this?
     
  16. conanac

    conanac Be an Angel

    Member
    252
    98
    Sep 13, 2009
    United States
    Just uploaded r3 to include the debugger and cheat codes feature. This is a very simple and raw addition, therefore, I would welcome anyone to improve it (e.g. adding configuration for various hooks, on/off, hi/lo memory debugger to deal with Pokemon Box game for example).

    Cheers.
     
  17. WiiPower

    WiiPower GBAtemp Guru

    Member
    8,165
    72
    Oct 17, 2008
    Gambia, The
    Do you want to update the code handler, or do i have to do it? NeoGamma uses a later code handler for gamecube games, well it's 2 code handlers. 1 for codes only and 1 for debugging. Also the source code for the code handlers is included there. And there are a few GC hooks to choose from as well.
     
  18. conanac

    conanac Be an Angel

    Member
    252
    98
    Sep 13, 2009
    United States
    You are welcome to add/modify those changes. With your knowledge/skill set, I am very sure it will benefit all the users (including me who unfortunately cannot spend much of a time in developing all these interesting stuffs). Thanks in advance.
     
  19. markehmus

    markehmus GBAtemp Advanced Fan

    Member
    925
    186
    Jul 26, 2008
    Canada
    in the GAME
    thanks for the upload , conanac, i been looking forward to this addition

    edit:

    what does this mean i have to fix in order to compile:
    [​IMG]
     
  20. conanac

    conanac Be an Angel

    Member
    252
    98
    Sep 13, 2009
    United States
    Not sure (assuming you did not recompile FixELF and already have that dll file), did you by any chance get the iosmodule.elf file? For my case this file has the size of 56,240 bytes. I think that file is one of the input files (in addition to the 0000000c.app file) for the FixELF process.