Super Mario 64 PC port has been released!

  • Thread starter Deleted User
  • Start date
  • Views 159,010
  • Replies 283
  • Likes 33

Alex4nder001

Part-time thug
Member
Joined
Jul 28, 2017
Messages
453
Trophies
0
Location
London
XP
1,621
Country
United Kingdom
I can't get it to run (Windows 10 Pro N 64 bit). When I try to run it nothing happens but it creates dxgi.log:
Code:
15:31:54:910 [01152] | INFO  | Initializing crosire's ReShade version '4.6.1.827' (64-bit) built on '2020-04-14 19:10:10' loaded from "D:\username\Programs\Super Mario 64 PC\dxgi.dll" into "D:\username\Programs\Super Mario 64 PC\mario.exe" ...
15:31:54:979 [01152] | INFO  | Registering hooks for "user32.dll" ...
15:31:54:979 [01152] | INFO  | > Libraries loaded.
15:31:54:979 [01152] | INFO  | > Found 13 match(es). Installing ...
15:31:54:994 [01152] | INFO  | Registering hooks for "ws2_32.dll" ...
15:31:54:994 [01152] | INFO  | > Delayed.
15:31:54:994 [01152] | INFO  | Registering hooks for "C:\Windows\system32\d2d1.dll" ...
15:31:54:994 [01152] | INFO  | > Delayed.
15:31:54:994 [01152] | INFO  | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
15:31:54:994 [01152] | INFO  | > Delayed.
15:31:54:994 [01152] | INFO  | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
15:31:54:994 [01152] | INFO  | > Delayed.
15:31:54:994 [01152] | INFO  | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
15:31:54:994 [01152] | INFO  | > Delayed.
15:31:54:994 [01152] | INFO  | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
15:31:54:994 [01152] | INFO  | > Delayed.
15:31:54:994 [01152] | INFO  | Registering hooks for "C:\Windows\system32\d3d12.dll" ...
15:31:54:994 [01152] | INFO  | > Libraries loaded.
15:31:54:994 [01152] | INFO  | > Found 7 match(es). Installing ...
15:31:55:017 [01152] | INFO  | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
15:31:55:017 [01152] | INFO  | > Delayed until first call to an exported function.
15:31:55:017 [01152] | INFO  | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
15:31:55:017 [01152] | INFO  | > Delayed.
15:31:55:017 [01152] | INFO  | Initialized.
15:31:55:017 [01152] | INFO  | Redirecting CreateDXGIFactory2(Flags = 0, riid = {1BC6EA02-EF36-464F-BF0C-21CA39E5168A}, ppFactory = 000000000148B510) ...
15:31:55:017 [01152] | INFO  | Installing export hooks for "C:\Windows\system32\dxgi.dll" ...
15:31:55:017 [01152] | INFO  | > Found 8 match(es). Installing ...
15:31:55:017 [01152] | INFO  | Redirecting D3D12CreateDevice(pAdapter = 00000000021919C0, MinimumFeatureLevel = 0xb000, riid = {189819F1-1DB6-4B57-BE54-1821339B85F7}, ppDevice = 0000000000000000) ...
15:31:55:017 [01152] | INFO  | Redirecting CreateDXGIFactory2(Flags = 0x80000000, riid = {1BC6EA02-EF36-464F-BF0C-21CA39E5168A}, ppFactory = 000000000205F1E8) ...
15:31:55:017 [01152] | WARN  | D3D12CreateDevice failed with error code DXGI_ERROR_UNSUPPORTED!
15:31:55:017 [01152] | INFO  | Redirecting D3D12CreateDevice(pAdapter = 0000000000000000, MinimumFeatureLevel = 0xb000, riid = {189819F1-1DB6-4B57-BE54-1821339B85F7}, ppDevice = 000000000148B518) ...
15:31:55:017 [01152] | INFO  | Redirecting CreateDXGIFactory2(Flags = 0x80000000, riid = {1BC6EA02-EF36-464F-BF0C-21CA39E5168A}, ppFactory = 000000000205F1E8) ...
15:31:55:017 [01152] | WARN  | D3D12CreateDevice failed with error code DXGI_ERROR_UNSUPPORTED!
15:31:56:213 [01152] | INFO  | Exiting ...
15:31:56:213 [01152] | INFO  | Uninstalling 36 hook(s) ...
15:31:56:220 [01152] | INFO  | Finished exiting.
I tried manually installing DX12 and it was already up to date. IDK what else to do. Any ideas?

EDIT: Using Intel HD graphics on an i5-3470. I have an old Nvidia card lying around but its performance is worse.
 
Last edited by Alex4nder001,

JaapDaniels

