BlitterStudio / amiberry

Optimized Amiga emulator for Linux/macOS
https://amiberry.com
GNU General Public License v3.0
660 stars 89 forks source link

[WHDLoad] issues #122

Closed nemo93 closed 6 years ago

nemo93 commented 7 years ago

I can't get the following games to properly run. Most recent WHDLoad packages used for each game. I'm using Retropie 4.3 on a Pi3. If a separate ticket per game is the prefered way please let me know and I'll fill a ticket in for each.

Read Me first: Please check this thread on Retropie's forum where you could find 3 uae templates that should work with almost any games. First have a look and try to run your games with them before reporting an issue. Also ensure to use the latest version of the WHDload packages as they are being updated on regular basis with bugs fix and other improvements. You could find the latest packages versions here on this site (neither roms nor games could be find there). Go to the Installs section and pick a letter to find a game version.


Total games listed below: 15 (B) Non-working/unplayable: 6 (G) Working/playable yet w glitches: 9


If it's just a matter of setting more appropriate parameters in the config please apologize and I'd be glad if you could share your working uae's here. Much appreciated.

Voljega commented 7 years ago

Yep those whdload games used to work fine in UAE4ARM 0.4 but after that something went wrong somewhere between UAE4ARM 0.5 and Amiberry...

I'm sure there is a solution along the way in the future

midwan commented 7 years ago

Thanks for the detailed report. It's fine to keep them in one issue for now, if necessary we'll separate them out later.

I'm in the process of setting up my dev environment again, after a fresh installation. And in the meantime I'm pestering the Microsoft team behind VC++ for Linux to fix some bugs I found there, so we can use their tools to remotely debug (which are free) instead of/in parallel to VisualGDB (which is commercial and not everyone has it). Hopefully that will make it easier of other developers to assist as well. ;)

I know the project has been stalling for a while now, but it's not dead yet.

nemo93 commented 7 years ago

Thanks a lot @midwan this is much appreciated, really. I'd like to help you with code and stuff yet I'm no dev myself so all I could do for now is to provide clear and detailed reports! I'll keep on testing / toying with some other games and I'll report back the issues (if any) there. At some point, as you mentioned we could split all those issues in different tickets for the sake of clarity.

Good luck, take your time and thanks again for bringing that amazing project to life.

ghost commented 7 years ago

All these issues "may" be fixed with TomB's newly released UAE4Arm version. It has features from WinUAE 3.5.0. We'll just have to wait for Midwan/Chips to do a Raspberry Pi port if/when they feel like it in their free time and then test the results. I'm not sure if the new release has Cycle Accuracy ? That may be hoping for too much !! :-)

midwan commented 7 years ago

The problem is, TomB's code is not in some source control service. So there's no easy way to find out what changed since the previous versions, you have to do a file diff manually, for each file.

Then decide if that change should be integrated in your code as well, or if it's not relevant (TomB's code is specific for the Pandora platform, so some things don't apply).

It's a time-consuming process... :)

ghost commented 7 years ago

@midwan No worries, I was just giving you a heads up that TomB has done a lot of extra work that you may be able to just port (like Lubomyr does with his Android port). That would save you the hassle of writing code that's already been written :) There's no rush.

Voljega commented 7 years ago

@midwan provided TomB's code was once not too far from yours could'nt you just check out your 2.1 code then get TomB's code and copy it over your checked out version ?

That way it would be possible with SourceTree or whatever tool you like to see what's different from your code ?

midwan commented 7 years ago

@Voljega I could, but that would show us the differences from his code to mine, which are probably quite extensive. Chips-FR picked up his code, made modifications for the Pi and I took the code from there and made even more modifications.

But you gave me an idea: I could create a repo and drop TomB's old code in, then update it with the newest files and get the changes from there. ;-)

ghost commented 7 years ago

@midwan I also notice that a couple of things stopped working in your build compared to Chips UAE4Arm, like this issue https://github.com/midwan/amiberry/issues/64 . It doesn't work in SDL1 or SDL2.

midwan commented 7 years ago

@blinkydoos That issue did not occur in my tests on the SDL1 version, it seemed related to the changes in SDL2 only.

When did you notice it stopped working?

ghost commented 7 years ago

Yeh, my mistake ! It only happens on SDL2.

Voljega commented 7 years ago

@midwan cool ! I didn't dare to hope you would still have TomB's old code :)

