Skip to content

arianrhodsandlot/retro-assembly-vendors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Retro Assembly vendors

Scripts for build upstream files for Retro Assembly.

Usage

Our work contains three steps:

  1. Apply patches to some upstream repository (currently there is only RetroArch need to be patched), for better usage inside browser or bug fixes.
  2. Compile RetroArch cores with Emscripten following instructions indroduced here: RetroArch Web Player.
  3. Archive the wasm and js files.

By running make the above steps will automatically run sequentially.

Then all RetroArch cores will be built and archived in zip format. All artifacts will be put inside a dist directory.

In addition, RetroArch cores will be uploaded to NPM for further usage in Retro Assembly via jsDelivr, a public CDN service that can delegate access to NPM files.

Debugging cores

  1. Start a static HTTP server at the root of the project. Maybe python3 -m http.server is a convenient choice.
  2. Visit http://localhost:8000/demo/index.html
  3. Select a core and upload a ROM, then the selected RetroArch core will run.

Credits

License

GPL-3.0