What's new

TUTORIAL: How to make your homebrew games bootable

reneramos79

New member
RCGAMER, can you please tell me what CDRWIN version your guide is for? because i got 5.1.12.0 and can't find the options you tell us to use... I also got Nero, but I don't know if it's the same...

Also, CDRECORD doesn't allow me to open another session on the cd,what could be the trouble?
 

Lord Blackdr

New member
Ok here are some pics

attachment.php


attachment.php


I don't know how many I can post but here's another one :happy:

attachment.php


attachment.php


There we go hope this help any. Thanks again.
 

ominae

New member
hi, i tried selfbootv2 and franxis self boot, after some trial and error i manage to make some boot discs of SoulCalibur (im obsessed with this game), the problem is that i get an IoControl Error after the sega logo and later after the intro and chanka freezes, i tried in 2 brand of cdr, and one cdrw and always the same, with the images i mount in virtual daemon v3.29 i get the same i get with the discs... i cant play it, what is wrong??
i have updated all drivers, im on win xp, everything supposed to be fine..

please somebody know anything about this issue?
 

Lord Blackdr

New member
ominae, When you ran the selfboot program did you get any errors? if you got any errors the program won't make a good dreamcast disk. What you can do is run the program (franxis) and then post all the output.
 

ominae

New member
i receive only one cd with error (i have tried three times).. i will try another one on a cdrw and post the log.

i have read somewhere that those IoControl Errors means that the emulator cant find some files of the game, is that true??? (maybe i have a buggy img with missing files... )my cd (the one that i am making imgs) boots well with utopia on my dreamcast..

thnx in advance everyone, great forum :party:
 

ominae

New member
i've solved the problem with soul calibur and Dead or alive 2 limited edition, both games runs very well now.. it was sooo simple, just use fastboot to hack the boot files and make the cdi for you y listo!, no burned cds in the process.. :bouncy:
 

Skullmonkey

