fgsfdsfgs / sm64-port

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

Can't build PlayStation 2 port on Windows 7 #46

Closed 60fpshacksrock closed 3 years ago

60fpshacksrock commented 3 years ago

Is there any other way than having to use Docker? It doesn't work right on Windows 7, I get some error about VT-X not wanting to work on 7. My PC does have virtualization, and it is enabled in the BIOS. Even VirtualBox works, but not Docker.

fgsfdsfgs commented 3 years ago

Yeah, there's instructions right below the Docker instructions. Get a Linux VM in VirtualBox and follow that.

60fpshacksrock commented 3 years ago

After much trial and error, with different Linux versions, (Ubuntu, Debian and Lubuntu) I have finally come really close to making it work (with Linux mint). However, I am stuck at the CP command. My ROM is located at /home/username/Desktop. I am not entirely sure what the CP path/to/baserom.us.z64 means. Could you give me an example of how it should be typed. In the meantime, I'll keep trying.

fgsfdsfgs commented 3 years ago

Just put it into the sm64-port folder.

60fpshacksrock commented 3 years ago

I did get it, but there's a new problem. n64 graphics.c:1:10: fatal error stdio.h No such file or directory

There is more, but copy/paste isn't working from VB to Windows host.

https://ibb.co/t3xTXMD

fgsfdsfgs commented 3 years ago

I don't know what the problem is there. (Re)install the gcc package maybe?

60fpshacksrock commented 3 years ago

Using Synaptic Package Manager to try and install them separately. Hmm...Don't see Python 3 on there, only 2.

60fpshacksrock commented 3 years ago

After installing Python 2.7, and whatever else I could from SPM, I followed your instructions and it worked. Thank you. I was also wondering, have you thought about porting it to PPC? (GC/Wii)

fgsfdsfgs commented 3 years ago

I have tried, but I got stuck on some GX graphics memes. Maybe someone else can do it.

60fpshacksrock commented 3 years ago

Oh okay, thanks. Also, I thought this had 60fps. I'm guessing it probably wouldn't work with a ROM patched with Kaze's 60fpsv2 patch.

fgsfdsfgs commented 3 years ago

No, you need to apply the 60fps patch before compiling the game. From the current state of your folder probably you need to do something like

make clean
git apply enhancements/60fps.patch

and then build the game again the same way you built it before. Do note that while it does unlock the FPS, the game won't reach 60 for the most part. The renderer is too shitty for that.

60fpshacksrock commented 3 years ago

Okay, thanks again. Still might try it sometime.