Super Mario 64 PC port has been released!

  • Thread starter Deleted User
  • Start date
  • Views 158,996
  • Replies 283
  • Likes 33

Saturosias

thank
Member
Joined
Dec 27, 2010
Messages
601
Trophies
1
XP
559
Country
United States
The ray tracing is dogshit, literally just a post-processing shader lacking any proper reflectivity data on the textures. Carpet should not be a mirror.
 

cagycee

Well-Known Member
Newcomer
Joined
Jan 2, 2018
Messages
97
Trophies
0
Age
23
XP
745
Country
United States
I... guess I forgot. Sorry. Still, we don't want Nintendo getting uppity over this, that's all
oh yeah. I understand. I acted without even thinking of the precautions of what will happen to this site no matter if it was encrypted or not. I was wrong.
 

JorrickL

Member
Newcomer
Joined
Dec 26, 2015
Messages
7
Trophies
0
Age
27
XP
114
Country
Netherlands
how did you install qemu-irix?

followed step by step and when i run "make -j12 TARGET_N64=0" i get
Code:
which: no qemu-irix in (/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
Makefile:257: *** Please install qemu-irix package or set QEMU_IRIX env var to the full qemu-irix binary path.  Stop.
I didn't need to install that package, strange.
 

fgfemperor

Member
Newcomer
Joined
Nov 8, 2010
Messages
12
Trophies
0
XP
103
Country
Brazil
I managed to compile the DirectX12* version (the one with the menu text). I used this guide: https://rentry.co/io5p3
I tried following that guide but I'm getting this weird error:

Code:
g++.exe: error: src/pc/gfx/dxsdk/64/*.lib: Invalid argument

Any guidance is really appreciated!

Edit: Nevermind, I was missing some files! Sorry!
 
Last edited by fgfemperor,

Alpha_GX

Well-Known Member
Newcomer
Joined
Dec 11, 2016
Messages
45
Trophies
0
Age
28
XP
384
Country
France
It also works in the web browser when compiled with "TARGET_WEB=1".

GgKTsit.png
How did you you do to get the game running on a browser.
I've compiled the web ver and added the us_web folder in apache2, but when I open the web page it freeze right after the boot logo...
"Exception thrown, see JavaScript console"
upload_2020-5-6_18-40-34.png
 

bbsan2k

Well-Known Member
Newcomer
Joined
Jul 6, 2019
Messages
83
Trophies
0
Age
34
XP
1,443
Country
Germany
Attached is a patch from the sm64 decompilation commit 9273f38df135273d905ac14e7a090ebac4ba3ae9 to the PC version source code floating around.

You can apply using this command (after changing directory to the git clone of the sm64 decompilation and checking out commit 9273f38df135273d905ac14e7a090ebac4ba3ae9 from the sm64 decompilation repository):

Code:
patch -p1 -i/path/to/sm64pc.diff

Additionally, here is a patch to allow the compilation to succeed on macOS and Emscripten. In the Makefile, change "AS" to a working GNU assembler (any architecture), "CPP" to a working C preprocessor from GCC (any architecture), "OBJDUMP" to a working objdump from GNU Binutils (any architecture), and "OBJCOPY" to a working objcopy from GNU Binutils (any architecture). Use GNU Make to build the project.
If there are any missing libraries or dependencies, install them.

Unfortunately your diff files are failing for me...
Code:
 bbsan@Alex-MBP   ~/git/sm64pc     master~4    gmake TARGET_N64=0                                                                                                         2 ↵  2402  19:03:27 
Makefile:664: *** missing separator.  Stop.

I'm using gmake from homebrew and did not change anything else in the makefile.
 

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,878
Country
United States
Unfortunately your diff files are failing for me...
Code:
 bbsan@Alex-MBP   ~/git/sm64pc     master~4    gmake TARGET_N64=0                                                                                                         2 ↵  2402  19:03:27 
Makefile:664: *** missing separator.  Stop.

I'm using gmake from homebrew and did not change anything else in the makefile.
Change the spaces at the line number (and possibly the surrounding areas) to tabs.

(I think my text editor screwed up the Makefile)


How did you you do to get the game running on a browser.
I've compiled the web ver and added the us_web folder in apache2, but when I open the web page it freeze right after the boot logo...
"Exception thrown, see JavaScript console"
View attachment 207896
You need to put it on a web server that will respond with the correct MIME type.
The NPM package "http-server" is known to do this correctly.
 

bbsan2k

Well-Known Member
Newcomer
Joined
Jul 6, 2019
Messages
83
Trophies
0
Age
34
XP
1,443
Country
Germany
Change the spaces at the line number (and possibly the surrounding areas) to tabs.

(I think my text editor screwed up the Makefile)
This did the trick! Thx Needs to be changed to tabs

EDIT:
okay, running into lots of other issues... Seems I don't have a compatible "as" available - how did you get yours? yasm -p gas shows me some errors...
 
Last edited by bbsan2k,

uyjulian

Homebrewer
Member
Joined
Nov 26, 2012
Messages
2,567
Trophies
2
Location
United States
Website
sites.google.com
XP
3,878
Country
United States
This did the trick! Thx Needs to be changed to tabs

EDIT:
okay, running into lots of other issues... Seems I don't have a compatible "as" available - how did you get yours? yasm -p gas shows me some errors...
I used the as from mingw-w64. Any as will work as long as it is from the GNU binutils.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Watching the fallout series it is pretty decent