Omnimaga

General Discussion => Technology and Development => Computer Projects and Ideas => Topic started by: Netham45 on November 30, 2011, 04:34:27 pm

Title: Web-based Wabbitemu Frontend
Post by: Netham45 on November 30, 2011, 04:34:27 pm
As some of you might recall, I started a project for a web-based Wabbitemu frontend about a year and a half ago. I stopped working on it after maybe a couple weeks. Recently, I picked it up again. I've reworked it into being a standalone webserver to overcome a number of issues that were caused by the more full webservers. This also simplifies the means for transferring data from the emulator to the webserver considerably.

Link: http://-snip-:81/
Note that this is running on my desktop and may not be up consistently, nor is it perfectly stable.
I'll also have to ask you guys not to poke around with the server too much, it doesn't have the best of error handling.

ToDo List:

Known bugs:

I'm planning on getting file/app uploading working on it, too.

I'll be posting the source code under whatever license Wabbit uses pretty soon, I just have a few things I want to clean up.
Title: Re: Web-based Wabbitemu Frontend
Post by: Juju on November 30, 2011, 05:46:47 pm
Awesome, Netham! Looks pretty awesome. And probably useful as well. You might easily integrate it on a website.
Title: Re: Web-based Wabbitemu Frontend
Post by: Deep Toaster on November 30, 2011, 06:19:06 pm
That is an awesome awesome, Netham45.

Any plans for mapping keyboard keys?
Title: Re: Web-based Wabbitemu Frontend
Post by: Netham45 on November 30, 2011, 06:22:22 pm
That is an awesome awesome, Netham45.

Any plans for mapping keyboard keys?

Done. Keys -should- be the same as wabbits keys.
Title: Re: Web-based Wabbitemu Frontend
Post by: Deep Toaster on November 30, 2011, 06:23:40 pm
Wow, that was fast O.O

And I just realized that you can just drag-and-drop the screen for an instant screenshot. Not sure if you meant for it to do that, but it's really convenient :D

And another thing: it sends a keypress only when the user releases a mouse key. That makes key repeat impossible (for the arrow keys and DEL). What about triggering on mouse down?
Title: Re: Web-based Wabbitemu Frontend
Post by: Netham45 on November 30, 2011, 06:24:50 pm
The way that keypresses are handled in the backend is awful. There's no queue or anything. Network latency also makes determining when the key was pressed/released near impossible.
Title: Re: Web-based Wabbitemu Frontend
Post by: Deep Toaster on November 30, 2011, 06:26:13 pm
That's too bad :/

Another thing: Ctrl works (ALPHA), but not Shift (2nd, CLEAR).
Title: Re: Web-based Wabbitemu Frontend
Post by: Netham45 on November 30, 2011, 06:26:40 pm
That's your browser blocking those keys.
Title: Re: Web-based Wabbitemu Frontend
Post by: Xeda112358 on November 30, 2011, 06:33:49 pm
Wow, that is cool!
Title: Re: Web-based Wabbitemu Frontend
Post by: Yeong on November 30, 2011, 06:36:12 pm
O.O
This is epic.
Title: Re: Web-based Wabbitemu Frontend
Post by: Hayleia on December 01, 2011, 01:04:15 am
Yay ! I am finally able to give you your +1 !
Title: Re: Web-based Wabbitemu Frontend
Post by: Deep Toaster on December 28, 2011, 01:25:57 pm
Any plans to get this back online? ;D
Title: Re: Web-based Wabbitemu Frontend
Post by: Hot_Dog on December 28, 2011, 02:23:07 pm
Wow, thank you Netham45!  It will be fun and convenient to use this!
Title: Re: Web-based Wabbitemu Frontend
Post by: alberthrocks on December 28, 2011, 06:55:15 pm
So this is a C Wabbitemu backend with a JS/HTML frontend? :)

(I've actually found a C to JS compiler - a serious one called Emscripten (https://github.com/kripken/emscripten/wiki). You might be able to have Wabbitemu all in a browser! :D I might try this...)

EDIT: You know what? I'm going to attempt this! :D Don't try it yet until I give up :P