English Amiga Board


Go Back   English Amiga Board > Other Projects > project.SPS (was CAPS)

 
 
Thread Tools
Old 15 April 2012, 13:47   #381
deicidal
Registered Insane
 
deicidal's Avatar
 
Join Date: Feb 2010
Location: Ununited Kingdom
Posts: 792
RISC magazine cover disks in the zone
deicidal is offline  
Old 15 April 2012, 17:12   #382
breach
Banned
 
Join Date: Dec 2011
Location: UK
Posts: 37
[About making a utility to produce APD images on Acorn machines]

Quote:
Originally Posted by Jon Abbott View Post
That is exactly what I'm saying.
Wow, cool! That would be great! It should make a lot more people able to create APD images, which will make them easier to find, and help us preserve more old software.

Quote:
Originally Posted by deicidal View Post
RISC magazine cover disks in the zone
Nice! You found a way to image your discs then?

I'll have a look at them now.
breach is offline  
Old 15 April 2012, 21:24   #383
deicidal
Registered Insane
 
deicidal's Avatar
 
Join Date: Feb 2010
Location: Ununited Kingdom
Posts: 792
Quote:
Originally Posted by breach View Post
[About making a utility to produce APD images on Acorn machines]

Nice! You found a way to image your discs then?

I'll have a look at them now.
Yeh I used the program Prowler recomended and nicked an old laptop from work to read them with.

There was also some miscillaneouse disks as well i can shove those in the zone as well if you want to see if there is anything of value on them.
deicidal is offline  
Old 15 April 2012, 22:27   #384
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Hi deicidal,

Thanks for your uploads.

It's good to hear that you found the 'Arcimg' program(s) useful (That post I linked to earlier was actually my first post on EAB!).

And yes, please upload those miscellaneous disks too, if you can get valid images of them.
prowler is offline  
Old 16 April 2012, 08:52   #385
Jon Abbott
Registered User
 
Join Date: Mar 2012
Location: UK
Posts: 96
Quote:
Originally Posted by breach View Post
[About making a utility to produce APD images on Acorn machines]


Wow, cool! That would be great! It should make a lot more people able to create APD images, which will make them easier to find, and help us preserve more old software.
I need to define a new image format before I can proceed, unfortunately, as it will be reading data from the disc and not raw MFM/FM, APD, IPF etc are not an option. ADF is out as its not sector aware.

Before I dictate yet another image onto the world, I'd like feedback from the community on what they'd like in it. As APD support is almost complete, I'm now starting to look at starting the capture code, my ideas so far for the standard are:

Defined directory structure containing the following:
SOURCE\version - ASCII file containing the game version
SOURCE\desc - ASCII file containing the game description
SOURCE\history - ASCII file containing the game history
SOURCE\instruct - ASCII file containing the game instructions
SOURCE\password - ASCII file containing level passwords (optional)
IMAGE\version - ASCII file containing the disc image version
IMAGE\changelog - ASCII file containing the disc image version changes
IMAGE\desc - ASCII file containing source image related info
ART\COVER\PNG files of cover art. cover1.png being the primary (optional)
ART\MARKET\PNG files of marketing material (optional)
SNAP\PNG files containing screen shots. snap01.png being the primary
ICON\containing a !Sprites RISC OS file and a Windows Icon file
PATCHES\Patches for modern kit/RISC OS - format to be decided (optional)
SECURITY\PNG files containing code wheels or ASCII files containing equivalent (optional)
CHEATS\Cheat files - format to be decided (optional)
DISCS\Multiple disc images for multi-disc games, disc1.? being the primary, containing:
- Track table (a pointer into the sector table)
- Sector table (with size, density, data CRC, sector no, pointer into the data)
- Data
- Delta changes to allow read/write as some games save data back to the disc

These files will be wrapped into one file and deflated with ZLib. The wrapper file could be an IFF style or ZIP for flexibility.

So far I've disappointingly had zero responses.

Last edited by Jon Abbott; 16 April 2012 at 19:19. Reason: Added ICON directory
Jon Abbott is offline  
Old 16 April 2012, 09:44   #386
breach
Banned
 
Join Date: Dec 2011
Location: UK
Posts: 37
Ah, you want to make a format that contains a lot more than just the disc image?

I don't really understand why APD is not good enough for the disc image portion. I thought it was flexible enough to cover all known protection methods?

A ZIP wrapper, with defined directory structure & filenames sounds best to me. That way it's very easy to update with new material.
breach is offline  
Old 16 April 2012, 13:24   #387
Jon Abbott
Registered User
 
Join Date: Mar 2012
Location: UK
Posts: 96
Quote:
Originally Posted by breach View Post
Ah, you want to make a format that contains a lot more than just the disc image?

