JEmu2 online again

http://jemu2.frandt.com/jemu2.jnlp

For those who don’t know what it is: JEmu2 is an arcade machine emulator, loosely based on MAME (but it’s not a port of MAME). It currently supports >100 games. It uses LWJGL for rendering.

The current version has a (very) simple front end where you can choose a game to start. The version online has 27 games installed. Please notice that when you start a game for the 1st time, it might take a little while (depending on your internet connection) for the game to start. This is because the game downloads are marked for lazy downloading, and there’s no “Loading…” screen in the front end yet.

The controls:
Cursor keys : move
LCTRL, SPACE, LSHIFT, Z : buttons
5 : insert coin
1 : start
F3 : reset
F10 : screen shot (although I’m not sure where it will be stored when started with JWS :P)
F11 : toggle throttling (default = off)
F12 : toggle vsync (default = on)

Have fun. :slight_smile:

EDIT: Also notice that the online high score server is not working atm, so your scores will not be saved.

[quote]> jemu2.frandt.com
Non-authoritative answer:
Name: jemu2.frandt.com
Address: 70.150.216.100

telnet jemu2.frandt.com 80
Connecting To jemu2.frandt.com…Could not open connection to the host, on port 80: Connect failed
[/quote]

I started 1943, then waited a while (2 minutes), then i got an error box saying:

Cannot initialise GL
Cause:null

and thats it…

I tried it again and it worked…dunno what happened first time tho.

DP

[quote]> jemu2.frandt.com
Non-authoritative answer:
Name: jemu2.frandt.com
Address: 70.150.216.100

telnet jemu2.frandt.com 80
Connecting To jemu2.frandt.com…Could not open connection to the host, on port 80: Connect failed
[/quote]
weird ??? I can connect myself to http://jemu2.frandt.com no problem…
Maybe I should get myself a real host and stop being a freeloader.

works again now - no sound ? - or just black tigeR?

All the games are 404s. And it looks suspiciously like the old site, with only about 5 games on it.

Cas :slight_smile:

[quote]All the games are 404s. And it looks suspiciously like the old site, with only about 5 games on it.
[/quote]
You should not start the site, but the link to the jnlp I posted. I have to redo the site.

[quote]works again now - no sound ? - or just black tigeR?
[/quote]
Black Tiger doesn’t have sound. The games with sound are Bomb Jack, Galaga, Green Beret, Hexa, Space Invaders, Pacman, Ms Pacman, pingpong, solomon’s key.

As mentioned elsewhere on the forum, JEmu2 is updated to use the latest version of LWJGL. If people could check if it still works (especially people with macs or linux), it would be appreciated.

http://jemu2.frandt.com/jemu2.jnlp

(Be aware that the server is extremely unreliable. If the link doesn’t work, try again a minute later.)

works fine on my notebook running fedora core 4 :),
btw. with joypad support would be even better…

There have been a few updates in JEmu2:

  • New host http://www.gagaplay.com
  • 28 games online
  • Online high score saving in place for 9 games now (Pacman, Ms.Pacman, Galaga, Commando, 1942, Donkey Kong, Donkey Kong Jr., Donkey Kong 3 and Black Tiger)

An error occurred while launching/running the application.

Title: JEmu2
Vendor: GA*GA Play
Category: Download Error

Found unsigned entry in resource: http://www.gagaplay.com/jemu2/JEmu2.jar

JRE 1.5.0_04

:frowning:

~~

EDIT:

Worked second time (few minutes later)…

valueOf(Java) & valueOf(firstImpression) = 0x00

~~

EDIT 2:

So I tried “Black Tiger”, which lived up to it’s name probably rendering a black tiger on a black background, so everything was black. When I ran out of patience about about 30s of blackness, I ALT-TABed my way out of it, and that was when everything broke down. CPU usage was 100%, all GUIs has a response-time of like >1min and I was unable to interact with anything, as opening the Task Manager took me 3 minutes, scrolling down to find the java(w).exe to kill it turned out to be impossible as each and every GUI update took about 30s. After fighting with it for 20 minutes, I gave up and had to reboot, losing some unsaved code in Eclipse.

So ehm… could you do something like:

while(true)
{
// run engine logic

if(Display.isVisible() && Display.isActive())
// run rendering code
else
// sleep for like >10ms
}

Note that it looked like you selected a DisplayMode with a different BPP that my current DisplayMode, which leads to all kinds of havoc. This is just an assumption, as I saw very weird colored pixels (but I could see the image-patterns) while ALT-TABing.

The wonders of Java Web Start :-. There’s nothing I can do to fix this. The jars I upload are always signed (it’s all done in a script) and I didn’t upload a new version after I posted this message, so the error message you got is bogus.

Let me guess: ATI?
I hate to ask you, knowing it could screw your PC again, but if you could try again in Windowed mode that would be great.
It looks like the same problem CaptainJester had, where (judging from profiler output) it seems that the video driver choked on a glEnd() when in full-screen mode. In windowed it worked fine.

Good point, I already had it on my to-do list. I just kept forgetting to actually put it in. :slight_smile:

Which is a driver issue I guess. Switching to a mode with another color depth should be no problem, right?

  1. Yup, ATi. (5.9 drivers, got em yesterday, so… bah)

  2. Yup, windowed-mode worked just fine.

  3. Well, ATi (again) doesn’t like BPP changes it seems.

Thanks a lot!

I’ll change the init code so that it will choose the current bitdepth.

Riven:
I now choose a color-depth which is the same as the current desktop setting.
Also, when the window is inactive or invisible, the emulator will sleep (like you suggested).

Could you (or CaptainJester) please give it another shot? If changing the color-depth was the problem it should be fixed now.

http://www.gagaplay.com

I get the download error as well, but I didn’t understand how to get around it:


------------------------------------------------------------------
An error occurred while launching/running the application.

Title: JEmu2
Vendor: GA*GA Play
Category: Download Error

Found unsigned entry in resource: http://www.gagaplay.com/jemu2/JEmu2.jar
------------------------------------------------------------------
JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
	at com.sun.javaws.security.SigningInfo.checkSigning(Unknown Source)
	at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown Source)
	at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
	at com.sun.javaws.cache.DownloadProtocol.getResource(Unknown Source)
	at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
	at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
	at com.sun.javaws.Launcher.downloadResources(Unknown Source)
	at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
	at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


Problem Initializing GL
Cause: Could not make context current.

Happens with all game drivers, in both windowed and full screen.

OS: Windows XP Pro SP2
Card: ATI Radeon X300 SE 64MB
Driver Version: 6.14.10.6444
Desktop: 1152x864x32bpp

Oh craps >:(

I uploaded another version, could you give it another go, please?
I think I created the display too soon. Maybe. I hope. :-\

As for the download error, AFAIK, there’s absolutely nothing I can do about it except hope the user doesn’t have some version of jws which will fail. I dubbelchecked and I see that the jar is signed for sure.

Thanks for trying! :slight_smile:

Yep that fixed my crash, thanks. Very cool stuff!

Woo Hoo. That fixed my problem. Works fullscreen no problem now.