Skip to content
This repository was archived by the owner on Aug 5, 2020. It is now read-only.

Releases: JamesDunne/bsnes-angelscript

v109.3-angelscript

16 Sep 15:31

Choose a tag to compare

v109.3-angelscript Pre-release
Pre-release

This is a work-in-progress tech demo of bsnes enhanced with the AngelScript scripting engine. This release is strictly MacOS only. I have been exclusively developing and testing on MacOS; not tested on Windows or Linux.

Sample script included is alttp-link-oam.as which can be loaded via the Tools menu "Load Script..." option. This script is designed to work with The Legend of Zelda: A Link To The Past SNES title and has only been tested against the US v1.2 ROM but it may work with earlier versions and other regions and perhaps even for randomizer-created ROMs.

Demo video: https://www.youtube.com/watch?v=ZKjiE2MBXSU

HOW TO RUN IT (MacOS only):

  1. Drop to a Terminal and run sudo ifconfig lo0 alias 127.0.0.2 up to create a loopback alias for 127.0.0.2.
  2. Open one instance of bsnes-angelscript.app and load your ALTTP ROM and load the included script (via Tools > Load Script...).
  3. A dialog box should appear with Server IP: "127.0.0.1" and Client IP: "127.0.0.2".
  4. Click "Start" button
  5. Open another instance of bsnes-angelscript.app and load your ALTTP ROM and load the included script (via Tools > Load Script...).
  6. The same dialog box should appear with Server IP and Client IP.
  7. Switch these two values so that Server IP is "127.0.0.2" and Client IP is "127.0.0.1". This will enable the two instances to communicate with one another.
  8. Click "Start" button
  9. Play through the game on both emulators (or load a save state) to where Link can be seen and interacted with.
  10. Test to make sure visual fidelity is upheld and that the other player's Link avatar appears well-integrated into the Hyrule world just as the local Link does.