I don't really understand why APD is not good enough for the disc image portion. I thought it was flexible enough to cover all known protection methods?
I want to do away with the need for a FDC emulator, this greatly simplifies implementing the standard into emulators. Currently, every emulator would have to implement it's own variation on a 1772 / 82C710 / 82C711.

Discs that are not FDC agnostic (eg Fire & Ice) currently wont work on a 1772 emulator, but the problem goes away if we're not emulating the FDC. I don't know how many other discs this affects.

By doing away with the FDC emulator, you also do away with the need to decode FM/MFM into raw before passing it to the OS, which speeds up disc image loading greatly. ADFFS is taking around 15 secs on a 33MHz CPU.

The final nail in the coffin for storing FM/MFM data is that you can't read it from the floppy on an Arc, so if I'm going to code a disc imager, we don't really want to have try to reconstruct the FM/MFM to only have to decode it back again at load time.
Quote:
Originally Posted by breach View Post
A ZIP wrapper, with defined directory structure & filenames sounds best to me. That way it's very easy to update with new material.
Agree, directories are a good idea to keep it tidy and makes extending easier. I'll add that to the spec.

Last edited by Jon Abbott; 16 April 2012 at 15:33. Reason: Typo
Jon Abbott is offline  
Old 16 April 2012, 15:54   #388
breach
Banned
 
Join Date: Dec 2011
Location: UK
Posts: 37
Ah, I understand! A simpler format for protected discs would be great, as would being able to produce them on Acorn machines.

An APD --> [new simplified format] converter would be useful, to avoid the performance overheads with existing APDs.
breach is offline  
Old 16 April 2012, 17:45   #389
Jon Abbott
Registered User
 
Join Date: Mar 2012
Location: UK
Posts: 96
Quote:
Originally Posted by breach View Post
An APD --> [new simplified format] converter would be useful, to avoid the performance overheads with existing APDs.
Already coded on the Arc. As I have to decode them at runtime, I coded the whole thing as a standalone package, which saves the end result for testing. It just needs modifying to match the structure, once we fix the new standard.
Jon Abbott is offline  
Old 16 April 2012, 18:04   #390
jms2
 
Posts: n/a
Jon,

As you've had so few replies about the new data format, I thought I should make a post to register my enthusiasm for what you're doing. Its really superb and I do appreciate it, but what has been holding me back from commenting is an underlying lack of confidence that I understand all the technical issues involved, and and the fact that I've not actually had time to try out ADFFS as yet. However, here goes...

1) Your proposed format containing metadata looks similar to the "UEF" format used quite extensively for BBC micro tape images. There is no particular reason that I can think of why you'd need to use the UEF format, but it might give you some ideas.

2) A key issue for me (and I assume everyone else) is how to transfer disk images onto a real machine. I can only use DOS 720k floppies, so the image has to be smaller than this.

3) The alternative approach, presumably, would be to crack the protection on these games and release unprotected images. This was certainly done back in the day although the cracked images don't seem to be in circulation any longer. Would cracking all the APD games be any easier that the approach you are suggesting?
 
Old 16 April 2012, 19:09   #391
Jon Abbott
Registered User
 
Join Date: Mar 2012
Location: UK
Posts: 96
Quote:
Originally Posted by jms2 View Post
1) Your proposed format containing metadata looks similar to the "UEF" format used quite extensively for BBC micro tape images. There is no particular reason that I can think of why you'd need to use the UEF format, but it might give you some ideas.
I'll look it up for ideas.
Quote:
Originally Posted by jms2 View Post
2) A key issue for me (and I assume everyone else) is how to transfer disk images onto a real machine. I can only use DOS 720k floppies, so the image has to be smaller than this.
I networked my RISC PC specifically for this project, but I can see that's not always going to be possible. How do people do it currently? Floppy isn't going to be a realistic option for much longer, another alternative is via RS232 if networking isn't available. Has anyone written an free RS232 based Filesystem for the Arc? I've seen a commercial package.

As an HD is a requirement for ADFFS, I don't think file size itself is going to be an issue - just transferring it across. Sounds like we need to add a PC<>Arc transfer package to the list of actions if we can't find an open source one.
Quote:
Originally Posted by jms2 View Post
3) The alternative approach, presumably, would be to crack the protection on these games and release unprotected images. This was certainly done back in the day although the cracked images don't seem to be in circulation any longer. Would cracking all the APD games be any easier that the approach you are suggesting?
This isn't an option, the idea is to preserve the software with protection intact and get it working on RISC OS 3.1 minimum, RISC OS 3.7 preferably.
Jon Abbott is offline  
Old 16 April 2012, 23:06   #392
jms2
 
