Hacking SM64 PS4 Port

OsirisX

Well-Known Member
OP
Newcomer
Joined
Jun 14, 2019
Messages
46
Trophies
0
XP
396
Country
United States
This is a native port based off the SM64 decompilation project. Source code can be found on the ps4 branch.

You must compile it yourself and please do not distribute binaries. Instructions on how to build are included in the source.

https://github.com/OsirizX/sm64-port/tree/ps4

Credits:
- The OpenOrbis team for their PS4 toolchain.
- fgsfds for the PS3 port.
- bythos14 for the Vita port.
- flatz for making OpenGL possible on the PS4.

05Gdj0b.jpg
 

moh86

Member
Newcomer
Joined
Aug 13, 2020
Messages
5
Trophies
0
Age
35
XP
53
Country
Austria
Im getting something like
"clang++ .... 'stddef.h' file not found" error on Ubuntu bionic. Does anybody know why?
 

grabman

Well-Known Member
Member
Joined
Sep 25, 2018
Messages
319
Trophies
0
Age
41
XP
551
Country
United States
Im getting something like
"clang++ .... 'stddef.h' file not found" error on Ubuntu bionic. Does anybody know why?

you have to install the following dependancies

llvm
clang
lld

I show this in Fedora (ironically on a ps4) here:


remember you need the liborbisps4toolchanin to be up and running to compile this. A helpful video from specterdev helped me to get it working:

 
Last edited by grabman,
  • Like
Reactions: moh86

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,206
Trophies
1
XP
5,811
Country
United Kingdom
Works Fine! :grog::grog:
Gameplay's perfect. Slight popping in the Audio for me tho, anyone else?

lol Mario 64's going to become the new Doom for sure :P
PC port = Check
DC Port = Check
PSP Port = Check
PSVita Port = Check
PS2 Port = Check
PS3 Port = Check
PS4 Port = Check
3DS Port = Check
Wii Port = Check
WiiU Port = Check
Switch Port = Check
 
D

Deleted User

Guest
Works Fine! :grog::grog:
Gameplay's perfect. Slight popping in the Audio for me tho, anyone else?

lol Mario 64's going to become the new Doom for sure :P
PC port = Check
DC Port = Check
PSP Port = Check
PSVita Port = Check
PS2 Port = Check
PS3 Port = Check
PS4 Port = Check
3DS Port = Check
Wii Port = Check
WiiU Port = Check
Switch Port = Check
How is your PS2 Port copy of the game? Runs smoothly?

Also, is the DC port missing details like on YouTube videos?
 

cvskid

Well-Known Member
Member
Joined
Apr 13, 2014
Messages
2,657
Trophies
1
XP
2,326
Country
United States
I haven't tried the PS2 or the DC port myself, only saw the Videos on Youtube.
The ps2 port runs pretty good from what i've tried. Mainly had a graphical glitch after the 2nd bowser fight but thats about it. Used OPL using a usb drive to play it. Haven't had the chance to try the dreamcast and native ps3 port. There's also an original xbox port but it doesn't run on real hardware yet.
 

ploggy

WAKA! WAKA!
Member
Joined
Aug 29, 2007
Messages
4,206
Trophies
1
XP
5,811
Country
United Kingdom
The ps2 port runs pretty good from what i've tried. Mainly had a graphical glitch after the 2nd bowser fight but thats about it. Used OPL using a usb drive to play it. Haven't had the chance to try the dreamcast and native ps3 port. There's also an original xbox port but it doesn't run on real hardware yet.
Ha forgot about Xbox.. Guess a 360 port won't be too far behind either :D

I bet OOT and Golden Eye will both be ported eventually (within a couple years probably) since they both have their own decompile projects ;)
 
  • Like
Reactions: cvskid
D

Deleted User

Guest
The ps2 port runs pretty good from what i've tried. Mainly had a graphical glitch after the 2nd bowser fight but thats about it. Used OPL using a usb drive to play it. Haven't had the chance to try the dreamcast and native ps3 port. There's also an original xbox port but it doesn't run on real hardware yet.
It does? The one I have is really laggy and choppy. :(
 

cvskid

Well-Known Member
Member
Joined
Apr 13, 2014
Messages
2,657
Trophies
1
XP
2,326
Country
United States
It does? The one I have is really laggy and choppy. :(
I'm thinking you might have an eariler build of the game. are you using real hardware? and if so what method are you using, dvd-r or usb through OPL? Also if mario has a huge mustache then chances are it really is a older build of the game.
 
D

Deleted User

Guest
I'm thinking you might have an eariler build of the game. are you using real hardware? and if so what method are you using, dvd-r or usb through OPL? Also if mario has a huge mustache then chances are it really is a older build of the game.
An old build guessing, and via FMCB. Games tend to run perfectly fine, but not Mario 64.

Same happened with Mario 64 on 3DS with an old build while the new build runs great.
 

stranno

Well-Known Member
Member
Joined
Feb 17, 2013
Messages
595
Trophies
0
XP
1,750
Country
Spain
It should work with that fw. You have placed both modules from the readme in /data/self/system/common/lib/?
:blink: For some weird reason I thought modules had to be copied inside the source code, instead of the console filesystem.

Now it works properly.
 

moh86

Member
Newcomer
Joined
Aug 13, 2020
Messages
5
Trophies
0
Age
35
XP
53
Country
Austria
@OsirisX I finally managed to compile and install the game. However while the US version works perfectly without any problems the EU version starts with an error (game is corrupted). Any idea why?
 
Last edited by moh86,
General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: Angry old man "Get off my lawn!!!"