On a side note, CHiPs said on the uae4arm thread on Raspberry's forum that he wasn't interested too much anymore on developing uae4arm for now

m693663 commented 7 years ago

Hi, I've come across another game that runs a little too fast: - Baby Jo in Going Home . Also, the AGA version of XP8 has colours all over the place on the Intro Screen and then keeps flickering. The ECS/OCS version works fine. Cheers.

nemo93 commented 7 years ago

Hey @m693663 thanks for your feedback. I'll try to reproduce on my local setup. Yet would you be so kind to confirm the WHD packages versions you've tested with please? As far as I can tell Baby Jo latest package is version 1.1 and XP8 AGA is version 1.2. Also if you could share your uae files (rename the file with *.txt to upload in this thread) that would be much appreciated. I've already updated the ticket and attached some uae that should be working, just in case. Any more feedback please share!

UPDATE: here Baby Jo seems to run fine at normal speed. Also XP8 AGA is ok except the text on the intro screen that is garbled. @m693663 could you please try with the uae files I've attached to the main post please? Simply rename files with .uae as extension instead of .txt (+check paths).

m693663 commented 7 years ago

Hi Nemo93. Thank you for your quick reply. Baby Jo is version 1.1 and XP8AGA is version 1.2. I compared scripts, apart from the paths to the files, the realfinegrain_cpu_speed setting in the BabyJo script was set to 1024 in my script. Changing this to 0 as per your script fixed the issue. As to XP8AGA, I re-installed the files then ran it using your script. The initial screens are fine, once it gets to the XP8 Logo, the screen and sound go off and on in unison. I am able to get to the menu screen with the incorrect colours and start the game, at which point the game runs (and looks good), but the joystick won't work. I ran out of time last night so will test again tonight with your script. To be honest, I'm not worried about XP8, as the ECS version works fine. I am building an arcade machine for my daughter and Baby Jo was one of her favourites way back when. Once again, thank you. You have made a 60 year old amiganut very happy!

nemo93 commented 7 years ago

Happy to help! re XP8 I'm using a xbox360 controller and it works perfect here.

G0nz0uk commented 7 years ago

Hi, I've been testing games too (WHDloads).

Zool 1 and 2 (AGA) - Graphical issues in game as mentioned above Chaos Engine CD32 - No Intro sound, anyone else test this, such a good version. Batman the Movie - Files missing on bootup I have a disk1 and disk2, but only built the uae around disk1, not sure.

Will keep checking

nemo93 commented 7 years ago

Hi @G0nz0uk! Thanks for testing. Batman the Movie (version 1.5 (19.07.2016)) is working fine here with this uae. Please test again and confirm it's working this time. I don't have any disk1 or disk2 files by the way. I'll have a look at Chaos Engine CD32 version.

nemo93 commented 7 years ago

Chaos Engine CD32 no intro sound confirmed. Yet this is expected (unfortunately) as stated here. Based on that it's not related to the emulation itself but to the package hence I'm not adding it to the list if you don't mind.

Apart from that this version of the game itself is playing perfect with sound. I'm guessing that some music were in raw format on the disc and as such can't be put on hdd unless emu supports mp3/ogg files playback? Keep me honest here.

HoraceAndTheSpider commented 7 years ago

Is this CDDA music?

No Whdload supports this because it would need the original CD in the drive to play it.

You will need to use an ISO image for Cd music.

nemo93 commented 7 years ago

hi @HoraceAndTheSpider yes that's my assumption even if I can't confirm that myself.

CypherXG commented 7 years ago

No. You don't need an ISO File. ISO is only data and has no audio information. What you need is an cue/Bin File or a ccd (CloneCD) File. I can confirm that Chaos Enginge has cdda Audio and it works perfect. No issues. I'm using ccd imags only.

HoraceAndTheSpider commented 7 years ago

Ok, sorry for the use of the wrong terminology. I should have just said “cd rip” but I think the point was still understood

G0nz0uk commented 7 years ago

@nemo93 Batman works great now, thanks!

I like my football games, Kick Off 2, SWOS 96/97, Emyln Hughes Int Soccer all work, but:

Goal = has graphical issues in-game which is a shame as this is my favourite, will do some research.

Another game tested:

IK+ = 99% works but slight graphical issues around the fighters feet.

nemo93 commented 7 years ago

Awesome news \o/ Please remember to share packages versions as well as your uae's for each non working game. That helps :)

