Skip to content

flatmapthatshit/Render96ex_macOS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Render96ex macOS Edition

Fork of Render96ex meant to run on macOS (Intel and Apple Silicon hardware)

Super.Mario.64.Render.96.macOS.edition.mp4

Higher quality video at: https://video.hardlimit.com/w/qQNssYGncBKhsztPARjD6q

I'll try to keep this repo up to date with both Render96ex tester branch and sm64ex nightly branch, but I'm not promising anything.

  • If you want to help sm64ex then go to their repo.
  • If you want to help Render96ex then go to their repo.
  • If you want to help here just open a PR.

Build instructions

  1. Clone this repo

    git clone [email protected]:flatmapthatshit/Render96ex_macOS.git
    
  2. Obtain a legal copy of the following Super Mario 64 ROM

    • sm64.us.z64 sha1: 9bef1128717f958171a4afac3ed78ee2bb4e86ce

    This repo does not include all assets necessary for compiling the ROMs.
    A prior copy of the game is required to extract the assets.
    Please don't ask for a copy of the game.

  3. Rename the ROM to baserom.us.z64 and place it into the repository's root directory.

  4. Install dependencies

    Install Homebrew if you don't have it already:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    

    Install the following dependencies:

    brew update
    brew install make mingw-w64 gcc sdl2 pkg-config glew glfw libusb
    

    * Tested with GCC 14.1.0

  5. Build the ROM

    Use Homebrew's GNU make because the version included with macOS is too old.

    gmake -j4
    

    For extra features check Render96's Build Arguments.

    In this repo the flags OSX_BUILD and TEXTURE_FIX are enabled by default. I have only tested with VERSION=US (which is also the default).

  6. (Optional) Combine the model pack:

    1. Obtain the latest release of the model pack. It can be found under https://github.com/Render96/ModelPack/releases (Render96_DynOs_v3.2.7z)
    2. Extract the contents of the .7z file into ./build/us_pc/dynos/packs
  7. (Optional) Combine the texture pack:

    1. Obtain the latest version of the texture pack.
      git clone https://github.com/pokeheadroom/RENDER96-HD-TEXTURE-PACK.git -b master
      
    2. Copy the contents of the gfx folder within the texture pack into ./build/us_pc/res/gfx/
  8. To start the game run the generated executable:

    cd build/us_pc/
    ./sm64.us.f3dex2e
    

Check Render96's wiki page for in depth help on compiling

https://github.com/Render96/Render96ex/wiki

Configuration

By default the game configuration file (sm64config.txt), DynOS config (DynOS.1.1.alpha.config.txt) and Save data are located at:

~/Library/Application Support/sm64ex/

To access the files on macOS open Finder, press + + G and paste the path above.

Most settings can also be changed in-game by pressing the Start button (mapped to Space by default) followed by either L (mapped to Right Shift) for Game Settings or Z (mapped to K) for DynOS settings.

To restore the default settings delete the sm64config.txt file.

Controls

For information on default keybindings check Render96's Wiki Help FAQ.

You can change the keybindings by editing the sm64config.txt file or accessing the in-game controls menu.

Here's an example in which Xbox Controller's left and right bumpers are mapped to Nintendo 64's R bumper, while Xbox Controller's left and right triggers are mapped to Z.

key_l 002a 1104 ffff
key_r 0036 1009 100a
key_z 0025 101a 101b

Enable the Model Pack

To enable the model pack (see build instructions above), open the in-game DynOS settings, go to Model Packs and enable Render96 DynOs pack.

TODO (Help wanted)

  • Fix tester and tester_rt64alpha branches.
    The main blocker ATM is getting https://miniaud.io/ to build under Homebrew's version of GCC.
  • Modify the build process to generate a macOS Application Bundle.
    This is important as I haven't found a good macOS compatible launcher for Render96.
    I already have a solution for this, but I'm currently waiting for authorization to use a certain icon artwork.
    For now folks will have to make do with a solution such as https://github.com/machinebox/appify and a script like:
    #!/usr/bin/env bash
    cd /path/to/Render96ex_macOS/build/us_pc
    ./sm64.us.f3dex2e
    
  • Contribute M1 specific build fixes to https://github.com/sm64pc/sm64ex
  • Contribute relevant changes back to https://github.com/Render96/Render96ex
    For this one we definitely need to get tester and tester_rt64alpha to build (alpha is somewhat abandoned).

Releases

No releases published

Packages

No packages published

Languages

  • C 94.7%
  • C++ 3.9%
  • Assembly 0.9%
  • Python 0.4%
  • Makefile 0.1%
  • Shell 0.0%