elf to iso

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
dospro
Insane DCEmu
Insane DCEmu
Posts: 147
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Thu Dec 30, 2004 7:12 pm
Has thanked: 0
Been thanked: 0
Contact:

elf to iso

Post by dospro »

Ok. I've got and elf file after compiling my program for dreamcast. Now what are the steps to make it into a bootable iso.
Once i tried a tutorial which teaches you how to make the cd manually using cdrecord but it didn't work,
I'm under linux, is there a software i need.. or anything?
Check the BioGB emulator any help me get it much better!!
http://www.geocities.com/instructivus
User avatar
BB Hood
DC Developer
DC Developer
Posts: 189
Joined: Fri Mar 30, 2007 12:09 am
Has thanked: 41 times
Been thanked: 10 times

Re: elf to iso

Post by BB Hood »

1. You need to convert the .elf to a .bin using sh-elf-objcopy.(Commandline: sh-elf-objcopy -R .stack -O binary program.elf program.bin ("program" should be replaced with whatever the name of your elf is)

2. Then it needs to be scrambled using scramble (1ST READ.BIN scrambler under development tools on this page http://mc.pp.se/dc/sw.html. You only get the source but it should be easy to compile). Commandline: scramble program.bin 1st_read.bin

3. You need a IP.BIN using makeip(IP creator under development tools on this page http://mc.pp.se/dc/sw.html. You only get the source but it should be easy to compile). Commandline: makeip ip.txt IP.BIN

Create a folder and place 1ST_READ.BIN in it

From here on you can use the cdrecord method( Which needs the programs cdrecord, mkisofs, ipinsert(can be called other things too).

Here: http://mc.pp.se/dc/cdr.html
User avatar
henzenmann
Insane DCEmu
Insane DCEmu
Posts: 186
Joined: Wed Jul 12, 2006 4:58 pm
Has thanked: 0
Been thanked: 0
Contact:

Re: elf to iso

Post by henzenmann »

Instructions on how to burn with mkisofs/cdrecord:
http://curmudgeongamer.com/article.php? ... 5232756356
dospro
Insane DCEmu
Insane DCEmu
Posts: 147
Joined: Thu Dec 30, 2004 7:12 pm
Has thanked: 0
Been thanked: 0
Contact:

Re: elf to iso

Post by dospro »

henzenmann wrote:Instructions on how to burn with mkisofs/cdrecord:
http://curmudgeongamer.com/article.php? ... 5232756356
I think that was the problem i had. Now i can finally burn Dreamcast CD under linux. Good!!
Check the BioGB emulator any help me get it much better!!
http://www.geocities.com/instructivus
Post Reply