New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simon The Sorcerer: Strange HDF size #674
Comments
More findings: After hard-coding the drive geometry, I can load the game. So the quest is to find some magic function that maps 12000000 to (732,1,32). Unfortunately, the game itself doesn't look as expected 😕: Maybe it's the AGA version? I tried to double-check in UAE, but I am not smart enough to mount an HDF there. The hard drive does not appear on the workbench screen. There are tons of controllers to select from and another myriad of checkboxes to enable or disable. I could try all combinations, but that would take another myriad of years. |
You can likely check if it's the AGA version if it tries to enable 8 bitplanes or so. |
Taking a step back: My old geometry code works as follows:
Simon teaches us to not derive the number of blocks from the file size. Proposal for a new approach. We know that the location of the root block is calculated by
Hence, we could
|
For raw HDFs, I just follow UAEs lead (as far as I understand the program logic for "small" disks) and hardcode H=1, S=32 and derive C as As for the corrupted display, I don't think that's related to the HDF. It works fine in my (as you know bad, OCS only) emulator as well as WinUAE (standard A500 ECS config). How did you start the game? Since HDF isn't bootable I used WB1.3 floppy and started it manually from WB. EDIT: As for testing in WinUAE: Select a profile from Quickstart (e.g. A500 + "Most compatible"), Hardware->CD & Hard drives->Add hardfile... (Press ... next to "Path" and find the file), Floppy -> Insert WB1.3 disk. Start. If HD doesn't show up maybe you have it open in another application (vAmiga?), it won't mount if it can't get R/W access |
Yes, my new code does it this way. It first seeks the root block. After that, it tries to predict the number of blocks via different heuristics and verifies the outcome by comparing the predicted location of the root block with the actual location.
Regarding the graphics issue, I've found out that it does work with Kickstart 1.3 in vAmiga, but doesn't with Kickstart 2.04. I'll open up another issue for that... |
Fixed in v2.0b2 which is now online. |
I've been trying to attach Simon The Sorceror (1994)(Adventure Soft).hdf (PlanetEmu, HDF section) in vAmiga without success.
The HDF is a DOS0 disk (OFS), has no RDB, and the file size is 12000000.
Observations:
Conclusion:
The text was updated successfully, but these errors were encountered: