Emuforums.com

Go Back   Emuforums.com > Forum & Emulation News Discussion > Emulation News Submissions
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old August 11th, 2008   #41 (permalink)
Registered User
 
Join Date: Jun 2008
Location: UK
Posts: 5
This looks like a very cool project.

btw just curious why did you choose to use JOGL instead of LWJGL?

LWJGL is a much faster binding and includes support for OpenAL and JInput (for joysticks). Plus all the other major java emulators use it, such as JEmu2, jEnesis and that new java dreamcast emulator, etc.
emuboss is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old August 11th, 2008   #42 (permalink)
Emu author
 
shashClp's Avatar
 
Join Date: Sep 2006
Location: VisualC
Posts: 1,055
Quote:
Originally Posted by emuboss View Post
(...)
LWJGL is a much faster binding and includes support for OpenAL and JInput (for joysticks). Plus all the other major java emulators use it, such as JEmu2, jEnesis and that new java dreamcast emulator, etc.
Do you have real numbers for that affirmation? I mean the comparison between LWJGL and JOGL, I'm interested on proper profiling, not averages from differently implemented apps.

Also, using OpenAL bindings is painful due to the need by the user to install the runtime.

Oh, and kudos for the emulator to the author
__________________
Emulator development blog
shashClp is offline   Reply With Quote
Old August 11th, 2008   #43 (permalink)
Registered User
 
Join Date: Jun 2008
Location: UK
Posts: 5
I don't think there are many benchmarks comparing the two bindings, however I do remember one from the jake 2 site (port of quake 2 to java) over at

Bytonic Software

One of the key differences with LWJGL is that it is a lot more free of AWT while JOGL is pretty much tied to it. AWT brings a lot of bloat and isn't really optimal for games. Another advantage of being free of AWT is that this allows for small and easy compilation using GCC, so you can basically compile your java application into pure native code (e.g. produce an exe file).

As for OpenAL, the user doesn't need to install anything, all dependancies are included since OpenAL-Soft is used, this will automatically use any backend hardware acceleration where available such as DirectSound, Alsa, OSS, etc otherwise it'll fall back to software mode.
emuboss is offline   Reply With Quote
Old August 11th, 2008   #44 (permalink)
graham sanderson
 
Join Date: May 2006
Location: austin
Posts: 20
Quote:
Originally Posted by emuboss View Post
This looks like a very cool project.

btw just curious why did you choose to use JOGL instead of LWJGL?

LWJGL is a much faster binding and includes support for OpenAL and JInput (for joysticks). Plus all the other major java emulators use it, such as JEmu2, jEnesis and that new java dreamcast emulator, etc.
No reason, I hadn't really looked into it yet - I don't have any GL code yet. I'll check out LWJGL.
grahams is offline   Reply With Quote
Old August 11th, 2008   #45 (permalink)
EmuAddict-_-;;
 
cyclonmaster's Avatar
 
Join Date: Apr 2005
Location: Sarawak, Malaysia
Posts: 2,423
[quote]...new java dreamcast emulator, etc.[quote]

Was there one? Where? Link?
__________________

Windows XP SP2 | Monitor BenQ FP 91G+|AMD Athlon 64 3000+(9x239=2.145GHz) | Corsairs 512MB RAM 3-3-3-8 Dual Channel
Albatron 6600GT 128MB PCI-E | Albatron KXT890 ProII | WD SATA 120GB | SONY DVDRW DW-Q30A
cyclonmaster is offline   Reply With Quote
Old August 11th, 2008   #46 (permalink)
Registered User
 
Join Date: Jun 2008
Location: UK
Posts: 5
[quote=cyclonmaster;1419954][quote]...new java dreamcast emulator, etc.
Quote:

Was there one? Where? Link?
Not heard of it? In that case meet 'Esoteric' a java dreamcast emulator

Esoteric - my thesis project
emuboss is offline   Reply With Quote
Old August 11th, 2008   #47 (permalink)
Emu author
 
shashClp's Avatar
 
Join Date: Sep 2006
Location: VisualC
Posts: 1,055
Quote:
Originally Posted by emuboss View Post
(...)
One of the key differences with LWJGL is that it is a lot more free of AWT while JOGL is pretty much tied to it. AWT brings a lot of bloat and isn't really optimal for games. Another advantage of being free of AWT is that this allows for small and easy compilation using GCC, so you can basically compile your java application into pure native code (e.g. produce an exe file).
Ok, thanks for the information, wasn't aware of that. Does LWJGL have a signed jars for applet integration?

EDIT: It seems it does, just checked the documentation. I guess I'll do some profiling in the future and see if using it gets some more fps on my apps.

Quote:
Originally Posted by emuboss View Post
As for OpenAL, the user doesn't need to install anything, all dependancies are included since OpenAL-Soft is used, this will automatically use any backend hardware acceleration where available such as DirectSound, Alsa, OSS, etc otherwise it'll fall back to software mode.
Well, I used the Joal wrapper and using openAL needed the runtimes installed, else it won't even start the library.
__________________
Emulator development blog

Last edited by shashClp; August 11th, 2008 at 22:26..
shashClp is offline   Reply With Quote
Old August 11th, 2008   #48 (permalink)
Registered User
 
Join Date: Jun 2008
Location: UK
Posts: 5
Quote:
Originally Posted by shashClp View Post
Well, I used the Joal wrapper and using openAL needed the runtimes installed, else it won't even start the library.
Yeh, JOAL is a different project, one that is rather buggy and isn't updated or used much, LWJGL's sound support however is a different beast, its been used in many commercial games, such as the Oddlabs Games or PuppyGames (winners of many indie game awards) and other games like Bang Howdy (makers of runescape) use it too. Its been throughly tested on many machines probably one of the reasons many pick it up over JOGL. Recently NCSoft (large AAA MMORPG maker) also started using LWJGL for a yet unannounced game.

As for LWJGL applets theres been plenty of exciting updates in the latest 2.0 (beta) release, including the native Display being embedded into the applet, allowing for great performance, previously it was limited by the AWT update thread (something which still effects JOGL). An example can be found here ( notice the blue fullscreen switch). Using lwjgl for applets allows for fast speed hardware accelerated applets (sound, gfx and joypad input), previously not possible with standard java applets.
emuboss is offline   Reply With Quote
Old August 12th, 2008   #49 (permalink)
Registered User
 
Join Date: Nov 2006
Location: Portugal
Posts: 8
[quote=emuboss;1420031][quote=cyclonmaster;1419954]
Quote:
...new java dreamcast emulator, etc.

Not heard of it? In that case meet 'Esoteric' a java dreamcast emulator

Esoteric - my thesis project

Hello. I'm the developer of that project.I'm studying dynamic generation techniques based on a sh4 implementation in Java.
The source code at the google project is a bit outdated.

A screen can be found here .
Hope its ok to post at this thread.
Concerning the jogl vs lwjgl debate in terms of speed they are very much on pair but lwjgl is a bit more,like the name suggests, a low level gaming lib instead of opengl bindings.
NecroRomancist is offline   Reply With Quote
Old August 12th, 2008   #50 (permalink)
emu scene follower/addict
 
madprofessor's Avatar
 
Join Date: Oct 2003
Location: Greece
Posts: 33
so there you have it, a whole new race of emulators in java

congrats to NecroRomancist for very promising project!
madprofessor is offline   Reply With Quote
Old August 12th, 2008   #51 (permalink)
Registered User
 
Shin_Gouki's Avatar
 
Join Date: Jan 2003
Location: Europe / Germany
Posts: 842
@NecroRomancist
I highly recommend you the resources from JPSX ( see page2) and maybe you should ask graham for the source so you can take a look at his dynarec or how he called it :
2 Stage Compiler
__________________
yes i have a mac, so what?
Shin_Gouki is offline   Reply With Quote
Old August 15th, 2008   #52 (permalink)
Video Game obssesed
 
LinkSlayer64's Avatar
 
Join Date: May 2008
Location: Massachusetts
Posts: 10
Not to seem bothersome, but is there anyway for me to get a chance to use this? I'd love to try it out.
__________________
No I did not slay Link. Link (my favorite character) + Slayer ( a cool word, go figure :P) + 64 (it fits, and 64-N64, OOT is my favorite game)=LinkSlayer64.
LinkSlayer64 is offline   Reply With Quote
Old September 28th, 2008   #53 (permalink)
Registered User
 
Shin_Gouki's Avatar
 
Join Date: Jan 2003
Location: Europe / Germany
Posts: 842
LinkSlayer64 did you yet get it?

@all others were still looking for devoted java developers to continue JPSX!, get in touch here!
__________________
yes i have a mac, so what?
Shin_Gouki is offline   Reply With Quote
Old September 28th, 2008   #54 (permalink)
Registered User
 
heatblazer's Avatar
 
Join Date: Jun 2008
Location: Bulgaria
Posts: 616
[quote=NecroRomancist;1420289][quote=emuboss;1420031]
Quote:
Originally Posted by cyclonmaster View Post


Hello. I'm the developer of that project.I'm studying dynamic generation techniques based on a sh4 implementation in Java.
The source code at the google project is a bit outdated.

A screen can be found here .
Hope its ok to post at this thread.
Concerning the jogl vs lwjgl debate in terms of speed they are very much on pair but lwjgl is a bit more,like the name suggests, a low level gaming lib instead of opengl bindings.

