Installing games to HD and boot them with ADFFS
Re: Installing games to HD and boot them with ADFFS
Just to ask the question, in terms of ADFSS development, has it moved beyond ROS 3.11 in compatibility now, I'm using 2.20, is this the highest version I can go to?
Re: Installing games to HD and boot them with ADFFS
If an ADF is generating a disk error under ADFFS, it's probably a truncated image and missing the last few sectors.Mikecad wrote:Interestingly when mounting the ADF files for Chocks with ADFFS, trying to launch !Chocks still gives a bad disk error, if I convert them to HFE and mount them in my HXC the game runs fine.
Not sure what you mean with regard to compatibility, are you referring to the games it gets running on the Pi?Mikecad wrote:Just to ask the question, in terms of ADFSS development, has it moved beyond ROS 3.11 in compatibility now, I'm using 2.20, is this the highest version I can go to?
The latest publicly available version is the London Show 2.52 build
Re: Installing games to HD and boot them with ADFFS
In terms of the A3000 running RiscOS 3.11, I'm retro
Re: Installing games to HD and boot them with ADFFS
Still not quite sure what you're asking. ADFFS has always been compatible with RO3.11Mikecad wrote:In terms of the A3000 running RiscOS 3.11, I'm retro
Re: Installing games to HD and boot them with ADFFS
Ah so it's only Pi that has the RISC OS 5.23 requirement and you're maintaining compatibility with the real hardware and their respective OS versions.
Re: Installing games to HD and boot them with ADFFS
As per my post yesterday regarding Page Zero relocation, all machines after IOMD will require a High Vector build of RISCOS for the JIT to work.Mikecad wrote:Ah so it's only Pi that has the RISC OS 5.23 requirement and you're maintaining compatibility with the real hardware and their respective OS versions.
On IOMD, as High Vectors aren't possible, the JIT interprets LDR to trap Page Zero reads and it's obviously not relevant to IOC as the games aren't being managed by ADFFS.
ADFFS is essentially just a floppy emulator on IOC, on IOMD it emulates the IOC chipset and on StrongARM and above it acts as a Hypervisor.
Re: Installing games to HD and boot them with ADFFS
I'm trying to setup a bunch of games in their own application directories following the instructions in this thread, so they can be run simply by double clicking on them. It works fine for single disc games, but any multi disc games get stuck when they want the second disc.
I copied all the jfd files into the directory along with the Obey script from ADFFS, then created a !Run file like this:
ADFMount <Obey$Dir>.Fxxxxxx1/jfd
Obey -c <Obey$Dir>.Fxxxxxx1
Then tried:
Set ADFFS$GameDir <Obey$Dir>
ADFMount <ADFFS$GameDir>.Fxxxxxx1/jfd
Obey -c <ADFFS$GameDir>.Fxxxxxx1
Then tried:
Set ADFFS$GameDir <Obey$Dir>
ADFMount <ADFFS$GameDir>.Fxxxxxx1/jfd
ADFBootFloppy
In all cases when ctrl-shift-F2 is pressed to swap discs, the hourglass briefly flashes up (presumably ADFFS mounting the jfd) but the game just sits there waiting
Yet after pressing ctrl-shift-F12 to exit back to the desktop and selecting Boot Floppy from the ADFFS menu, the disc swap works fine. What am I missing?
ADFFS v2.63
RISC OS 5.23 (19 Jan 2018)
Cannon Fodder is the main game I've been experimenting with, but it's the same on other multi disc games.
Thanks,
Bryan.
I copied all the jfd files into the directory along with the Obey script from ADFFS, then created a !Run file like this:
ADFMount <Obey$Dir>.Fxxxxxx1/jfd
Obey -c <Obey$Dir>.Fxxxxxx1
Then tried:
Set ADFFS$GameDir <Obey$Dir>
ADFMount <ADFFS$GameDir>.Fxxxxxx1/jfd
Obey -c <ADFFS$GameDir>.Fxxxxxx1
Then tried:
Set ADFFS$GameDir <Obey$Dir>
ADFMount <ADFFS$GameDir>.Fxxxxxx1/jfd
ADFBootFloppy
In all cases when ctrl-shift-F2 is pressed to swap discs, the hourglass briefly flashes up (presumably ADFFS mounting the jfd) but the game just sits there waiting
Yet after pressing ctrl-shift-F12 to exit back to the desktop and selecting Boot Floppy from the ADFFS menu, the disc swap works fine. What am I missing?
ADFFS v2.63
RISC OS 5.23 (19 Jan 2018)
Cannon Fodder is the main game I've been experimenting with, but it's the same on other multi disc games.
Thanks,
Bryan.
RISC OS User Group Of London - http://www.rougol.jellybaby.net/
RISC OS London Show - http://www.riscoslondonshow.co.uk/
RISC OS London Show - http://www.riscoslondonshow.co.uk/
Re: Installing games to HD and boot them with ADFFS
Almost certainly a path issue, it's failing to find the second disc. Temporarily comment out the ADFBootFloppy in your second example, run it, drop to the command line and check ADFFS$GameDir is a fully qualified path and not using an unexpanded reference to Obey$Dir.
If it looks good, ensure you can manually swap discs at the desktop. If that works and the path is fully qualified, but it still doesn't work in-game try reserving 900K of floppy buffer via "*ADFReserveMemory 900". If it still fails after that, the game is failing to detect the floppy change...which will be an issue I'd need to look into - incidentally ADFFS forces a "floppy changed" on every disc access to avoid floppy detection issues in-game.
As a general rule of thumb, if a game can only run from floppy, always use your second example of mounting disc 1 and booting via ADFBootFloppy as it will always use the latest boot script - saves manually maintaining it should it be updated between ADFFS releases.
If it looks good, ensure you can manually swap discs at the desktop. If that works and the path is fully qualified, but it still doesn't work in-game try reserving 900K of floppy buffer via "*ADFReserveMemory 900". If it still fails after that, the game is failing to detect the floppy change...which will be an issue I'd need to look into - incidentally ADFFS forces a "floppy changed" on every disc access to avoid floppy detection issues in-game.
As a general rule of thumb, if a game can only run from floppy, always use your second example of mounting disc 1 and booting via ADFBootFloppy as it will always use the latest boot script - saves manually maintaining it should it be updated between ADFFS releases.
Re: Installing games to HD and boot them with ADFFS
Path is fine, fully expanded.JonAbbott wrote: ↑Sun Feb 11, 2018 7:12 am Almost certainly a path issue, it's failing to find the second disc. Temporarily comment out the ADFBootFloppy in your second example, run it, drop to the command line and check ADFFS$GameDir is a fully qualified path and not using an unexpanded reference to Obey$Dir.
After returning to the desktop, disc swap doesn't work. Filer window closes, but on clicking on the ADFFS icon it is still the first disc. Yet after double clicking on the first disc to open it, pressing ctrl-shift-F2 in the desktop works.If it looks good, ensure you can manually swap discs at the desktop.
Thinking about your comment about it being a path issue, I tried putting a Do command in front on the ADFMount, so that the path variables would definitely be expanded first, and now it works
The obey file now boils down to:
Do ADFMount <Obey$Dir>.Fxxxxxxx1/jfd
ADFBootFloppy
Yeah, I realised that once I discovered the ADFBootFloppy command! Probably worth updating the earlier posts in this thread with the "correct" way.always use your second example of mounting disc 1 and booting via ADFBootFloppy as it will always use the latest boot script - saves manually maintaining it should it be updated between ADFFS releases.
Thanks,
Bryan.
RISC OS User Group Of London - http://www.rougol.jellybaby.net/
RISC OS London Show - http://www.riscoslondonshow.co.uk/
RISC OS London Show - http://www.riscoslondonshow.co.uk/
Re: Installing games to HD and boot them with ADFFS
There is no one "correct" way to get a game to run on HD. The general rule of thumb is:
- Look in the boot script for instructions
- For Single disc games, mount and boot the floppy (unless you want to try and preserve high score tables)
- Try copying all the discs to HD and replace !Run
- Try the game's installer and replace !Run
- Mount disc 1 in !Run if it has disc protection
- If all else fails, copy all the floppy images into a folder and mount/boot disc 1