22 April 2023, 20:36 | #541 |
Amigaholic
Join Date: Dec 2009
Location: UK
Posts: 4,757
|
I tested the disk by dumping it with my Kryoflux and it decodes in disk-utilities without any error, so it seems to verify the IPF was written to disk OK?
|
23 April 2023, 00:00 | #542 |
Zone Friend
Join Date: Nov 2005
Location: Italy
Posts: 140
|
keirf disk-utilities 2023-04-22 git f02c928
Cleanup - moved apidya format to chw and renamed and modified to support Mr Nutz, Turrican 3 and Apidya. Removed Eliminator as it is covered by chw. Removed Turrican III from factor 5 Last edited by acd2001; 23 April 2023 at 00:57. |
23 April 2023, 00:10 | #543 |
Amigaholic
Join Date: Dec 2009
Location: UK
Posts: 4,757
|
|
23 April 2023, 00:17 | #544 | |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
Quote:
Code:
tbuf_bits(tbuf, SPEED_AVG, bc_raw, 16, 0x5224); tbuf_bits(tbuf, SPEED_AVG, bc_raw, 16, 0x44a9); tbuf_weak(tbuf, 8); tbuf_bits(tbuf, SPEED_AVG, bc_raw, 16, 0x4000); tbuf_bits(tbuf, SPEED_AVG, bc_raw, 32, 0x00011484); tbuf_weak(tbuf, 16); tbuf_weak(tbuf, 8); tbuf_bits(tbuf, SPEED_AVG, bc_raw, 16, 0x1128); Code:
150/950: 522444a9 8642e608 0c85cc11 190b9823 32173047 44a94489 44a944a9 44a92aaa 150/950: 522444a9 642e608f c85cc11f 90b9823e 2173047c 44a94489 44a944a9 44a92aaa 150/950: 522444a9 42e608f9 85cc11f2 0b9823e5 173047cb 44a94489 44a944a9 44a92aaa 150/950: 522444a9 2e608f97 5cc11f2e b9823e5d 73047cbb 44a94489 44a944a9 44a92aaa Code:
tbuf_bits(tbuf, SPEED_AVG, bc_raw, 32, 0x522444a9); tbuf_weak(tbuf, 64); I will also add that the gap between weak region and 4489 sync, written by disk-analyse, doesn't seem to exist in the official IPF. However, if the game loader accepts it, it's a good idea! It will work on a wider range of drives this way. Over to Abaddon |
|
23 April 2023, 00:21 | #545 | |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
Quote:
|
|
23 April 2023, 00:32 | #546 | |
Registered User
Join Date: Apr 2010
Location: Chicago/USA
Age: 55
Posts: 657
|
Quote:
Excerpt from the protection reads HTML Code:
00002374 4001 4000 0001 1404 4041 0001 4001 1100 @.@.....@A..@... 00002384 1445 4000 0001 1404 1115 5115 4455 1100 .E@.......Q.DU.. 00002394 4451 4000 0001 1404 5151 1141 4501 1100 DQ@.....QQ.AE... 000023A4 4115 4000 0001 1404 1155 0455 5155 1100 A.@......U.UQU.. I will modify the code to what you suggested and run a test. UPDATE: I have implemented Keir's suggestions and have test the game via winuae from start to finish. I just merged the changes. Last edited by Abaddon; 23 April 2023 at 02:28. |
|
23 April 2023, 00:57 | #547 |
Zone Friend
Join Date: Nov 2005
Location: Italy
Posts: 140
|
keirf disk-utilities 2023-04-23 git 8713373
Updated the Leavin' Teramis protection with Keir's suggestions Last edited by acd2001; 23 April 2023 at 20:11. |
23 April 2023, 10:56 | #548 | |
Registered User
Join Date: Apr 2022
Location: Australia
Age: 52
Posts: 883
|
Quote:
|
|
23 April 2023, 11:14 | #549 | |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
Quote:
This will help indicate if the problem is one of compatibility versus the anco/kingsoft analyser in disk-utilities needing tweaks. |
|
23 April 2023, 12:29 | #550 |
Registered User
Join Date: Apr 2022
Location: Australia
Age: 52
Posts: 883
|
Demolition #2712 and Phalanx #2708 both run in WinUAE. Writing them to disk with the GW isn't successful. I have to turn off verify as it can't verify protection track 80.0 on either game and both games when run, error at startup with Wait for disk activity to finish and Software Error Finish Task etc.
|
23 April 2023, 14:01 | #551 | |
Registered User
Join Date: Apr 2010
Location: Chicago/USA
Age: 55
Posts: 657
|
Quote:
|
|
23 April 2023, 14:12 | #552 | |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
Quote:
Failure to write the official IPFs to disk using GW is my domain and I will investigate that one. I aim to support writeback of any official IPF. |
|
23 April 2023, 14:38 | #553 |
Amigaholic
Join Date: Dec 2009
Location: UK
Posts: 4,757
|
I'm testing the new Leavin Teramis build now on my A500, will let you know in due course what happens!
*UPDATE* Just used the updated disk-utilities with Keirs/Abaddons changes and using my dump of Leavin' Teramis from the Thalion First Year Compilation the IPF writes back fine to disk with my Greaseweazle and it loads and lets me play now on my A500 Ran out of time on the first level boss though Last edited by BarryB; 23 April 2023 at 15:20. |
23 April 2023, 15:04 | #554 | |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
Quote:
Mainly for Abaddon: IPF #2012 vs Disk-Utilities analyser: Firstly, the IPF has Anco/Kingsoft protection on T80.0, and some variant with weak bits on T80.1. I'm not sure whether the latter relates directly to "anco_kingsoft_weak_protection" in disk-utilities because the layout written by that analyser does not correspond to what's in the IPF. To be precise, in the IPF, T80.1 looks rather like normal Anco/Kingsoft protection sector (13 decoded bytes) followed by 5 weak bytes. The problem could be that more Anco/Kingsoft titles have weak bytes on T80.1 than suggested in the disk-analyse/formats file. And that the weak area would be better represented by replacing: Code:
tbuf_bits(tbuf, SPEED_AVG, bc_raw, 8, dat[1] >> 8); tbuf_weak(tbuf, 8); Code:
tbuf_bits(tbuf, SPEED_AVG, bc_raw, 16, dat[1]); tbuf_weak(tbuf, 5*8); For you: Regarding writeback of IPF #2012 using GW: Regarding writeback of SPS IPF #2012 using Gresaeweazle, the problem is that the hidden key value is not valid MFM. Hence, especially on a dense inner track like 80.0, it is easy for the illegal adjacent bitcells to shift apart during write. The workaround for this is to specify write precompensation during the write, as this will write the illegal bitcells closer together to "precompensate" for their natural tendency to spread apart. See https://github.com/keirf/greaseweazl...recompensation Note that GW by default applies no precomp. It is hard to set a default value as it does depend on disk and drive to a large extent. However on Amiga, a sensible default would be to always add this to your "gw write" command line: Code:
--precomp=40=125:80=250 |
|
23 April 2023, 15:17 | #555 | |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
Quote:
I'm not sure if precomp helps so much on this one: Just as likely is that weak bits are fussy about the drive. Possibly KF writes some different weak pattern, but I do know that the GW methods seems to work okay with any drives I tested. EDIT: Also worth hard erasing your floppy disk first with a strong magnet. EDIT2: Please use the '--precomp' line always. It will help! Sometimes even stronger precomp medicine is required (eg. across all tracks) |
|
23 April 2023, 15:45 | #556 |
Amigaholic
Join Date: Dec 2009
Location: UK
Posts: 4,757
|
The new updated decoder seems ok now for my dump as per my update.
Just tried the official IPF with your precomp settings and it guru'd on the Ram Disk screen? Just tried another disk (the one that my KF wrote and worked) and it loads this time, so the even though the disk wrote back OK my A500 didn't like it but another disk works fine! |
23 April 2023, 20:11 | #557 |
Zone Friend
Join Date: Nov 2005
Location: Italy
Posts: 140
|
keirf disk-utilities 2023-04-23 git 8710eb6
thalion: Clean up 44A9 handling -> A1 with normal encoding. No semantic changes are intended. Last edited by acd2001; 06 May 2023 at 16:45. |
23 April 2023, 20:44 | #558 |
Amigaholic
Join Date: Dec 2009
Location: UK
Posts: 4,757
|
|
23 April 2023, 23:03 | #559 | |
Registered User
Join Date: Apr 2010
Location: Chicago/USA
Age: 55
Posts: 657
|
Quote:
The raw dump I have (thanks to BarryB) does not appear to have weak bits Excerpt from track 80.1 HTML Code:
0004A57C 5544 5544 5544 5544 5544 5544 5544 8892 UDUDUDUDUDUDUD.. 0004A58C 5544 8895 2514 9115 5555 492A 54A4 94A9 UD..%...UUI*T... The first 9 words are checked then if that passes the key is checked. I did not see any further checks of the data after the key 8895. I then checked the IPF 2712 and confirmed that the raw data for track 80.1 does have weak bits, but the protection check code is identical to the dump I used. |
|
23 April 2023, 23:10 | #560 | |
Registered User
Join Date: May 2011
Location: Cambridge
Posts: 682
|
Quote:
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
IPFs of games I own | antonvaltaz | project.SPS (was CAPS) | 22 | 28 May 2009 12:28 |
Mounting IPFs | killergorilla | project.SPS (was CAPS) | 16 | 06 August 2005 00:32 |
Downloadable IPFs | killergorilla | project.SPS (was CAPS) | 15 | 27 August 2003 15:59 |
How exactly do IPFs get out in the first place? | MethodGit | project.SPS (was CAPS) | 2 | 15 July 2003 22:02 |
|
|