Fork of sm64ex that has been tweaked to build for Windows 98 using a custom msys2 toolchain.
Download and install the newest version of Msys2
Open a msys2 32bit terminal and run the following commands:
pacman -Syy
pacman -S unzip make git python3
Do not install any version of gcc.
Download and install TDM-GCC 5.1
Download SDL1 for MinGW, extract its contents to the respective folders in your TDM-GCC install (I.E. contents of include go to TDM's include folder)
Download GLEW, version 2.1.0, for MinGW, extract its contents into your TDM-GCC install like you did for SDL.
Open include/sys/types.h from your TDM install in a text editor. Comment out the following line:
#ifndef _SSIZE_T_
#define _SSIZE_T_
typedef int _ssize_t;
#ifndef _NO_OLDNAMES
//typedef _ssize_t ssize_t; <--- comment out this line, found at line 118
#endif
#endif /* Not _SSIZE_T_ */
Save the file and exit
Copy a rom of us 1.0 mario 64 as baserom.us.z64 to the respository root.
Add your TDM's bin folder to your Msys2 terminal using the following command:
export PATH=$PATH:/driveletter/path/to/tdm/bin
Replace driverletter with the drive you installed TDM on, and fill in the path to the folder.
Run ezmake.sh to build. The result will be placed into the build folder in the repo root.
Before playing, open the copy of SDL you downloaded eariler, and copy SDL.dll from the archive's bin folder to the same location as your game's EXE
Download glew32.dll compiled for Windows 98 that I have provided. The copy included with the glew archive is compiled for Windows vista, and would thus require KernelEX. This version does not need KernelEX.
Place this file in the same folder as your game EXE. You can now enjoy Super Mario 64 on Windows 98!
Building on Linux is untested and unsupported.
Nothing atm