barbudreadmon / fbalpha-backup-dontuse-ty

Deprecated port of Final Burn Alpha to Libretro (v0.2.97.43).
61 stars 43 forks source link

Zero team on Wii U show only garbage on screen #211

Closed cecilmax closed 6 years ago

cecilmax commented 6 years ago

When I run Zero Team on Wii U the game start and I can insert coin and start the game but the graphics are complete maze, garbage on screen ....

barbudreadmon commented 6 years ago

Could be an endianness issue ? Post a screenshot please.

barbudreadmon commented 6 years ago

I'm also interested in how raiden 2 runs, especially the first level boss (see https://github.com/libretro/fbalpha/issues/198).

@fr500 Beside endianness, is there anything particular to know about ppc and wii u ? float to int conversion ? math library ? The raiden2/zeroteam driver uses a lot of math and float to int conversion.

cecilmax commented 6 years ago

Here the screenshot :)

https://pasteboard.co/HmleZOq.jpg

barbudreadmon commented 6 years ago

Thanks, i have seen similar issues in some drivers in the past, they were quickly fixed with the help of upstream. Same in raiden2 i guess ?

cecilmax commented 6 years ago

I dont know about raiden2, I didnt try it :)

If you can tell me once it is fixed I can test both :)

barbudreadmon commented 6 years ago

I need to know if raiden2 have this issue to figure out if the issue is within the driver code or the game code. Also, trying dynduke, raiden, rtype and rtype2 would help ruling out an issue in the cpu code.

cecilmax commented 6 years ago

Ok I will test it tonight and let you know :)

cecilmax commented 6 years ago

I just try dynduke and it have the same graphics garbage issue, I can insert coin, press start, sound seem ok, but its a real garbage display on screen :)

I try rtype and the graphics and sound are 100% ok.

cecilmax commented 6 years ago

Raiden1 work fine to and rtype2 too

barbudreadmon commented 6 years ago

What about raiden2 ? This is the most important one to test...

cecilmax commented 6 years ago

I have posted a link to a screenshot about graphics issue in D.D crew too, that game also have graphics issue, not only audio, if you can reopen the ticket please :)

cecilmax commented 6 years ago

Let me check for raiden2, I didnt find a rom yet that work, maybe I need another romset.. Ill try it again tonight.

barbudreadmon commented 6 years ago

On https://github.com/libretro/fbalpha :

Use clrmamepro (which run fine on linux with wine and macos with crossover) to build valid romsets with dats from the dats directory. fba dats are NOT mame dats. Don't report issues if you didn't build a valid romset.

The fact you weren't answering my question was already pissing me off, now you are saying your issues could be related to bad roms downloaded randomly on internet. Because of that i can't trust any of your reports. Thanks for making me lose my time.

cecilmax commented 6 years ago

Are you serious ? Wow! I took time to share bugs to try to help other to enjoy this core by helping fixing it and I am the one wasting your time ? Incredible. Sorry you take it like that. I will try to fix it on my own. For your information, I have a valid romset but sometime, with a valid romset it happen that somes games just doesnt load..

barbudreadmon commented 6 years ago

with a valid romset it happen that somes games just doesnt load..

no

cecilmax commented 6 years ago

Well, I already checked raiden2 with crlmamepro and the game just doesnt load. And that is not the only game that happen. And when I try another source where I find the rom it work. I dont say youre not right I just explain my situation. Anyway, it is useless if you dont care fixing your project. Thanks for your time.

barbudreadmon commented 6 years ago

It is useless if you use another rom, the program is written to run with a specific version of a rom, if you write a report with another version of the rom, it has no value. If the expected rom of raiden2 doesn't work, you should have said that from the start. Since zeroteam is from the same driver, that means the expected rom of zeroteam probably doesn't work, and you are using another one, hence your graphical issues. If you change rom to another version and worse : don't mention it, your reports have no value.

Want to make something not useless ? Use official rom and tell me what's happening with the official rom.

cecilmax commented 6 years ago

ok, let me check that and I let you know if raiden2 have the same graphic issue.

barbudreadmon commented 6 years ago

Just make sure you are using official roms, for every report, and tell me what's happening, even if you got a black screen or the emulator crashes. If i try to fix issues which happens with other versions of the rom, things will turn worse.

barbudreadmon commented 6 years ago

Also, sorry i snapped. I've seen too many people reporting issues with bad roms, and now i have zero tolerance for this.

cecilmax commented 6 years ago

No problem :)

What do you think of d.d crew graphic issue ? Does it worth a try to investigate ? Ive post a screenshot of the issue on the closed thread.

barbudreadmon commented 6 years ago

As long as it is with the official romset, it is worth investigating. I'll reopen it if it is (?).

cecilmax commented 6 years ago

Sure is :) dont worry.

cecilmax commented 6 years ago

