Skip to content
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

WHDLoad AutoBooter and 68000 CPU kickstart #309

Closed
RetroD opened this issue Apr 23, 2018 · 19 comments
Closed

WHDLoad AutoBooter and 68000 CPU kickstart #309

RetroD opened this issue Apr 23, 2018 · 19 comments
Assignees

Comments

@RetroD
Copy link

RetroD commented Apr 23, 2018

Hello guys,
I finally managed to get WHDLoad Autobooter working great on my Retropie (RPi3), thanks again for this update.
I have encountered one issue which I believe to be related to an incorrect Kickstart.
I am trying to run Barbarian_v1.1_Palace_1784 and when I launch it, it goes back to the games selection list. I noticed the CPU in the XML is set to 68000 and it says on the wiki that if it is the case it will try to use the A600HD Kickstart 2.05 rom.

Now, I did try to cheat and added an override config with a 68020 - the game works, but probably a little too fast :)

So my question is, is there a list of expected names for the kickstart roms? I have the following but maybe Amiberry expects them to be named in a specific way?
A600HD Kickstart ROM v2.05 rev 37.300 (512k)
A600HD Kickstart ROM v2.05 rev 37.350 (512k)

For more information, I have the following in my Kickstarts folder the amiberry points to:
cd32ext.rom
cd32kick31.rom
kick12.rom
kick13.rom
kick20.rom
kick30.rom
kick31.rom
kick204.rom
kick205.rom

And these are the files that were generated so far in whdboot\save-data\Kickstarts:
kick34005.A500
kick37175.A500
kick40068.A1200

Any help would be greatly appreciated, even if there is a list of correct names or revisions for the required roms.
Thanks!

@HoraceAndTheSpider
Copy link
Contributor

it is deliberate that 68000 is selected, for the speed issues you mention ;)

Amiberry doesnt use naming for its file detection, but WHDload does require some quite specific versions, and only those have symlinks created .

There is a list.... it's here:
http://ultimateamiga.co.uk/HostedProjects/RetroPieAmiga/guide.html#step-2

@RetroD
Copy link
Author

RetroD commented Apr 23, 2018

Thank you, yes that makes sense. I think I have all the correct roms from that list but I still can't get it to work. Do you know the one needed for the 68000? (or are there multiple ones that may be used). Do they need to be the 512 dump or 256 (I remember issues related to these in the past).
I suppose the cloanto ones are no good?

@midwan
Copy link
Collaborator

midwan commented Apr 23, 2018

@RetroD
Cloanto ones also work, just remember to keep the "rom.key" file in the same directory as the ROMs, as they are encrypted.

@RetroD
Copy link
Author

RetroD commented Apr 23, 2018

@midwan
Thanks I have tried all the kickstarts I have (and I have MANY :) ), but still no luck with that game.
Interestingly enough I though to delete all my kickstarts and just copy the cloanto ones I bought a few months ago (so I assume they should contain everything). I noticed all the kickstarts in whdboot\save-data\Kickstarts are also gone - not sure if it was me doing something but they are not there anymore.

I thought that now I could start clean and it would recreate symlinks. I launched a few games and no symlinks were created, although the games worked (besides Barbarian Palace of course)

Does Barbarian (palace version) work for you guys? Just checking before I lose my mind tonight :-D

@HoraceAndTheSpider
Copy link
Contributor

i am not 100% the cloato ones will work with WHDLoad tbh

@RetroD
Copy link
Author

RetroD commented Apr 23, 2018

The games seem to work without the symlinks, but yeah, if you use the Cloanto ones no symlink is created.
If you guys got the game to work and know what the specific version and dump of the rom is it would be great. I noticed it's the only game with CPU set to 68000 in the configuration.

@RetroD
Copy link
Author

RetroD commented Apr 23, 2018

Maybe it's not kickstart related... I seem to have the correct one according to this:
http://www.whdload.de/games/BarbarianPalace.html