Debian... Azureus, Amarok, DesktopResolution, tray icons.... You are cool, actually
__________________
Kikaioh! GO!
heatblazer is offline   Reply With Quote
Old September 28th, 2008   #55 (permalink)
 
shafeen's Avatar
 
Join Date: Aug 2006
Location: india<<hyderabad..it rocks>>
Posts: 2,770
if you need testers gimme a pm

i have a low end machine<<p4/intel graphics/256mb ram>>

btw a whole new breed of emulators seem to have taken up wat next jps2?? :P
__________________


Quote:
and if I don't care , do I still get to suck your scrotum? please say yes xp
^^posted by sonic

shafeen is offline   Reply With Quote
Old September 29th, 2008   #56 (permalink)
Registered User
 
Join Date: May 2007
Location: Somewhere
Posts: 72
Okay so I'm a bit noobish here ^^ Buuuut, what's special about it when it's coded in java?
__________________
Sony VAIO VGN-Z11XN/B
Windows Vista Business 32-bit
13.1" 16:9 X-Black 1600x900 LCD display
C2D P8600 2.4ghz
4GB DDR3 1066mhz
- Hybrid Graphics System -
Geforce 9300M GS 256MB
Intel GMA 4500HD
Czez is offline   Reply With Quote
Old September 29th, 2008   #57 (permalink)
Registered User
 
Shin_Gouki's Avatar
 
Join Date: Jan 2003
Location: Europe / Germany
Posts: 842
JPSX for example uses a "Java-only" Software Renderer.
Since there exist people like those:epxse VGS combine?

who mess arround with DX and such( i wonder if they get java running) But thats the fact the ONLY thing they have to do is get Java running then it works no other OPERATING SYSTEM related issues. Just Run it on Linux, mac, Windows or which Unix u got(invcluding VM) Hell even if Haiku is someday finished( it got its own OpenJDK port already!!) this would run there!

So basically everywhere you can run Java SE you could run this emu. I Have mac for example, and there isn't much about PSX Emus on the mac so JPSX is relly cool. Even if its only "partial" working

Maybe you could see this also as an effort to get away from Microsoft DX as an Emulator API ( while i of course understand why so many Emu coders use it) but as you can see there IS another way.

As the Java API's for Emucoding (lowlevel) evolve i really hope the developers see that to support multiple platforms AND to code in a good way Java is a nice thing!

So you got that answer?
__________________
yes i have a mac, so what?
Shin_Gouki is offline   Reply With Quote
Old September 29th, 2008   #58 (permalink)
 
shafeen's Avatar
 
Join Date: Aug 2006
Location: india<<hyderabad..it rocks>>
Posts: 2,770
Quote:
Originally Posted by Czez View Post
Okay so I'm a bit noobish here ^^ Buuuut, what's special about it when it's coded in java?
for me its just about the variety........more emulators=.diversification=less compatibility problems
__________________


Quote:
and if I don't care , do I still get to suck your scrotum? please say yes xp
^^posted by sonic

shafeen is offline   Reply With Quote
Old September 30th, 2008   #59 (permalink)
Registered User
 
niuus's Avatar
 
Join Date: Nov 2006
Location: Caracas
Posts: 332
Quote:
Originally Posted by NecroRomancist View Post
Hello. I'm the developer of that project.I'm studying dynamic generation techniques based on a sh4 implementation in Java.
The source code at the google project is a bit outdated.

A screen can be found here
Amazing, really amazing. Keep up!
__________________
Quote:
Originally Posted by Hard core Rikki View Post
If games don't work in emulators, play it on the real Gamecube.
Uh? No Gamecube? How about NOT playing these games?
Main Rig:
Motherboard: abit Fatal1ty F-I90HD / CPU: Intel Core 2 Quad Q6600@2.90GHz (Thermaltake Big Typhoon fan)/ RAM: Corsair Xtreme XMS2 4GB DDR2@800 / Video: Radeon HD 2600XT (Catalyst 9.9) / Sound: Soundblaster X-Fi ElitePro / Speakers: Creative Inspire 5.1 5200 / HD: Hitachi 500GB SATAII / OS: Windows XP SP2+ 64bit

niuus is online now   Reply With Quote
Old September 30th, 2008   #60 (permalink)
Registered User
 
Join Date: May 2007
Location: Somewhere
Posts: 72
Shin_Gouki:
Yeah I got it. So technically it's possible to run it in every OS with no compatibility issues (as long as it can run java?). That's why some guy asked about PS3 linux, interesting
__________________
Sony VAIO VGN-Z11XN/B
Windows Vista Business 32-bit
13.1" 16:9 X-Black 1600x900 LCD display
C2D P8600 2.4ghz
4GB DDR3 1066mhz
- Hybrid Graphics System -
Geforce 9300M GS 256MB
Intel GMA 4500HD
Czez is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 01:28.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5