Well-Known Member
Member
Joined
Apr 22, 2012
Messages
1,192
Trophies
1
Age
40
Website
github.com
XP
2,430
Country
Netherlands
shut
I can't get it to run (Windows 10 Pro N 64 bit). When I try to run it nothing happens but it creates dxgi.log:
Code:
15:31:54:910 [01152] | INFO  | Initializing crosire's ReShade version '4.6.1.827' (64-bit) built on '2020-04-14 19:10:10' loaded from "D:\username\Programs\Super Mario 64 PC\dxgi.dll" into "D:\username\Programs\Super Mario 64 PC\mario.exe" ...
15:31:54:979 [01152] | INFO  | Registering hooks for "user32.dll" ...
15:31:54:979 [01152] | INFO  | > Libraries loaded.
15:31:54:979 [01152] | INFO  | > Found 13 match(es). Installing ...
15:31:54:994 [01152] | INFO  | Registering hooks for "ws2_32.dll" ...
15:31:54:994 [01152] | INFO  | > Delayed.
15:31:54:994 [01152] | INFO  | Registering hooks for "C:\Windows\system32\d2d1.dll" ...
15:31:54:994 [01152] | INFO  | > Delayed.
15:31:54:994 [01152] | INFO  | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
15:31:54:994 [01152] | INFO  | > Delayed.
15:31:54:994 [01152] | INFO  | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
15:31:54:994 [01152] | INFO  | > Delayed.
15:31:54:994 [01152] | INFO  | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
15:31:54:994 [01152] | INFO  | > Delayed.
15:31:54:994 [01152] | INFO  | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
15:31:54:994 [01152] | INFO  | > Delayed.
15:31:54:994 [01152] | INFO  | Registering hooks for "C:\Windows\system32\d3d12.dll" ...
15:31:54:994 [01152] | INFO  | > Libraries loaded.
15:31:54:994 [01152] | INFO  | > Found 7 match(es). Installing ...
15:31:55:017 [01152] | INFO  | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
15:31:55:017 [01152] | INFO  | > Delayed until first call to an exported function.
15:31:55:017 [01152] | INFO  | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
15:31:55:017 [01152] | INFO  | > Delayed.
15:31:55:017 [01152] | INFO  | Initialized.
15:31:55:017 [01152] | INFO  | Redirecting CreateDXGIFactory2(Flags = 0, riid = {1BC6EA02-EF36-464F-BF0C-21CA39E5168A}, ppFactory = 000000000148B510) ...
15:31:55:017 [01152] | INFO  | Installing export hooks for "C:\Windows\system32\dxgi.dll" ...
15:31:55:017 [01152] | INFO  | > Found 8 match(es). Installing ...
15:31:55:017 [01152] | INFO  | Redirecting D3D12CreateDevice(pAdapter = 00000000021919C0, MinimumFeatureLevel = 0xb000, riid = {189819F1-1DB6-4B57-BE54-1821339B85F7}, ppDevice = 0000000000000000) ...
15:31:55:017 [01152] | INFO  | Redirecting CreateDXGIFactory2(Flags = 0x80000000, riid = {1BC6EA02-EF36-464F-BF0C-21CA39E5168A}, ppFactory = 000000000205F1E8) ...
15:31:55:017 [01152] | WARN  | D3D12CreateDevice failed with error code DXGI_ERROR_UNSUPPORTED!
15:31:55:017 [01152] | INFO  | Redirecting D3D12CreateDevice(pAdapter = 0000000000000000, MinimumFeatureLevel = 0xb000, riid = {189819F1-1DB6-4B57-BE54-1821339B85F7}, ppDevice = 000000000148B518) ...
15:31:55:017 [01152] | INFO  | Redirecting CreateDXGIFactory2(Flags = 0x80000000, riid = {1BC6EA02-EF36-464F-BF0C-21CA39E5168A}, ppFactory = 000000000205F1E8) ...
15:31:55:017 [01152] | WARN  | D3D12CreateDevice failed with error code DXGI_ERROR_UNSUPPORTED!
15:31:56:213 [01152] | INFO  | Exiting ...
15:31:56:213 [01152] | INFO  | Uninstalling 36 hook(s) ...
15:31:56:220 [01152] | INFO  | Finished exiting.
I tried manually installing DX12 and it was already up to date. IDK what else to do. Any ideas?

EDIT: Using Intel HD graphics on an i5-3470. I have an old Nvidia card lying around but its performance is worse.
stop using reshade? You might be trying to use raytrace edition, and your graphics card isn't good enough to get that up and running.
could be wrong though, i've got version no reshade.
 
Last edited by JaapDaniels,

Pitchounet

Member
Newcomer
Joined
Jan 14, 2018
Messages
5
Trophies
0
Age
54
XP
67
Country
France
I think you're not using the correct source code; the official version from the GitHub repository doesn't contain the necessary code to allow it to compile on PCs. However, someone already posted a diff file that can be used on that repository if you don't want to search for the source code archives that already do have the necessary code built-in.

Even with this, same problem. I try to install qemu-irix via msys2 but i don't arrive. qemu ok installed, but not qemu-irix.
 
Last edited by Pitchounet,

Alex4nder001

Part-time thug
Member
Joined
Jul 28, 2017
Messages
453
Trophies
0
Location
London
XP
1,621
Country
United Kingdom
shut

