Hacking DML source release

G0dLiKe

who needs a title ;)
OP
Member
Joined
Aug 2, 2009
Messages
1,674
Trophies
0
Website
db.tt
XP
206
Country
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/
 
  • Like
Reactions: 1 person

DarkMatterCore

Finding my light.
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,604
Country
Spain
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.
 
  • Like
Reactions: 1 person

conanac

Be an Angel
Member
Joined
Sep 13, 2009
Messages
267
Trophies
1
XP
329
Country
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).
 

G0dLiKe

who needs a title ;)
OP
Member
Joined
Aug 2, 2009
Messages
1,674
Trophies
0
Website
db.tt
XP
206
Country
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).

You´re welcome to upload it to the googlecodepage mate. thank you.
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
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.
 

goku1980

Well-Known Member
Member
Joined
Oct 20, 2008
Messages
638
Trophies
0
XP
139
Country
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.
 
  • Like
Reactions: 1 person

kylster

mich weich töten
Member
Joined
Sep 11, 2010
Messages
1,393
Trophies
0
Age
37
Location
Fr33D0M R1N6
XP
472
Country
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.
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.
Why isn't the code in source control?
What is source control?
 

conanac

Be an Angel
Member
Joined
Sep 13, 2009
Messages
267
Trophies
1
XP
329
Country
United States
You´re welcome to upload it to the googlecodepage mate. thank you.

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.
 

WiiPower

Well-Known Member
Member
Joined
Oct 17, 2008
Messages
8,165
Trophies
0
XP
345
Country
Gambia, The
You´re welcome to upload it to the googlecodepage mate. thank you.

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.

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.
 

conanac

Be an Angel
Member
Joined
Sep 13, 2009
Messages
267
Trophies
1
XP
329
Country
United States
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.

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.
 

markehmus

Well-Known Member
Member
Joined
Jul 26, 2008
Messages
1,521
Trophies
0
Age
112
Location
in the GAME
XP
1,279
Country
Canada
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:
2ibje9z.jpg
 

conanac

Be an Angel
Member
Joined
Sep 13, 2009
Messages
267
Trophies
1
XP
329
Country
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: Also nice. Never really watched Fallout on Prime, but sounds like a good show. +1