Posts: n/a
I've just tried ADFFS v1.21 on my A420/1 with Risc OS 3.1. It all works superbly, and I note that in reality the APD files are considerably smaller than 720k so the transfer issue is not that serious.

I did come across some minor problems though which I thought you would want to know about.

1) I tried Drop Ship and, whilst it worked, I immediately ran into the multi disc issue that other posters have referred to.
2) I then tried The Last Ninja. ADFFS seemed to work perfectly but the game did not run. Instead it reported "Cannot move memory". I wonder if there is simply something missing from the image.
3) The command *ADF does not seem to exist, so ADFFS can't be used from the command line.
 
Old 17 April 2012, 00:10   #393
Jon Abbott
Registered User
 
Join Date: Mar 2012
Location: UK
Posts: 96
Quote:
Originally Posted by jms2 View Post
1) I tried Drop Ship and, whilst it worked, I immediately ran into the multi disc issue that other posters have referred to.
I'm coding the multi-disc support as we speak. Was hoping to have it up today, but having a few issues with the IRQ handler.
Quote:
Originally Posted by jms2 View Post
2) I then tried The Last Ninja. ADFFS seemed to work perfectly but the game did not run. Instead it reported "Cannot move memory". I wonder if there is simply something missing from the image.
Read the "Game specific issues" on http://www.iconbar.com/forums/viewth...&page=3#119907, sounds like the Last Ninja fix needs applying to RO 3.1 as well.
Quote:
Originally Posted by jms2 View Post
3) The command *ADF does not seem to exist, so ADFFS can't be used from the command line.
Use *DIR adfs::0.$ instead. Versions of ADFFS above 1.02 take over :0 when a floppy is mounted.
Jon Abbott is offline  
Old 17 April 2012, 00:31   #394
antom
Registered User
 
Join Date: Feb 2009
Location: Leeds, UK
Posts: 24
Firstly, a tip for anyone struggling to transfer disc images via 720k DOS floppy - there's an app out there for Risc OS called Chopper that's freeware and available from the APDL website.

Secondly, there's a few different types of copy protection I'm aware of from games I own/have in the past as follows:

4D - usual module based affair that you're probably familiar with, so won't go further than that.

Krysalis - Some games such as Sim City have a WIMP-based copy protection pop-up on loading. From what I remember, the game runs but in the case of Sim City the rate of disaster incidences is multiplied to try and make it as unplayable as possible! Or that was the intention, at least... possibly used on some GamesWare/Software 42 releases (Xenon II I seem to recall).

In fact, Raw Power by S42 had an interesting one where apparently the buyer is asked for their details and this is written to the key disc somewhere, presumably to trace the origin of any copies floating about. Unsure if this would affect loading/gameplay.

Other than that, it's the usual bad sector/track on the disc that need to be read as a "fail" in order for the game to boot.

Finally, some suggestions regarding your proposed image format:

Quote:
CHEATS\Cheat files - format to be decided (optional)
For this if possible I'd suggest either ASCII for text-based cheats (although that could be covered by the proposed password section - also, wouldn't this need to be unlimited for, as an example, a full walkthrough/guide) or possibly a separate partition or zip/archive containing Risc OS format files for cheating (would be nice to keep them separate from the original where possible so things are kept in an "as-released" format, plus there's plenty of formats to consider - BASIC mods for save games, modules created from The Hacker/Games Wizard, draw files for maps etc)

Also it would be great to have fields for author, distributor, year of release, genre and possibly cover art? Know I'm starting to ask a lot to cram into the file now!

Also, I know said I'd post some files up to the Zone the other week - I'll get around to this ASAP!
antom is offline  
Old 17 April 2012, 10:10   #395
breach
Banned
 
Join Date: Dec 2011
Location: UK
Posts: 37
Quote:
Originally Posted by Jon Abbott View Post
Already coded on the Arc. As I have to decode them at runtime, I coded the whole thing as a standalone package, which saves the end result for testing. It just needs modifying to match the structure, once we fix the new standard.
Great! That will give the new format a head start in terms of games available for it.

Quote:
Originally Posted by jms2 View Post
2) A key issue for me (and I assume everyone else) is how to transfer disk images onto a real machine. I can only use DOS 720k floppies, so the image has to be smaller than this.
If the new images get too big for transferring to actual hardware via floppy disc, I think that would be a good reason for the new format to be basically a ZIP file. That way, if the software image is too big due to cover art and manual scans, then it should be possible to open up the ZIP file, and take a copy of just the disc image part, for transferring.

Quote:
Originally Posted by Jon Abbott View Post
I'm coding the multi-disc support as we speak. Was hoping to have it up today, but having a few issues with the IRQ handler.
How will the changing of discs be handled from a user's POV? Some key combination?