New member
Ok, this is a little strange. I used the new franxis script to make a bootable copy of Dead or Alive 2, but the copy it made was only half the size, ie the original CDR reads 649Mb in winxp pro ( as does the image I made, I'll get to that part soon), but boots and runs in Chanka 2.0a, (it is a little choppy though).

Before I post the output from the franxis script, other factors to know:
I only have a shuttle sn85G4, which means only room for one DVDr drive, so I imaged the DOA2 rip with Alcohol 120% V 1.9.2 Build 1705. This image when mounted was also 650Mb as was the ripped CDR.

I then made the changes to thefranxis scripts for drives, ran it and got this output:

-----------------------------
:: Franxis' DC Selfboot ::
:: Based on Pedro's Script ::
:: Selfboot CD Maker ::
-----------------------------

Setting environment variables...

MAINDIR=H:\DC
WRITER=1,0,0
READERSCSI=4,0,0
READER=F
GAMENAME=DC
CDRSPEED=10

Preparing directories and copying files:
Please Wait....
533 File(s) copied
Could Not Find H:\DC\1ST_READ.BIN
Could Not Find H:\DC\data\dummy.bin


Formatting CDRW (if one is present)

Cdrecord 1.10a04 (i586-pc-cygwin) Copyright (C) 1995-2000 J÷rg Schilling
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Using libscg version 'schily-0.4'
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-107D'
Revision : '1.10'
Device seems to be: Generic mmc2 DVD.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Starting to write CD/DVD at speed 10 in write mode for single session.
Last chance to quit, starting real write in 1 seconds.

Ripping Audio Tracks (If the game has CDDA)

Type: ROM, Vendor 'AXV ' Model 'CD/DVD-ROM ' Revision '2.2a' MMC+CDDA
266240 bytes buffer memory requested, 4 buffers, 27 sectors
#Cdda2wav version 1.9a03_cygwin32_nt_20.1-(0.3-1-1)_i586_i586
DATAtrack recorded copy-permitted tracktype
1- 1 uninterrupted no data
Table of Contents: total tracks:1, (total time 73:59.00)
1.[73:57.00],

Table of Contents: starting sectors
1.( 0), lead-out( 332775)
CDINDEX discid: 5irFm9ROWGG0VmaHf0jT8DNzNC0-
CDDB discid: 0x02115501
CD-Text: not detected
CD-Extra: not detected
This disk has no audio tracks

Burning first session including CDDA Tracks (if there are any)

Cdrecord 1.10a04 (i586-pc-cygwin) Copyright (C) 1995-2000 J÷rg Schilling
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Using libscg version 'schily-0.4'
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-107D'
Revision : '1.10'
Device seems to be: Generic mmc2 DVD.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Starting to write CD/DVD at speed 10 in write mode for multi session.
Last chance to quit, starting real write in 1 seconds.
Track 01: Total bytes read/written: 1415904/1415904 (602 sectors).

Getting MSINFO


MSINFO=12004

Running BINHACK

IP.BIN/1ST_READ.BIN Self-Boot Hacker - Echelon 2000

Enter name of binary: Enter name of bootsector: Enter msinfo value: File 1ST_REA
D.BIN successfully hacked.
File IP.BIN successfully created.

Copying over hacked binary


Inputing MSINFO for creating the data.iso

mkisofs: Warning: -C specified without -M: old session data will not be merged.
9.86% done, estimate finish Fri Jun 18 23:59:30 2004
13.16% done, estimate finish Fri Jun 18 23:59:30 2004
16.44% done, estimate finish Fri Jun 18 23:59:30 2004
19.73% done, estimate finish Fri Jun 18 23:59:40 2004
23.01% done, estimate finish Fri Jun 18 23:59:43 2004
26.29% done, estimate finish Fri Jun 18 23:59:41 2004
29.58% done, estimate finish Fri Jun 18 23:59:43 2004
32.88% done, estimate finish Fri Jun 18 23:59:42 2004
36.16% done, estimate finish Fri Jun 18 23:59:43 2004
39.45% done, estimate finish Fri Jun 18 23:59:42 2004
42.73% done, estimate finish Fri Jun 18 23:59:44 2004
46.02% done, estimate finish Fri Jun 18 23:59:43 2004
49.30% done, estimate finish Fri Jun 18 23:59:42 2004
52.60% done, estimate finish Fri Jun 18 23:59:43 2004
55.88% done, estimate finish Fri Jun 18 23:59:42 2004
59.17% done, estimate finish Fri Jun 18 23:59:41 2004
62.45% done, estimate finish Fri Jun 18 23:59:42 2004
65.74% done, estimate finish Fri Jun 18 23:59:42 2004
69.02% done, estimate finish Fri Jun 18 23:59:43 2004
72.32% done, estimate finish Fri Jun 18 23:59:42 2004
75.60% done, estimate finish Fri Jun 18 23:59:41 2004
78.89% done, estimate finish Fri Jun 18 23:59:42 2004
82.17% done, estimate finish Fri Jun 18 23:59:42 2004
85.46% done, estimate finish Fri Jun 18 23:59:41 2004
88.74% done, estimate finish Fri Jun 18 23:59:42 2004
92.03% done, estimate finish Fri Jun 18 23:59:41 2004
95.32% done, estimate finish Fri Jun 18 23:59:41 2004
98.61% done, estimate finish Fri Jun 18 23:59:41 2004
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 24576
Path table size(bytes): 22
Max brk space used 35000
152131 extents written (297 Mb)
Hacking the data.iso with the IP.BIN

ISO Self-Boot Hacker - Echelon 2000

Enter name of bootsector: Enter name of ISO: File data.iso successfully hacked.

Now writing the data.iso

Cdrecord 1.10a04 (i586-pc-cygwin) Copyright (C) 1995-2000 J÷rg Schilling
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Using libscg version 'schily-0.4'
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-107D'
Revision : '1.10'
Device seems to be: Generic mmc2 DVD.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO
Starting to write CD/DVD at speed 10 in write mode for single session.
Last chance to quit, starting real write in 1 seconds.
Track 02: Total bytes read/written: 286980096/286980096 (140127 sectors).

Deleteing necessary files

Could Not Find H:\DC\audio_*.wav

Ejecting disk

Cdrecord 1.10a04 (i586-pc-cygwin) Copyright (C) 1995-2000 J÷rg Schilling
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Using libscg version 'schily-0.4'
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'PIONEER '
Identifikation : 'DVD-RW DVR-107D'
Revision : '1.10'
Device seems to be: Generic mmc2 DVD.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO

Your selfboot game is complete!

Press any key to continue . . .

Then when I checked the resulting disc it is only 273Mb, almost exactly half the size, this happens to me with the earlier versions of the scripts as well, (although the resulting disc with the earlier versions doesn't work).

So any ideas on this, I know it says that it can't find the dummy.bin file, but that doesn't exist on the original rip disc anyway....

Strange thing is the resulting disc is a bit jumpy, like it hasn't been padded enough, but you shouldn't even need dummy files for the emu should you? As far as I remember, the dummy files were only to make it easier on the GDrom laser assembly.

Looking forward to any input.
 

Skullmonkey

New member
A quick update, I tried the half sized copy of DOA2 in the actual dreamcast and it booted and ran, but the drive seemed to be doing a hell of a lot of searching, so maybe the dummy file had something to do with it afterall?

Still couldn't see one on the original rip it came from though....

Any ideas?
 

TheFreeman

Guardian of Destiny
The dummy files are only needed because CDs/GD-ROMs read faster from the outside than the inside, so the dummy file is used to push the real data to the outer edge of the CD/GD-ROM to speed up the reading of the data for the REAL DREAMCAST. It should not have any effect on Chankast.
 

Statique

New member
I see a lot of people here had problems making self-boot games so I was a little scared to try it, but I've now done two games (Evolution 1 and 2) and they both worked first time. I thought I'd share the method I used with you guys:

1) Download the program called Dir2Boot
2) Inside this is a program called Bin2Boot, ensure it and the rest of the contents of Dir2Boot are all extracted into a folder
3) Go to the command prompt. You can do this by using Run from the Start Menu and typing in cmd and then enter. Alternatively, just double click on the Bin2Boot.exe file in your Dir2Boot\Tools folder
4) Ensure the game that you wish to make self-bootable is in .bin format. If it is not, mount the image with daemon tools then rip it with CDRWin or any other program that can make a .bin image
5) In the Bin2Boot window, type in the path and filename of your .bin file - for example C:\DCISOS\KAL-EVLN.BIN and hit enter
6) Wait a few moments (grab a coffee/coke/beer) and come back. You will now find a .cdi file in your Dir2Boot\Tools folder called image.cdi
7) Mount the image with Daemon Tools/Alcohol and ensure your Chankast is configured (in the Configure Drives menu) to use the correct drive
8) Start your game :)

