fgsfdsfgs / sm64-port

PS2, PS3, OG Xbox and DOS ports of sm64-port.
https://discord.gg/7bcNTPK
256 stars 38 forks source link

PS2 : compiles without erros with new toolchain but only get a black screen when startup on PS2 #53

Closed hugorsgarcia closed 3 years ago

hugorsgarcia commented 3 years ago

239270425_4521511374549397_1745929227799418058_n Complies nicely but after you start the game on the PS2 only gives a black screen

fgsfdsfgs commented 3 years ago

Unfortunately I couldn't tell you what the problem is, since I don't have the new toolchain set up right now. Last time I tested was over a year ago with the GCC7-based new toolchain and it worked okay. What method are you using to load it?

hugorsgarcia commented 3 years ago

I got some warnings though

hugorsgarcia commented 3 years ago

See if you can replicate this. Use the newest toolchain.

skx7 commented 3 years ago

I just compiled it via docker on linux and all working fine. I also got the black screen until I pushed a button, I guess I pushed X :) you need to push a button and you will get the Super Mario 64 title screen and all is working super smooth. Great job devs!! Amazing native port 👯

hugorsgarcia commented 3 years ago

n

Wrong. This is not true because is not even possible. The pressing of a button does not interfere on PS2 boot process. There are warnings appearing that do not appear at the old toolchain that is the explanation why is not working. Something in new toolchain was changed and is causing these warnings. I you check then in details later

skx7 commented 3 years ago

n

Wrong. This is not true because is not even possible. The pressing of a button does not interfere on PS2 boot process. There are warnings appearing that do not appear at the old toolchain that is the explanation why is not working. Something in new toolchain was changed and is causing these warnings. I you check then in details later

I can just confirm I built it with the latest toolchain 3 days ago and it works. Meanwhile I played it more and can confirm the first boot attempt takes more time compared to all others. Maybe it's generating a savegame on the memory card? It works, this I can confirm, maybe pushing the button was pure coincidence on my end. Just sharing my personal feedback

PS, I built the US version...

hugorsgarcia commented 3 years ago

n

Wrong. This is not true because is not even possible. The pressing of a button does not interfere on PS2 boot process. There are warnings appearing that do not appear at the old toolchain that is the explanation why is not working. Something in new toolchain was changed and is causing these warnings. I you check then in details later

I can just confirm I built it with the latest toolchain 3 days ago and it works. Meanwhile I played it more and can confirm the first boot attempt takes more time compared to all others. Maybe it's generating a savegame on the memory card? It works, this I can confirm, maybe pushing the button was pure coincidence on my end. Just sharing my personal feedback

PS, I built the US version...

Wrong again. fjtrujy one of the contributors of ps2sdk just confirmed the problem and did a pull request to fix it. Hence confirming I am right about the issue. Get a look yourself at the pull requests here

metchebe commented 2 years ago

Greetings, first of all thank you for the project.

I compiled 32bd7b3 this week, following the instructions for building in Docker, and I also have only a black screen when trying to run this on my PS2.

I may have misunderstood but I believe this was fixed, is this indeed the case? Or is there some other fix required to make this work?

I would appreciate any information.

xdccrlz commented 2 years ago

Have a black screen too. And size of elf is 14 Mb vs 16 Mb for working elf at 15.10.20 from fgsfdsfgs, compiled on gcc-3.2.3. Help, please. Maybe we need manual fix ps2dev for old toolchain, but code have many fixes, that no working with old toolchain.

Brandon98SE commented 2 years ago

I have a black screen too, compiled on Ubuntu 20.04 LTS running under WSL1 following the latest guide as of 2022-10-11

fgsfdsfgs commented 2 years ago

See #72 for more discussion about this and a temporary solution.