Anything that could cause amiberry to go back to the list when CPU is set to 68000?

@HoraceAndTheSpider
Copy link
Contributor

The missing one is probably the a600 hd one you need for this.

It allows WHDLoad to work on a 68000 machine. It’s an Amiberry requirement not WHDLoad s , so it won’t be on that page.

You’ll have to wait till I have time to test it again

@RetroD
Copy link
Author

RetroD commented Apr 23, 2018

Thanks @HoraceAndTheSpider, was writing this as you posted:

Ok, hopefully last post and I'll leave you alone. I got it to work, but it makes no sense to me:
I just created a new override file for the game, but I have put the same parameters from the XML!

My custom config:
PRIMARY_CONTROL=JOYSTICK
PORT0=JOY
PORT1=JOY
CPU=68000
JIT=FALSE
SCREEN_HEIGHT=200
SCREEN_Y_OFFSET=3

Is this possibly a bug? I find it strange that it would work by replicating the same thing from the xml.
The speed of the game is the same as when I set it to 68020 though. My memory is a bit hazy on what this should be like on a real amiga so I am unsure if the speed is correct or not.

So I am now wondering if the CPU parameter I have set to 68000 is actually been used?
I'll wait for you to run some tests though. Hopefully you have enough info to establish if it's a problem with my setup or a bug.

Thanks again!

@HoraceAndTheSpider
Copy link
Contributor

The two sections use the same parsing code so they should behave the same, but that doesn’t mean they do!!

Useful information for me to track down any bug with though, thank you :)

@henrikstengaard
Copy link

WHDLoad v17.0 or better supports Cloanto encrypted Kickstart rom files, just remember to include rom.key file next to Kickstart rom files in SYS:Devs/Kickstarts.

As a side note, WHDLoad v18.2 or better doesn't require a registration file.

@HoraceAndTheSpider
Copy link
Contributor

I’ll arrange for rom.key to be symlinked if available.

@RetroD
Copy link
Author

RetroD commented May 8, 2018

Hello @HoraceAndTheSpider,
I was wondering if you had a chance to test Barbarian_v1.1_Palace_1784 to see if it works correctly for you with the 68000 option? No pressure, just curious if you got round to trying it out.

@HoraceAndTheSpider
Copy link
Contributor

@RetroD i've resolved a problem with Barbarian_v1.1_Palace_1784 today, so see if that works for you. I still need to do the rom.key symlink though

@RetroD
Copy link
Author

RetroD commented May 9, 2018

Awesome! Do I just need to update from source to get the fix?

@HoraceAndTheSpider
Copy link
Contributor

HoraceAndTheSpider commented May 9, 2018

You would need to compile the 'dev' branch, but atm, dont bother, i have experienced some other issues with this i need to look into (GURUs on the game load, but not the booter)

EDIT: interestingly it seems i need to disable 'more compatible' CPU for this to work. If this turns out to be a common theme, i will remove this setting which is automatically enabled when picking the 68000 option.

EDIT 2: You woul dbe OK to test it now with the latest fix, but would need to add CPU_COMPATIBLE=FALSE to the Barbarian_v1.1_Palace_1784 entry in the XMLfile

@RetroD
Copy link
Author

RetroD commented May 9, 2018

I fear I would get lost trying to compile myself, I am quite new to the raspberry pi. I know how to pull from source when updating software on retropie (or getting binaries directly of course), but that's about it :).
I will wait for when these changes are released no probs.

@midwan
Copy link
Collaborator

midwan commented May 14, 2018

Perhaps we can start releasing beta binaries from time to time also, we'll see :)

@midwan
Copy link
Collaborator

midwan commented May 25, 2018

Version v2.21 is now pushed to master, so you can use RetroPie's "compile from source" option to easily get it.

Closing this issue for now then, unless we hear it's still a problem. In that case, we can re-open it.

@midwan midwan closed this as completed May 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants