jtryba
Posted @ 23:50:08 on 2020-10-08
You can now play Super Mario 64 nativity on the xbox!
*Note: To follow this tutorial, you will need a
64 bit windows machine.
Just follow these few easy steps:
(1) Install and update MSYS2, following all the directions listed on
https://www.msys2.org/. (read step 2 first) (intsall in C:\\msys64)
(2) From the start menu, launch:
"MSYS2 MinGW 64-bit" (do NOT launch "MSYS2 MSYS"):
(3) Set Msys2 email:
Code:
git config --global user.email you@example.com
(3) Set Msys2 username:
Code:
git config --global user.name Your Name
(4) Install dependencies:
Code:
pacman -S make cmake git bison flex python3 mingw-w64-x86_64-gcc mingw-w64-x86_64-llvm mingw-w64-x86_64-clang mingw-w64-x86_64-lld
(5) Change directory:
The MSYS2 terminal has a current working directory that initially is C:msys64home<username> (home directory).
At the prompt, you will see the current working directory in yellow.
~ is an alias for the home directory. You can change the current working directory to My Documents by entering:
Code:
cd /c/Users/<username>/Documents
(6) Clone sm64 pc port:
Code:
git clone https://github.com/sm64-port/sm64-port sm64x
(7) Enter new directory:
(8 ) Acquire ROM:
copy your sm64 rom to C:\\Users\<username>\Documents\sm64x (MUST be vanilla IE: "Super Mario 64 (U) [!].z64")
(9) Prepare ROM:
Rename rom to
<-- change "us" to your region if not using US.
(10) Clone xbox patch:
Code:
git clone https://github.com/mborgerson/xsm64.git
(11) Apply patch:
Code:
git apply xsm64/patch/0001-xbox.patch
(12) Copy xbox dependencies:
Code:
cp -ruT xsm64/src src
(13) Clone nxdk:
Code:
git clone --recurse-submodules https://github.com/XboxDev/nxdk.git
(14) Make xbox executable:
Code:
make TARGET_XBOX=1 bin/default.xbe -j4 <-- change 4 to number of proccessor cores
(15)
FTP into your xbox (WinSCP, FlashFXP, Filezilla, or simalar)
(16)
Upload
(17)
Enjoy!
-jtryba
Donate
jtryba
Posted @ 15:12:16 on 2020-10-09
*Note: If you mess up your code you can restart with:
Code:
git reset --hard origin/master
git am xsm64/patch/*
cp -ruT xsm64/src src
make TARGET_XBOX=1 bin/default.xbe
-jtryba
Donate
jtryba
Posted @ 20:18:17 on 2020-10-16
Fix the joystick deadzone
(1) From the start menu, launch: "MSYS2 MinGW 64-bit" (do NOT launch "MSYS2 MSYS"):
(2) Change directory:
Code:
cd /c/Users/<username>/Documents/sm64x
(3) Clone joy fix:
Code:
git clone https://github.com/jtryba/SDL_xboxjoystick.git joyfix
(4) Apply fix:
Code:
cp -ruT joyfix/SDL_xboxjoystick.c nxdk/lib/sdl/SDL2/src/joystick/xbox/SDL_xboxjoystick.c
(5) Build project again:
Code:
make TARGET_XBOX=1 bin/default.xbe -j4
(6)
FTP into your xbox (WinSCP, FlashFXP, Filezilla, or simalar)
(7)
Upload
(8 )
Enjoy!
-jtryba
Donate
jtryba
Posted @ 23:11:32 on 2020-10-22
also see this link: github.com/sm64-port/sm64-port/pull/18...
It fixes translations from xbox joystick variables to the n64.
The error is understandable, as there is conflicting data on the subject.
-jtryba
Donate
jtryba
Posted @ 21:17:19 on 2020-10-29
Mario Smoke Fix
Source:
www.romhacking.net...
Simply Open /actors/burn_smoke/model.inc.c
On line 47, change the reference G_IM_FMT_RGBA to G_IM_FMT_IA.
At build time, this will compile the texture into IA16 format (correct) instead of RGBA16 (incorrect).
See the link above for screenshots.
-jtryba
Donate
jtryba
Posted @ 02:01:14 on 2020-11-23
Yoshi Dialog Typo Fix
Open /text/us/dialogs.h
On line 1985 change the word "It" to "Is".
Recompile and upload.
-jtryba
Donate