Saving Games (Minimig / ADF File)

Stahlmotte
Posts: 3
Joined: Sun Jul 26, 2020 12:02 pm

Saving Games (Minimig / ADF File)

Unread post by Stahlmotte »

Hello,

most probably a noob question. Nevertheless, i was not able to find an answer / figure it out:

Just startet my journey with Mister and installed some ADF-Files. I am strugelling with saving the game. For example Dungeon Master is asking for an Save Disk / an empty disk. How can i creaty such a disk? Do i have to prepare an "Empty" ADF File? And if yes, how.

Thanks in advance!!

Alex
KnC
Posts: 107
Joined: Sun May 24, 2020 6:47 pm
Been thanked: 15 times

Re: Saving Games (Minimig / ADF File)

Unread post by KnC »

can use winuae to make blank hdd's and disk's
or use this one i just made in winuae just make a copy of it so you always have a blank available
Blank.7z
Blank adf
(392 Bytes) Downloaded 405 times
Stahlmotte
Posts: 3
Joined: Sun Jul 26, 2020 12:02 pm

Re: Saving Games (Minimig / ADF File)

Unread post by Stahlmotte »

Many Thanks.

I totally missed your answer! Will try on the weekend. Anyways sounds easy enough. *g*
Washac
Posts: 60
Joined: Mon May 25, 2020 5:55 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Saving Games (Minimig / ADF File)

Unread post by Washac »

Stahlmotte wrote: Tue Aug 11, 2020 12:19 pm Many Thanks.

I totally missed your answer! Will try on the weekend. Anyways sounds easy enough. *g*
Did the Dungeon Master save work using the blank adf, and if so did you have it in a designated drive ready to go or put it in
a designated drive when asked for ?
Stahlmotte
Posts: 3
Joined: Sun Jul 26, 2020 12:02 pm

Re: Saving Games (Minimig / ADF File)

Unread post by Stahlmotte »

Washac wrote: Wed Aug 12, 2020 9:11 am
Stahlmotte wrote: Tue Aug 11, 2020 12:19 pm Many Thanks.

I totally missed your answer! Will try on the weekend. Anyways sounds easy enough. *g*
Did the Dungeon Master save work using the blank adf, and if so did you have it in a designated drive ready to go or put it in
a designated drive when asked for ?
Works like a charm! Blank Disk in DF1. In the Dungeon Master menu you have to format the disk first. After that you can save. Just tried it. Loaded without any problem. :P
Washac
Posts: 60
Joined: Mon May 25, 2020 5:55 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Saving Games (Minimig / ADF File)

Unread post by Washac »

Stahlmotte wrote: Wed Aug 12, 2020 6:20 pm
Washac wrote: Wed Aug 12, 2020 9:11 am
Stahlmotte wrote: Tue Aug 11, 2020 12:19 pm Many Thanks.

I totally missed your answer! Will try on the weekend. Anyways sounds easy enough. *g*
Did the Dungeon Master save work using the blank adf, and if so did you have it in a designated drive ready to go or put it in
a designated drive when asked for ?
Works like a charm! Blank Disk in DF1. In the Dungeon Master menu you have to format the disk first. After that you can save. Just tried it. Loaded without any problem. :P
Thanks for that :)
beardeth69
Posts: 4
Joined: Wed Jun 17, 2020 4:17 am
Has thanked: 1 time

Re: Saving Games (Minimig / ADF File)

Unread post by beardeth69 »

Has anyone tried to save in Cannon Fodder? Like Dungeon Master, I think you have to format the disk first. But, I get an error code in the MiSTer menu when I try. I've tried using a few different blank .adf files including the one posted above to no avail.
rhester72
Top Contributor
Posts: 1117
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 13 times
Been thanked: 171 times

Re: Saving Games (Minimig / ADF File)

Unread post by rhester72 »

What 'error code in the MiSTer menu'? Can we see a screenshot?
beardeth69
Posts: 4
Joined: Wed Jun 17, 2020 4:17 am
Has thanked: 1 time

Re: Saving Games (Minimig / ADF File)

Unread post by beardeth69 »

rhester72 wrote: Fri Aug 14, 2020 12:39 am What 'error code in the MiSTer menu'? Can we see a screenshot?
Sure thing! Apologies for the crude screenshot. MiSTer screenshots don't capture menu elements as far as I know.

IMG_20200813_200812copy.jpg
IMG_20200813_200812copy.jpg (180.17 KiB) Viewed 7287 times
robinsonb5
Posts: 129
Joined: Fri Jun 19, 2020 8:54 pm
Has thanked: 13 times
Been thanked: 57 times

