Sunday, October 18, 2009

DolBoot v1.0.2

phpgeek has released a tool which binds any homebrew application with the appropriate boot loader.
I developed this tool to aid me in compiling the source for preloader. What it basically does is binds any homebrew application with the appropriate boot loader, calculates the correct offsets and modifies the dol header accordingly. The modified dol will then be able to legally boot in place of the systems menu. It can easily be linked with devkitPro to create a seamless compilation process, for any developer who wishes to develop an application that replaces the systems menu.

This is a dangerous tool if you do not know what you are doing, so if you do not have BootMii installed to boot2 or have no idea what the information above means then I strongly suggest that you don't download this tool!

CODE
-----------------------------
| DolBoot v1.0.2 by phpgeek |
-----------------------------


* What is DolBoot? *

DolBoot is a simple application that will take a compiled dol file
containing a homebrew application for the nintendo wii and bind it
with a boot loader. The file can then be launched in place of the
official systems menu by replacing the appropriate .app nand file

* Do I need to compile my dol differently? *

Yes! You need to compile your dol with an entry point of 81000000.

Makefile example:

LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--section-start,.init=0x81000000

* Can I link DolBoot with my compiling process? *

Sure you can!

Makefile examples:

#---------------------------------------------------------------------------------
$(BUILD):
@[ -d $@ ] || mkdir -p $@
@make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
dolboot $(OUTPUT).dol output.app

#---------------------------------------------------------------------------------

or:

#---------------------------------------------------------------------------------
run:
dolboot $(TARGET).dol target.app

#---------------------------------------------------------------------------------

* Usage *

dolboot.exe input.dol output.app
I developed this tool to aid me in compiling the source for preloader. What it basically does is binds any homebrew application with the appropriate boot loader, calculates the correct offsets and modifies the dol header accordingly. The modified dol will then be able to legally boot in place of the systems menu. It can easily be linked with devkitPro to create a seamless compilation process, for any developer who wishes to develop an application that replaces the systems menu.

This is a dangerous tool if you do not know what you are doing, so if you do not have BootMii installed to boot2 or have no idea what the information above means then I strongly suggest that you don't download this tool!

Download: DolBoot v1.0.2
Source: gbatemp

0 comments:

Post a Comment