Skip to content

burnedpopcorn/sm64plus-webport-PoC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SM64Plus Web Browser Port PoC

This is a fork of SM64Plus that attempts to make it playable in the web browser

image

image

AS OF 5/11/24,

only the launcher is useable, and the game itself isn't.

  • If I can get the game working along with the launcher, it will be on a different github repo, and this one will be archived (no promises)
  • Why that is the case is because this repository states it is a PoC (which it is for now), but if it develops to being fully functional, it will be inaccurate to say the least
  • Also music works, unlike my Pizza Tower Port (fmod sucks)

To run the project (if you really want to):

  • Download it and extract the .zip

This section will not include instructions to import this into a web server because there's no point (again the game itself doesn't even exist, just the launcher) and you should know how to if you have a web server anyways

For Linux

Open the Terminal and input: { cd '[File Path to]/SM64Plus_WebBuild_POC_Dump/runner/ } (not to any specific file, just the downloaded folder and DON'T include the brackets), then:

  • Input { python3 -m http.server }
  • Then open a Browser and open web page https://localhost:8000/runner.html (this link you can copy if you did the previous steps)
  • Then barely enjoy

For Windows

Open Powershell and do everything in the Linux instructions, but:

  • Input { py -m http.server }, instead of { python3 -m http.server }

Note

This assumes Python is installed on your Windows Computer

If not, install it, or use some other method to run a local web server

As the file:// protocol (double clicking on runner.html) does not work

  • Then continue with the Linux instructions (including barely enjoying)

To Compile for Yourself

  • Download the Source Code from Mors' Repository here
  • Import it into the 2022 LTS version of GameMaker Studio 2

Warning

Using any other version of GameMaker could and most likely would create problems when compiling

  • Make some changes if you want to contribute
  • Compile the project using the GX.GAMES and VM Export Options (HTML will not work unless some heavy modification is done if at all)
  • You can then just go to C:/Users/(your username)/AppData/Local/GameMakerStudio2-LTS/GMS2TEMP while locally running the game
  • In which you will find a folder called SM64Plus_(some numbers)_VM after you compiled the project
  • At which point you can copy the files to a non-temporary folder within your computer

Also the code for the actual game is here, but you need your own copy of sm64 to get the all the resources to port to the web browser

Note

If you will use this as a base for a full game port to go along side with this launcher, keep in mind that

  • You will need Emscripten to port it (Apparently version 1.39.5 works best, forgot where I heard that tho)

And it is very unlikely that both projects can actually communicate with each other like they're supposed to, which will make full functionality very hard to achieve without extensive work and knowledge being poured in, so good luck to anyone that's up to the task

Credits For the Original SM64Plus:

  • Mors: Most new things you see here!
  • Benial: Logo design.
  • Catonator: Launcher music and sound effects.
  • deanff: SM64Plus Remain Mod, which was merged in v3.0 as the more seamless progression option.
  • sm64-port Team: The port that was used as a base for this project.
  • A bunch of clever folks: The original decompilation used for the port.
  • Emil: The original 60FPS patch.
  • Kaze Emanuar: Providing certain bug fixes, making the original BLJ anywhere cheat, being buff.
  • sm64gs2pc: Used to convert the game shark codes into cheats.
  • And everyone who sent pull requests or reported issues. :)

About

A fork of sm64plus that attempts to make it playable within the web browser

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 100.0%