Quote:
Originally Posted by antom View Post
Also, I know said I'd post some files up to the Zone the other week - I'll get around to this ASAP!
Cool. Are they APD format? Or all unprotected software?
breach is offline  
Old 17 April 2012, 15:53   #396
Jon Abbott
Registered User
 
Join Date: Mar 2012
Location: UK
Posts: 96
ADFFS 1.22 now available with multi-disc support. See the thread on The Icon Bar for the caveats.
Quote:
Originally Posted by antom View Post
I'd suggest either ASCII for text-based cheats (although that could be covered by the proposed password section - also, wouldn't this need to be unlimited for, as an example, a full walkthrough/guide) or possibly a separate partition or zip/archive containing Risc OS format files for cheating (would be nice to keep them separate from the original where possible so things are kept in an "as-released" format, plus there's plenty of formats to consider - BASIC mods for save games, modules created from The Hacker/Games Wizard, draw files for maps etc)
That area can be unlimited. For the game cheats it will need to support RISC OS files, I haven't yet decided if they should be in compressed form or another image file. Definitely separate though, as the disk image needs to remain a vanilla snapshot.
Quote:
Originally Posted by antom View Post
Also it would be great to have fields for author, distributor, year of release, genre and possibly cover art? Know I'm starting to ask a lot to cram into the file now!
I agree, to save clutter the "desc" file should probably have some standard format to contain such information. ie XML or similar.
Quote:
Originally Posted by breach View Post
If the new images get too big for transferring to actual hardware via floppy disc, I think that would be a good reason for the new format to be basically a ZIP file. That way, if the software image is too big due to cover art and manual scans, then it should be possible to open up the ZIP file, and take a copy of just the disc image part, for transferring.
Sounds sensible to me.
Quote:
Originally Posted by breach View Post
How will the changing of discs be handled from a user's POV? Some key combination?
You guessed it...currently Ctrl-Shift-F1 to F9
Jon Abbott is offline  
Old 17 April 2012, 20:55   #397
deicidal
Registered Insane
 
deicidal's Avatar
 
Join Date: Feb 2010
Location: Ununited Kingdom
Posts: 792
Other miscellaneouse disks uploaded to the zone, just have a bit of caution i dont know if it was me bug one of them buggered up archulator so i wouldnt want anyone messing up a nice setup. Let me know if you find anything interesting
deicidal is offline  
Old 17 April 2012, 22:54   #398
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Quote:
Originally Posted by deicidal View Post
Other miscellaneouse disks uploaded to the zone...
Thanks, mate. I'll check them when I get a chance.

Edit: A few of them look almost empty from the packed size.

Last edited by prowler; 17 April 2012 at 23:05.
prowler is offline  
Old 18 April 2012, 00:29   #399
antom
Registered User
 
Join Date: Feb 2009
Location: Leeds, UK
Posts: 24
Quote:
Originally Posted by breach View Post
Cool. Are they APD format? Or all unprotected software?
All in ADF format using !DImager - some of the games state that they're copy protected but an image was created fine, so I'm not sure if there'd be any gameplay-affecting routines in there. Ideally the key discs would be in APD/Jon's proposed format, but can always redo these as things develop (don't have the hardware for the other methods at present).

I need to sort stuff out still with them still before uploading (and remember where I've saved them! )
antom is offline  
Old 18 April 2012, 08:09   #400
jms2
 
Posts: n/a
I have tried out v1.22, plus the tweak to The Last Ninja and all is working fine now!

Just out of interest, why does the Setup file need to be commented out? If ADFFS is correctly emulating the protected disc, surely any kind of protection mechanism ought to still work?

Quote:
Firstly, a tip for anyone struggling to transfer disc images via 720k DOS floppy - there's an app out there for Risc OS called Chopper that's freeware and available from the APDL website.
The Chopper utility (including its DOS-based components for splitting the files) looks excellent (especially for full size 800k ADFs) - thanks!

Serious comment - I reckon ADFFS is the most significant piece of new Risc OS software for years. There hasn't much competition for a long time so you'd have to go back to the 1990s to find anything as innovative and useful. Well done Jon.
 
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost Computers - The Acorn Archimedes Bloodwych Retrogaming General Discussion 123 02 November 2023 18:15
What is the best Acorn Archimedes Model mfletcher Retrogaming General Discussion 40 17 July 2017 21:53
Acorn A7000 Archimedes- any good? mjnurney Retrogaming General Discussion 45 09 December 2012 00:54
Last Ninja Acorn Archimedes longplay laffer Retrogaming General Discussion 25 05 July 2011 18:03
Acorn Archimedes? SilentBob Nostalgia & memories 36 02 March 2010 08:51

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 22:42.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.12120 seconds with 14 queries