Difference between revisions of "Dreamcast"

Jump to navigation Jump to search
1,665 bytes added ,  17:46, 19 November 2022
m
DREAMCAST: Restore Linux Script / Information on Getting Valid CD-ROM image burnt for developers - This was lost when information was transferred to user documentation on readthedocs.
(Removes duplicate information, adds a link to the new docs)
m (DREAMCAST: Restore Linux Script / Information on Getting Valid CD-ROM image burnt for developers - This was lost when information was transferred to user documentation on readthedocs.)
 
Line 48: Line 48:


== Developer Information==
== Developer Information==
== Notes on CD mastering ==
Some games (e.g. [[SPY Fox 1: Dry Cereal]]) use filenames which are incompatible with the ISO 9660 filesystem standard.  Because the Dreamcast port does not support filename extensions like RockRidge or Joliet, the CD mastering software needs to be instructed not to mangle the filenames to comply to ISO 9660, or the engine will not be able to open the files.  In the case of <tt>mkisofs</tt>, this can be achieved by using the <tt>-relaxed-filenames</tt> option to allow any ASCII character in filenames, <tt>-d</tt> option to omit trailing periods from filenames with no suffix (violates ISO9660) and <tt>-l</tt> to allow filenames of up to 31 characters in length.  For other authoring software, please consult your user manual.
Since the v1.2.1 release, the combined size of the engine plugins is larger than the available memory and thus a disc including all plugins will not work correctly. Only include the plugins for the engines needed when mastering a CD.
On Linux, the following script should burn a suitable CD from the contents of "cd-image-folder" and IP.BIN, though it may need tweaks depending on the cdrecord version used:
<pre>
#!/bin/sh
dd if=/dev/zero bs=2352 count=300 of=audio.raw
cdrecord dev=/dev/cdrom -multi -audio audio.raw
cdrecord dev=/dev/cdrom -msinfo
# Replace 0,11702 with values from previous command
mkisofs -l -d -relaxed-filenames -C 0,11702 -o tmp.iso cd-image-folder
( cat IP.BIN ; dd if=tmp.iso bs=2048 skip=16 ) > data.raw
# Need to use -xa, NOT -xa1 to ensure that 2048 byte blocks are used. This may vary on different versions of cdrecord
cdrecord dev=/dev/cdrom -multi -xa data.raw
</pre>


=== Running Debug Builds ===
=== Running Debug Builds ===
TrustedUser
574

edits

Navigation menu