stop using reshade? You might be trying to use raytrace edition, and your graphics card isn't good enough to get that up and running.
could be wrong though, i've got version no reshade.
The mario.exe file is identical to all the other versions I've downloaded (I compared checksums for all files) which are usually the mario.exe and nothing else. I've tried moving mario.exe to a seperate directory and running it, but it does nothing. I've tried running as administrator, and I've tried every compatibility setting, and nothing works.
 

JaapDaniels

Well-Known Member
Member
Joined
Apr 22, 2012
Messages
1,192
Trophies
1
Age
40
Website
github.com
XP
2,430
Country
Netherlands
The mario.exe file is identical to all the other versions I've downloaded (I compared checksums for all files) which are usually the mario.exe and nothing else. I've tried moving mario.exe to a seperate directory and running it, but it does nothing. I've tried running as administrator, and I've tried every compatibility setting, and nothing works.
you don't need to replace or move mario, shut the application:

15:31:54:910 [01152] | INFO | Initializing crosire's ReShade version '4.6.1.827' (64-bit) built on '2020-04-14 19:10:10' loaded from "D:\username\Programs\Super Mario 64 PC\dxgi.dll" into "D:\username\Programs\Super Mario 64 PC\mario.exe" ...
15:31:54:979 [01152] | INFO | Registering hooks for "user32.dll" ...
it's trying to enhence directx game or opengl game (depending on your mario port).
this enhencement tool is crashing your game, might be wrong setup there.
for more info visit:
https://reshade.me/
and:
https://reshade.me/forum/troubleshooting
 
Last edited by JaapDaniels,

FGFlann

Well-Known Member
Member
Joined
Nov 10, 2015
Messages
664
Trophies
0
XP
1,422
Country
I raised the drawing and spawning distance of all the enemies/objects in the game, completely eliminating pop-in. So good! The experience is so much better for it. I'm having a ball with access to this source code.
 

Attachments

  • draw1.png
    draw1.png
    1.5 MB · Views: 239
  • draw2.png
    draw2.png
    1.5 MB · Views: 251
  • draw3.png
    draw3.png
    1,015.5 KB · Views: 249
  • draw4.png
    draw4.png
    1,020.7 KB · Views: 225

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
I raised the drawing and spawning distance of all the enemies/objects in the game, completely eliminating pop-in. So good! The experience is so much better for it. I'm having a ball with access to this source code.
Nice.
Any chance of some shots from the desert/pyramid level (Shifting Sand Land)? While probably not as immediately recognisable as the first level I reckon that would probably showcase such a mod quite well out of all of them.
 

FGFlann

Well-Known Member
Member
Joined
Nov 10, 2015
Messages
664
Trophies
0
XP
1,422
Country
When I get there I'll make a point of getting some. There's some fine tuning that needs to be done for certain objects. So I'll be going through area by area making sure everything functions correctly.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
I did wonder if some things had "when visible" rather than within radius behaviours that would be troubled by this.

Oh well when you get there then -- you can still see what it brings from those, was just that those would be the true test/best example unless you got a nice angle on tall tall mountain or added a walk on air type cheat/truly free camera.

If no fog/draw distance problems are to be a thing with this decompilation lark I hope we get Mario Kart (though most of it is built to not be as troubled by this) and Perfect Dark as that could make for some interesting things.
 

Worldblender

Well-Known Member
Member
Joined
May 27, 2019
Messages
326
Trophies
0
Age
27
XP
2,241
Country
United States
I raised the drawing and spawning distance of all the enemies/objects in the game, completely eliminating pop-in. So good! The experience is so much better for it. I'm having a ball with access to this source code.
Where are the source code changes, or diff/patch file, that we can use to apply the changes to the source code? I don't know where to add in these changes to be compiled in.
 

FGFlann

Well-Known Member
Member
Joined
Nov 10, 2015
Messages
664
Trophies
0
XP
1,422
Country
Where are the source code changes, or diff/patch file, that we can use to apply the changes to the source code? I don't know where to add in these changes to be compiled in.
I'll upload something when it's ready. Like I said, there's fine tuning that needs to be done. Such as cannon barrels never spawning in which need their loops altered, Chain Chomp trying to attack out-of-sight Mario needs his behaviour altered. But to get a basic idea of how it will look you can sed all instances of oDrawingDistance = xxxx to 20000 to make most things visible. Coins/Goombas/Cannons and other things require a bit more work.
 

FGFlann

Well-Known Member
Member
Joined
Nov 10, 2015
Messages
664
Trophies
0
XP
1,422
Country
I see someone else already submitted this idea to the git while I was sleeping, lol. -_-

There's no point in continuing in that case, but as promised here is shifting sand land.
draw5.png
 

splatool

Well-Known Member
Newcomer
Joined
May 24, 2015
Messages
56
Trophies
0
Age
34
XP
167
Country
Barbados
Has anyone successfully gotten it to compile /for the N64/ yet? Changed ROMs that skip the intro etc would be god tier.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    The Real Jdbye @ The Real Jdbye: sure, it can be hands free