One more information: both games, zero team and dd crew are working fine under windows with fba 0.2.97.43 with the sames roms of course, so it must be something with the drivers or wii U implementation, maybe the float as you suggested above..

cecilmax commented 6 years ago

Ok I just test it (raiden2), the game load with this garbage graphic on sceeen. I can insert coin but thats all, pressing buttons to start do nothing. https://pasteboard.co/HmAkvvL.jpg

barbudreadmon commented 6 years ago

Let's see if it's a big endian issue, try to rebuild the core with my latest commit.

cecilmax commented 6 years ago

I have troubles compiling, I think I dont have the good lib to compile. Do you think you can send me a zip copy of your devkitpro folder ? I am under windows 7.

barbudreadmon commented 6 years ago

I am a linux user, i don't have any of the alternate devkits to build for other platforms. It seems to me like the buildbot updated the fbalpha nightlies with my commits : http://buildbot.libretro.com/nightly/nintendo/wiiu/latest/fbalpha_libretro.rpx.zip

cecilmax commented 6 years ago

Ah ok, I will try it tonight and let you know the result :)

cecilmax commented 6 years ago

Just test zeroteam, no more garbage as previous but still a mess lol and the graphics are in the wrong colors, see: https://pasteboard.co/HmJ4UTG.jpg

https://pasteboard.co/HmJ5zIh.jpg

And when the game start, there is no charcaters to move..

See: https://pasteboard.co/HmJ64FJ.jpg

Tested raiden2: only show a black screen with a square of garbage color top right, I can insert coin and thats all I can do. Stuck there.

barbudreadmon commented 6 years ago

Ok, at the very least it seems better than before. Buildbot should update the nightly shortly, try the new version then post the new screenshots.

barbudreadmon commented 6 years ago

I'll also tag @arcadez for this issue, he should be interested for his xbox fba port.

dinkc64 commented 6 years ago

xbox is le, no problem there.

barbudreadmon commented 6 years ago

Oh yes, you are right, it's the xbox 360 that is big endian

cecilmax commented 6 years ago

Here the new test, almost there :)

Zeroteam https://pasteboard.co/HmONYTB.jpg https://pasteboard.co/HmOOeUD.jpg

Raiden2 https://pasteboard.co/HmOOAXD.jpg

dinkc64 commented 6 years ago

cecilmax thank you very much for the images, I will have a final fix ready within the next day or so :)
I just need to know one thing: can the game be coined up / started?

cecilmax commented 6 years ago

For zeroteam it can be coined started, for raiden2, only coined..

dinkc64 commented 6 years ago

Thanks, without your help we would not be able to fix this since we have no BE-cpu machines to work with.. A version with possibly fixed sprites will be available shortly. The amount of code that we need to go through for this emulation is quite massive, so please bear with us.

cecilmax commented 6 years ago

No problem, Im very happy to help :) After this I can test other games too, does many games can be affected by this ?

barbudreadmon commented 6 years ago

fbalpha is not written for big endian architecture. At some point there were active developpers (like @CaptainCPS) for ps3/xbox360 (which are also big endian machines) ports of fbalpha, but we don't see them a lot those days. To be honest, it's probably affecting hundreds of games, mostly stuff from the last 5 years i would say.

barbudreadmon commented 6 years ago

Let us know what is the result of the last 2 fixes. If everything is ok with zeroteam/raiden2, could you try dynduke again before moving to the ddcrew issue ?

cecilmax commented 6 years ago

Ok Ill test it tonight :)

cecilmax commented 6 years ago

Here is the results :)

raiden1: work perfectly, played 5 min raiden2: work perfectly, played 5 min

rtype1 and rtype2: game load, show on black screen centered: rom ok, ram ok Stuck there...

dynduke: game doesnt load at all: just return to retroarch..

Zeroteam: game load directly in I/O test screen..

dinkc64 commented 6 years ago

good news about raiden 1 and 2 :) did raiden1 just start working with this update? also very important: did rtype1, rtype2 and dynduke work before this last update?

thanks for your help, best regards,

barbudreadmon commented 6 years ago

I just try dynduke and it have the same graphics garbage issue, I can insert coin, press start, sound seem ok, but its a real garbage display on screen :) I try rtype and the graphics and sound are 100% ok.

It seems rtype did work before the update.

cecilmax commented 6 years ago

Yes rtype work before the update

cecilmax commented 6 years ago

Rtype1 and rtype2 work before the update and dynduke show garbage on screen before the update and now it doesnt load...

dinkc64 commented 6 years ago

Thanks for testing, even a bad result is going to be helpful to getting things right. Bare with me here :)

barbudreadmon commented 6 years ago

I reverted the changes on the nec cpu, let me know how the raidens, rtypes, and zeroteam work now.

cecilmax commented 6 years ago

Ok :) ill test it after work ;)