Could you elaborate a bit better re IK+ as it's a game I'm playing quite often I haven't seen any glitch so far? Perhaps a screenshot or anything to better understand the issue would be much appreciated! Here's my uae for that game.

EDIT: Goal! (version 1.01 (02.01.2016)) is running just fine here unless someone confirms otherwise (perhaps @ransom1122? :)). I haven't seen any graphical issue. Let me share the uae I'm using to run this one.

@G0nz0uk: I've created a thread on Retropie's forum where I've shared 3 templates that you could use with any games. Please have a look and try to run your games with them. I've been able to streamline the various params to only those 3 files and I'm able to run all my games with pretty good success so far.

G0nz0uk commented 7 years ago

@nemo93 Let me check the above. My Goal is Goal_v0.96_1817.zip :(

What version do you use for IK+?

EDIT: Both work now, using slightly later versions, thanks.

G0nz0uk commented 7 years ago

Apologies if I'm not allowed to post this here (excited), but they have made a Sensible World of Soccer 16-17 version, which is basically the 96-97 version, but with the latest players, on their site is the Amiga (lha) and CD32 versions. I used my Sensible World of Soccer 96-97 uae file to edit the path names but it won't work.

I won't post the url in case this cause an issue, but google it and see if you have better luck. Sensible World of Soccer 16-17.txt

ransom1122 commented 7 years ago

Ill be having a look @ Sensible World of Soccer 16-17 for Amiberry tomorrow..

ransom1122 commented 7 years ago

Fast Forward time a little and had a quick check.. I have already added this game into my Ultimate Amiga image and it works perfectly. I tried friendly and career mode all good. Attached my config, obviously change your paths for your kicks & games to suit your setup.

Sensible World of Soccer 16-17 (Earok) (CD32).txt

G0nz0uk commented 7 years ago

@ransom1122 - Wow this is great news, I didn't try the CD32 version, seems to be an ISO which see you just pointed to:

cdimage0=/home/pi/RetroPie/roms/amiga-data/Games_CD32/Sensible World of Soccer 16-17 (Earok) (CD32)/CD32Game.iso,image

I didn't know you could do this, I was opening the ISO and copying the contents to a folder and trying to point to that.

Will try this tonight - can't wait!

ransom1122 commented 7 years ago

Of course.. Amiberry runs cd32 games. And thats a cd32 image All good enjoy. I did hace to tweak the settings a little to avoid ingame graphic glitching but it works 100% now. Enjoy..

G0nz0uk commented 7 years ago

@ransom1122 thanks that worked, just get some graphic glitches in some of the menus where is flashes, but game runs fine! I tried to save my progress and asked for a disk and I didn't know how to create a floppy to save to. I guess I should just use the save state instead?

ransom1122 commented 7 years ago

@G0nz0uka The game does not support saving, it is written in the text as it loads at the start. Use savestates I guess. Menu & Game runs fine at my end.. At times it may glitch here and there, that may be because the game is not an official CD32 release, any homebrew will always be touchy in any Amiga emulator .

HoraceAndTheSpider commented 7 years ago

Do they not supply an HDF for this?

There is a non-Whdload (and therefore bug free) SWOS HD installer that has been used for years and would therefore be fine with saving.

Using save states is no use if you want to create tactics.

ransom1122 commented 7 years ago

Its one of earoks custom cd32 games. I dont think a hdf exists.

HoraceAndTheSpider commented 7 years ago

Pretty sure it comes from here, not Erik.

http://files.swos.eu/swos16-17/

Extracting the LHA and mounting this as an HD will be very easy. I will upload a .uae tomorrow for it.

I have played a lot of SWOS, including career mode, on Amiberry so I don’t think it needs to take up too much of this thread.

HoraceAndTheSpider commented 7 years ago

Be aware there are specific settings which must not be tweeked for the career mode to work properly also.

ransom1122 commented 7 years ago

There is no slave in the lha.. Not sure how to boot it. Anyway I am happy with the CD32 version..

G0nz0uk commented 7 years ago

@ransom1122 I will use save state, hopefully we can bind a key to that in the future (and load). I only get the glitch on the team list just before the match starts.

What a game though, career mode started (Tottenham - sorry)

ransom1122 commented 7 years ago

A good friend of mine made a HDF from the LHA of Sens Soccer 16-17 and it works perfect. No glitching. Not sure what I can and can't share on here, but I thought I'd let you know the HDF is the winner!!

@HoraceAndTheSpider Not sure what specific config you are talking about but standard a1200 config works fine.

G0nz0uk commented 7 years ago

@ransom1122 Sorry for my ignorance but what is a HDF?

ransom1122 commented 7 years ago

@G0nz0uk

Hard Disk File - Single file that Amiberry can boot on a normal Aimga1200 config startup.

Just select a1200 quickstart Insert HDF in Hard Drives tab Insert your kickstart And play

Darknior commented 7 years ago

Hi I have ask @ransom1122 before bugging here but he can't help me. I have take file on his Ultimate AMIGA image to make works WHDLaod games and they crash with black screen after the gray square menu :(

I watch this tutorial : https://www.youtube.com/watch?v=dOWqop2Wi1o And this http://www.ultimateamiga.co.uk/HostedProjects/RetroPieAmiga/guide.html And i have all fine and don't understand.

I watch and use this : https://www.youtube.com/watch?v=Kd9BuD28ntU And https://github.com/HoraceAndTheSpider/RetroPieAmigaSetup To try to fix my problem. Now i have some WHDLoad games that works, but not all like on @ransom1122 collection. And i use his games ... i don't understand why i don't have the same result. Some time a game works like Alien Bread 2, An other like Flashback show me the WHDLoader and after crash, works fine on HDF version ...

It is really strange, all the path are good ... i don't have any problem with ADF, HDF, and CD32 games ... What can i miss ? some help ?

Thanks

HoraceAndTheSpider commented 7 years ago

Those tutorials are not designed to use ransoms image or the games he provides.

The Ultimate Amiga loader for WHDload games is nothing to do with any preloaded images.... even if they did decide to use the same name. Mixing pre-loaded images with other projects is always going to cause problems.

These projects use the original sources, which are the “RetroPlay” Whdload packs.

I suggest you re-run the auto installer and then follow the online (written) Guide which already has an FAQ that includes this problem.

Also this is not an Amiberry issue so should not be on this GitHub. There is an entire FaceBook group dedicated to providing support for these projects.

HoraceAndTheSpider commented 7 years ago

In many cases , if you load a faulty game a second time, it will tell you what error previously occurred.

Also Consider holding down the “fire” button when booting faulty games in order to force the game to re-scan for the Whdload slave.

nemo93 commented 7 years ago

Hi @Darknior glad to see you there as well :) Please check this thread on Retropie's forum where I've shared 3 uae templates that should work with almost any games. First have a look and try to run your games with them before reporting an issue. In order to assist you better please post a comment in this Retropie's thread with your issues (unless @HoraceAndTheSpider does think otherwise).

