New online emulator RAZE (100% written in Rust, Open Source, MIT license)

Struggling with Fuse or trying to find an emulator with a specific feature. Ask your questions here.
User avatar
Luzie
Manic Miner
Posts: 913
Joined: Fri May 01, 2020 2:07 pm

Re: New online emulator RAZE (100% written in Rust, Open Source, MIT license)

Post by Luzie »

rodrigo wrote: Fri Dec 17, 2021 11:12 am
Luzie wrote: Sat Nov 06, 2021 8:14 pm Suggestion: How about support for USB-Joysticks? Would be nice.
It already have a somewhat experimental support for the JS gamepad API. It works for my gamepad, but YMMV, particularly because every gamepad/joystick is different, and currently there is no way to configure anything.
I just discovered on https://github.com/rodrigorc/raze:
There is also experimental support for gamepads: The gamepad will always emulate a Kempston joystick, great for multiplayer games. Remember that this is experimental, so your controller may or may not work
Tried an working with my Joystick-Adapter "iCode4 Port Retro USB Adapter for Atari Joysticks and Paddles (Plus Edition)" (https://www.icode.com/product/4-port-re ... s-edition/) under Windows/Mozilla Firefox/RAZE v1.8:

Image

Thank you!
Wall_Axe
Manic Miner
Posts: 501
Joined: Mon Nov 13, 2017 11:13 pm

Re: New online emulator RAZE (100% written in Rust, Open Source, MIT license)

Post by Wall_Axe »

I'm using a 2018 android galaxy phone.

The emulator makes noise as soon as i press the reset button.... and it doesn't stop.

It's chrome 114.0.5737
And android 7.11
rodrigo
Drutt
Posts: 9
Joined: Thu Sep 16, 2021 8:38 am

Re: New online emulator RAZE (100% written in Rust, Open Source, MIT license)

Post by rodrigo »

Sorry for the late replies, I've been out of touch for a while... :oops:

To @Luzie :
> Are you building it under MacOS?

No, I'm building it on Linux, that is far easier, it has all the build dependencies built-in.

My guess is that it is failing while building some tool, because the final WASM doesn't have a dependency on openssl-sys. Unfortunately I don't know how to fix that. Maybe if you have a modern enough Windows you can try the WSL (Windows Subsystem for Linux). Or a Linux Virtual Machine. Or ditch Windows and install Linux, as I did a few years ago :geek:.

RAZE can run offline, of course, and any modern web browser should just work. You can clone/checkout the https://github.com/rodrigorc/raze/tree/gh-pages branch, run a web server there such as `python -m http.server`, and open http://localhost:8000/.

And yes, accessing the local system from a browser is tricky, maybe you are thinking of https://www.electronjs.org? Not a fan myself but maybe it fits your bill...

----

To @Wall_Axe:

> The emulator makes noise as soon as i press the reset button.... and it doesn't stop.

Your Chrome version is not too old, it should work. My guess is that your phone (or your Chrome version) is too slow for the emulation, when that happens the audio stream is interrupted every few audio frames and that sounds as a clicking sound.You can check if that is the case by waiting for a while after clicking the "Reset 128K" and see if you eventually get to the 128K menu.

Maybe you can try with another browser, such as Firefox? Or maybe you are limiting the CPU usage of the browser, with some "save battery" feature? Did you try with the phone connected to the charger?
Post Reply