Page 1 of 1

CDFaker 1.06

Posted: Fri Oct 13, 2023
by JonAbbott
CDFaker is now ARMv7 compliant and has been extended to support BIN/CUE files and RedBook CD-Audio. Manually run !CDFaker as needed, or load in PreDesk if you want the CDFSFiler audio player to work. Ensure you have at least one CDROM configured.

ISOImage (DF6) and CUE (A79) filetypes are associated with CDFaker, simply double-click them to mount the CD image. Games that support CD-Audio should play CD-Audio once a BIN/CUE image of the CD has been created with suitable software via Windows, Linux or Mac.

CDFaker has two *Configure options to set the size of the CD-Audio buffer and read ahead:

CDFakerAudioBuffer <sectors>
CDFakerAudioReadAhead <sectors>


Where <sectors> is the number of CD-Audio sectors to read. There are 75 sectors/second, 1 second of audio being 150Kb. By default the buffer is ~2 seconds of audio (156 sectors) and read ahead is ~1/3 second (26 sectors.)

Note that SharedSound is required for CD-Audio support, which can be obtained from the ROOL System resources download.

By default CDFaker allocates the first free SCSI ID on card 3, this can be changed in !Run by modifying the relevant environment variable.

Games with CD-Audio

F10016 Ankh: The Tales of Mystery (1998) (R-Comp Interactive)
F10193 Heroes of Might and Magic 2: The Succession Wars (2000) (R-Comp Interactive)
F10194 Heroes of Might and Magic 2: The Price of Loyalty (2000) (R-Comp Interactive)
F10295 Quake Resurrection (2000) (R-Comp Interactive)
F10190 Towers of Darkness – Heretic, Hexen & Beyond (1999) (R-Comp Interactive)

Changes since 1.05
  • CD_ReadData, CD_ReadSubChannel, CD_DiscUsed, CD_PlayAudio were returning an invalid error pointer

Re: CDFaker 1.06

Posted: Wed Jun 12, 2024
by IanJeffray
I've got this to work on the A9 Home (RISC OS 4.42) by pinching the "CDDriver" module from the RISC OS 5.30 ROM ;) Without this, CDFaker errors out with "Unknown SWI &4160" which is CD_Register. Perhaps the !Run should check for CDDriver being present?

Re: CDFaker 1.06

Posted: Fri Jun 14, 2024
by JonAbbott
IanJeffray wrote: Wed Jun 12, 2024 I've got this to work on the A9 Home (RISC OS 4.42) by pinching the "CDDriver" module from the RISC OS 5.30 ROM ;)
I'll look at bundling CDDriver with the package and auto-load an appropriate version if required.

Re: CDFaker 1.06

Posted: Thu Sep 19, 2024
by Mikecad
With no CDROM drive in my A3010, is there an easy method to add a driver in order that CDFaker can function and browse ISO files?

Re: CDFaker 1.06

Posted: Thu Sep 19, 2024
by JonAbbott
This thread on Stardot is probably what you're after.

Re: CDFaker 1.06

Posted: Thu Sep 19, 2024
by Mikecad
I did try loading the CDFS module (CDFSPower) but get an SWI &41260 error.

Re: CDFaker 1.06

Posted: Fri Sep 20, 2024
by JonAbbott
Mikecad wrote: Thu Sep 19, 2024 I did try loading the CDFS module (CDFSPower) but get an SWI &41260 error.
You need to load a copy of the CDFS Module. I’m unsure what CDFSPower is, but it’s not CDFS going by the missing SWI (CD_Register)

Re: CDFaker 1.06

Posted: Fri Sep 20, 2024
by Mikecad
Thanks Jon, I found Eesox_ATAPI and pulled the SSound module in. Now I can open ISO's :)