Also ensure to use the latest version of the WHDload packages as those are being updated regularly fixing bugs and other issues. You could find the latest packages versions here on this site (neither roms nor games could be find there). Go to the Installs section and pick a letter to find the latest package version.

For sure Flashback, Alien Breed (any versions), Alien Breed 2 and Tower Assault are all working fine and smoothly here. Again thanks to the uae I've shared.

Darknior commented 7 years ago

Thanks guys i will try all of that :) I wish i will repair to make them all working fine ...

Yesterday when i try many games, i don't really see a difference between WHDLoad and HDF games. HDF games are launching faster and (also) have Cheats for some ... At first i want to use WHDLoad to expect having more cheats for games than on HDF, many are so hard for young children without infinite lives :(

Finally it's same, why using WHDLoad more than HDF ? I read some thing about game fix ? Not really understand ...

nemo93 commented 7 years ago

Please let's continue this discussion on Retropie's forum.

ghost commented 6 years ago

It's a shame that all the issues in the first post aren't all seperate issues because some of these are/can be fixed and only nemo93 (or midwan) can edit the post.

Warzone is fixed. Striker is fixed by changing the blitter. Barbarian can be fixed by using 68000 and a600 ROM. I posted about it here https://github.com/HoraceAndTheSpider/UAEConfigMaker/issues/25 This may also fix some of the other problems listed in the first post.

nemo93 commented 6 years ago

Hi @blinkydoos! I'm definitely ready to split up the first post into several tickets (one per game/issue) if that makes everyone life easier. I'd like a confirmation from either @midwan or perhaps @HoraceAndTheSpider that it's the best way for them to track and fix issues. Then I'll go create separate tickets.

@blinkydoos I'm very interested by your uae files for the games listed as non working and by the various parameters you set to get the games working. Let's talk more once separate tickets will be created :)