Talk:ELF to DOL Converter

From WiiBrew
Jump to: navigation, search

Linux Version

Could you make a linux version? I'm not sure yet if bat files run in Linux (Under Wine). I already have DevKitPro installed if that helps. Seandgibbonsy 21:32, 29 October 2008 (UTC)

I dont really have linux shell skills. I assume it would be even easier to do than this was. If someone can do it, we can post it here with your name on it. yossi 07:57, 30 October 2008 (UTC)
Never mind that. I made a linux version instead of going to sleep. :) yossi 11:21, 30 October 2008 (UTC)
btw, AerialX left this in the comments on tehskeen.com
find /mnt/sd -name 'boot.elf' -execdir powerpc-gekko-objcopy -O binary "{}" boot.dol \; -execdir rm -f "{}" \;
^ Converts all boot.elf files to boot.dol and deletes the boot.elf (/mnt/sd obviously arbitrary) yossi 20:44, 30 October 2008 (UTC)
Theres a bug on the linux version, in line 13 of the script there should be a ./powerpc-gekko-objcopy instead of just powerpc-gekko-objcopy, besides that everything else works perfectly.--Epsilonsama 03:44, 31 October 2008 (UTC)
it worked on my computer like that. is it not working on yours, or is this just a better way to do it? yossi 07:18, 31 October 2008 (UTC)
well i added it to the script. i dont think its worth incrementing the version number though.yossi 08:41, 31 October 2008 (UTC)

REM line makes it not work version 1.2??

This did NOTHING at all until I removed REM and everything after it in that line (I thought you had to have REM on a separate line anyway!?) --Qda 19:16, 30 October 2008 (UTC)

ok i admit, i put that REM in middle of the line at 4:30 in the morning while on a backtrack3 live cd. so i didn't test the final .bat file. sorry :( yossi 20:09, 30 October 2008 (UTC)
fixed now yossi 20:18, 30 October 2008 (UTC)
fast response! anyway, sorry I just realized that I came off pretty crude above - thanks for looking into it, and thanks for making the converter!!--Qda 23:31, 30 October 2008 (UTC)
BTW, I only made the script that uses kitPro's converter (included). I didn't actually write the converter. yossi 19:43, 31 October 2008 (UTC)
then no soup for you --Qda 23:13, 3 November 2008 (UTC)
 :/ yossi 05:43, 4 November 2008 (UTC)