If you have an image with dummy files in and you want to make the iso smaller, you can do this:

1) Run the cdi2nero.exe in your Dir2Boot\Tools folder
2) Browse to your .cdi image you created
3) Wait for the file to be converted to .nrg
4) Use WinISO or similar and open up the image file and delete the dat then save!

Hope this helps someone!
 

mezkal

Man on a mission
TheFreeman said:
...so the dummy file is used to push the real data to the outer edge of the CD/GD-ROM to speed up the reading of the data for the REAL DREAMCAST.....

I wish people would stop saying that like it's the truth. It's NOT True. You cannot "push" data out to the outer edges. Remember CDs (unlike CD-RW) are ROM (Read Only Memory). You cannot change how session data is allocated. What the "dummy file" really does is create SPACE between readable chunks of data on the CD. Files are written to a CD SEQUENTIALLY (therefore why we have numbered sessions). Those sequential blocks are too closely packed together for the DC's laser reader (and therefore its stepper motor) to keep up with. Therefore in terms of the first Rips such as Crazy Taxi those who burnt them with no dummy file found that data wouldn't load (such as textures and other models) for non player objects (ie everything but you and your car) so it looked WRONG. By adding the dummy file, the time between readable or appropriate data blocks actually passing under the DC's laser reader is decreased (ie time BEFORE next readable block) as it "spaced" (for want of a better term) by blocks of the "dummy file" (which has data that is not relevant to the ripped game).

This is a very simple explanation as many other factors come into effect (the limited 16MB VRAM for example being buffered and that buffer being screwed by bad CD Reads etc) but I hope it clarifies the issue.

Death to Disinformation.

Mezkal
 

kallileo

New member
I have the I/O error in Soul Calibur..
The problem is CD-Rs and the drive or it can be something else???
 

lucindrea

New member
ominae said:
i've solved the problem with soul calibur and Dead or alive 2 limited edition, both games runs very well now.. it was sooo simple, just use fastboot to hack the boot files and make the cdi for you y listo!, no burned cds in the process.. :bouncy:

ohh thats what i was waiting to see posted here ..made no sence to burn a cd just to make an image of it ... gona look into that ( oh , i won an e-bay auction for a BBA ! .. gona stop by eb games tommrow and see what used DC games they got laying around )
 

lucindrea

New member
kallileo said:
Lucindrea what does he mean "fastboot"??????

just an fyi .. when google doesnt turn up the answers you want .. their are other emu fourms that you can search ;-) ngemu dot com is a good place to start
 
OP
Ex0skelet0r

Ex0skelet0r

Unreal Assasin
"Originally Posted by ominae
i've solved the problem with soul calibur and Dead or alive 2 limited edition, both games runs very well now.. it was sooo simple, just use fastboot to hack the boot files and make the cdi for you y listo!, no burned cds in the process.."

For me this doesnt work all the times like my tutorial
 

Top