Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3 4
  ignore  |  Print  
  JEmu2 online again  (Read 16563 times)
0 Members and 1 Guest are viewing this topic.
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Posted 2005-06-18 14:13:04 »

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  Tongue)
F11 : toggle throttling (default = off)
F12 : toggle vsync (default = on)

Have fun.  Smiley

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

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #1 - Posted 2005-06-18 14:47:31 »

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

Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #2 - Posted 2005-06-18 15:17:39 »

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

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #3 - Posted 2005-06-18 15:18:43 »

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


weird  Huh I can connect myself to http://jemu2.frandt.com no problem...
Maybe I should get myself a real host and stop being a freeloader.

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #4 - Posted 2005-06-18 15:55:25 »

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

Offline princec

JGO Kernel


Medals: 339
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #5 - Posted 2005-06-18 16:33:13 »

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

Cas Smiley

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #6 - Posted 2005-06-18 18:01:04 »

Quote
All the games are 404s. And it looks suspiciously like the old site, with only about 5 games on it.
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?
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.

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #7 - Posted 2005-07-02 13:04:27 »

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.)

Offline zero

Junior Member





« Reply #8 - Posted 2005-07-02 20:09:19 »

works fine on my notebook running fedora core 4 Smiley,
btw. with joypad support would be even better..
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #9 - Posted 2005-08-08 10:55:01 »

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)

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 742
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #10 - Posted 2005-08-08 11:24:16 »

1  
2  
3  
4  
5  
6  
7  
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

 Sad

~~

EDIT:

Worked second time (few minutes later)...

1  
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.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #11 - Posted 2005-08-08 13:58:13 »

1  
2  
3  
4  
5  
6  
7  
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

 Sad

~~

EDIT:

Worked second time (few minutes later)...

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


The wonders of Java Web Start  Undecided. 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.
Quote
~~

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.


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.

Quote
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
}

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


Quote
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.

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

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 742
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #12 - Posted 2005-08-08 14:46:55 »

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.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #13 - Posted 2005-08-08 14:50:13 »

Thanks a lot!

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

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #14 - Posted 2005-08-08 19:44:58 »

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

Offline anarchotron

Junior Member




...precious bodily fluids.


« Reply #15 - Posted 2005-08-08 20:44:04 »

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)


Offline zparticle

Senior Member




Thick As A Brick


« Reply #16 - Posted 2005-08-08 20:59:52 »

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

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #17 - Posted 2005-08-08 21:23:39 »

Oh craps  Angry

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

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!  Smiley

Offline zparticle

Senior Member




Thick As A Brick


« Reply #18 - Posted 2005-08-08 21:51:51 »

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

Offline CaptainJester

JGO Knight


Medals: 12
Projects: 2
Exp: 14 years


Make it work; make it better.


« Reply #19 - Posted 2005-08-09 01:04:51 »

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

Online kappa
« League of Dukes »

JGO Kernel


Medals: 74
Projects: 15


★★★★★


« Reply #20 - Posted 2005-08-09 03:30:00 »

works for me, unfortunetly NO SOUND, i'm running linux.

great work though, can wait for some of my other favorites "street fighter 2" (ssf2t) Grin
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #21 - Posted 2005-08-09 10:15:36 »

works for me, unfortunetly NO SOUND, i'm running linux.

In the front end, you can see which games have sound and wich games don't.

Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #22 - Posted 2005-08-10 12:42:19 »

Check out my highscore on command... Shocked

Bug:
During the startup message/copyright thing, press left Cntrl, then ESC, you automagically get a high score of 7571290...


Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #23 - Posted 2005-08-11 00:56:01 »

Thanks for the report.
I already built in a delay for registering scores, and I disabled the reset for just that. I only didn't implement the delay at commando (maybe 1942 too) yet.

EDIT:
Correction: I just saw what you mean, and the delay won't fix it. I guess I'll have to find another way. Maybe disabling input during the delay, or setting the parsed score to 0 if any alphanumeric characters are parsed. Or both.

Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #24 - Posted 2005-08-11 02:22:10 »

I fixed it in the score parser. It won't parse any alphanumeric characters anymore.
I won't upload it until somewhere the beginning next month though, for bandwidth reasons. (Note to self: Take a look at jardiff and implement it)

Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #25 - Posted 2005-08-11 13:31:45 »

F3 (reset the simulator) doesn't work on my machine...I have to exit it and start again..

Also, it would be nice if the pause button released the mouse and cooled off the rendering loop so I can do other stuff while my boss is around Wink

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #26 - Posted 2005-08-12 13:38:09 »

F3 (reset the simulator) doesn't work on my machine...I have to exit it and start again..

Reset only works in games without high score saving.

Quote
Also, it would be nice if the pause button released the mouse and cooled off the rendering loop so I can do other stuff while my boss is around Wink

Good idea to release the mouse  too, but JEmu2 should already be pretty idle when the game is in pause.
The emulation is suspended (including the rendering and sound), only the backbuffer is redrawn a few times a second. The rest of the time it sleeps (IIRC, when in pause it sleeps 50ms, then it redraws)
Maybe I should also implement an "aargh my boss is coming" panic-button too, which will pause and minimize JEmu2 in one stroke Grin (although you can already use ALT-TAB of course).

Offline Riven
« League of Dukes »

JGO Overlord


Medals: 742
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #27 - Posted 2005-08-12 17:07:21 »

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.

Sorry for the late reply, forgot about this thread...

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
readRequest();
saveAllWork();
quitEclipse();
goToSite();
launchApp();
selectGame();
runGame();

while(screen.isBlack())
   scared();

while(game.isNotBoring())
   game.insertCoins();


...

Well, no crash! Smiley

~~~~~~~~

So can LWJGL be 'patched' in such a way that it does NOT allow pixeldepth-changes on ATIs ? (for the time being)

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline erikd

JGO Ninja


Medals: 16
Projects: 4
Exp: 14 years


Maximumisness


« Reply #28 - Posted 2005-08-15 12:05:04 »

Thanks for that. Good that it seems to be working for everybody now.  Smiley

Soon I will upload a newer version which with the following updates (amongst others):

* YM2203 emulation! This enabled sound in Commando, 1943, 1943 Kai and Gun Smoke (more to follow later, most notably Black Tiger and 1942 but probably more). Now JEmu 2 has FM sound emulation Cool

* Added drivers for Arkanoid (with sound and mouse control), Mario Bros., Scramble and War of Bugs.

As soon as I've uploaded the new version, I'll post an update here.

Offline darkprophet

Senior Member




Go Go Gadget Arms


« Reply #29 - Posted 2005-08-15 12:35:41 »

Quote
This enabled sound in Commando

Get ready for some cheesy music everybody! Tongue I really do think that commando is one of the best games on there...keep it up eric

Friends don't let friends make MMORPGs.

Blog | Volatile-Engine
Pages: [1] 2 3 4
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

ctomni231 (39 views)
2014-07-18 06:55:21

Zero Volt (36 views)
2014-07-17 23:47:54

danieldean (29 views)
2014-07-17 23:41:23

MustardPeter (32 views)
2014-07-16 23:30:00

Cero (47 views)
2014-07-16 00:42:17

Riven (48 views)
2014-07-14 18:02:53

OpenGLShaders (38 views)
2014-07-14 16:23:47

Riven (37 views)
2014-07-14 11:51:35

quew8 (33 views)
2014-07-13 13:57:52

SHC (70 views)
2014-07-12 17:50:04
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!