Re: Saving Games (Minimig / ADF File)

Unread post by robinsonb5 »

beardeth69 wrote: Thu Aug 13, 2020 9:21 pm Has anyone tried to save in Cannon Fodder? Like Dungeon Master, I think you have to format the disk first. But, I get an error code in the MiSTer menu when I try. I've tried using a few different blank .adf files including the one posted above to no avail.
Cannon Fodder's a special case - it uses a custom disk format for its save disks which isn't compatible with standard ADF format - hence the error 22. WinUAE can save scores but only using an Extended ADF format savedisk. (Also I think 1 meg of Chip is required to use the game's internal disk formatting routine.)
rhester72
Top Contributor
Posts: 1117
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 13 times
Been thanked: 171 times

Re: Saving Games (Minimig / ADF File)

Unread post by rhester72 »

Pretty sure you should be able to create the extended ADF in WinUAE and then bring it over to MiSTer
beardeth69
Posts: 4
Joined: Wed Jun 17, 2020 4:17 am
Has thanked: 1 time

Re: Saving Games (Minimig / ADF File)

Unread post by beardeth69 »

Thanks for your help! I was able to confirm it works in WinUAE using an extended .adf formatted disk. MiSTer just isn't having it. I'm not sure if MiSTer doesn't support the extended format or if Cannon Fodder's routines are just that atypical. I guess I'll just have to play it elsewhere or accept that I'll never beat it haha. Thanks again!
robinsonb5
Posts: 129
Joined: Fri Jun 19, 2020 8:54 pm
Has thanked: 13 times
Been thanked: 57 times

Re: Saving Games (Minimig / ADF File)

Unread post by robinsonb5 »

beardeth69 wrote: Sat Aug 15, 2020 3:47 am Thanks for your help! I was able to confirm it works in WinUAE using an extended .adf formatted disk. MiSTer just isn't having it. I'm not sure if MiSTer doesn't support the extended format or if Cannon Fodder's routines are just that atypical.
As far as I know, none of the Minimig variants supports Extended ADFs yet. Normal Amiga formatted disks (whether or not they use an Amiga filesystem) have a standard structure after the sync word - starting with a 0xff byte, then the track number, the sector number, the number of sectors to the gap, then some unused sector label data. None of this is stored in the ADF, but it's generated on the fly when reading, and its used as a sanity check and to identify sectors in the datastream when writing to the ADF.

Cannon Fodder's save disk doesn't conform to this format, so the firmware throws an error because it can't identify the sectors within the game's save data, and so can't tell which part of the ADF it should be saved to.
rhester72
Top Contributor
Posts: 1117
Joined: Thu Jun 11, 2020 2:31 am
Has thanked: 13 times
Been thanked: 171 times

Re: Saving Games (Minimig / ADF File)

Unread post by rhester72 »

Just thought of something - perhaps saving from within a WHDLoad install of Cannon Fodder would work?
robinsonb5
Posts: 129
Joined: Fri Jun 19, 2020 8:54 pm
Has thanked: 13 times
Been thanked: 57 times

Re: Saving Games (Minimig / ADF File)

Unread post by robinsonb5 »

rhester72 wrote: Sat Aug 15, 2020 5:48 pm Just thought of something - perhaps saving from within a WHDLoad install of Cannon Fodder would work?
I haven't tried it myself, but in theory that should sidestep the problem quite nicely.
beardeth69
Posts: 4
Joined: Wed Jun 17, 2020 4:17 am
Has thanked: 1 time

Re: Saving Games (Minimig / ADF File)

Unread post by beardeth69 »

robinsonb5 wrote: Sat Aug 15, 2020 12:15 pm

As far as I know, none of the Minimig variants supports Extended ADFs yet. Normal Amiga formatted disks (whether or not they use an Amiga filesystem) have a standard structure after the sync word - starting with a 0xff byte, then the track number, the sector number, the number of sectors to the gap, then some unused sector label data. None of this is stored in the ADF, but it's generated on the fly when reading, and its used as a sanity check and to identify sectors in the datastream when writing to the ADF.

Cannon Fodder's save disk doesn't conform to this format, so the firmware throws an error because it can't identify the sectors within the game's save data, and so can't tell which part of the ADF it should be saved to.
Thanks a lot for the detailed explanation! I'm new to the Amiga scene, so that helps a ton. I haven't ventured into the realm of WHDLoad yet, but it sounds like it might be worth it.
Post Reply