Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (492)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (556)
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]
  ignore  |  Print  
  Java4k Launcher (v1.1)  (Read 9686 times)
0 Members and 1 Guest are viewing this topic.
Offline Gef
« Reply #30 - Posted 2014-01-12 13:16:50 »

I've tested the 2 versions of the launcher on my Win7 64bit with JRE7 and the results are the same :

- Supway4k produce this


- In The Dark 4K works for me Wink

One suggestion, can you reactivate the "Play Game!" button when the window's game is closed ?.

EDIT: No problem with other 2014 games

Offline Groboclown
« Reply #31 - Posted 2014-01-12 17:19:29 »

I'll check out those issues soon and post an update when I have a fix.

If someone wants to volunteer to make a Mac bundle, please stand up.  Or, I guess I coulld invest some time looking into this article (http://www.intransitione.com/blog/take-java-to-app-store/), but I don't have any way to test it.

I could make that for you. I'm having holidays till this friday.
That would be greatly appreciated!

Also you should add judge comments Smiley

I'll check with Appel to see if he could add those to the Json output.

Offline moogie

JGO Knight


Medals: 12
Projects: 6
Exp: 10 years


Java games rock!


« Reply #32 - Posted 2014-01-12 21:08:23 »

I get the same error as Gef when attempting to play Supway4k.

However I am still unable to play In The Dark 4k... a game window is displayed that is completely blank (black) and no mouse click/keyboard events cause any change..
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Groboclown
« Reply #33 - Posted 2014-01-12 23:29:42 »

The Supway issue was due to a parsing problem with the applet size. Launching the tool from the jar directly isn't supported, so I added better error reporting. I'm still looking into the exe issue.

The issue around The Dark is actually due to a threading issue (I wouldn't have been able to find it without the posted source - thanks Gef!).  This is the same issue that some applets encountered when running on a Mac - the applet container wasn't ready when the graphics context was requested. Some applets will loop at the start, waiting for the isAvailable() call to return true.

I don't know the right fix for this one. Should the launcher be made to match of one specific JVM behavior (Windows) or another?

Offline moogie

JGO Knight


Medals: 12
Projects: 6
Exp: 10 years


Java games rock!


« Reply #34 - Posted 2014-01-13 07:41:34 »

well I would say yes, target the behaviour of the most common jvm as that should mean most entries should be playable.
Offline pjt33
« Reply #35 - Posted 2014-01-13 09:24:44 »

This is the same issue that some applets encountered when running on a Mac - the applet container wasn't ready when the graphics context was requested. Some applets will loop at the start, waiting for the isAvailable() call to return true.

I don't know the right fix for this one. Should the launcher be made to match of one specific JVM behavior (Windows) or another?
This has been the source of much controversy in the past, specifically in the 2009 competition when an update released near the end of the submission period introduced a bug in the applet lifecycle. Unfortunately I can never find the detailed analysis that I wrote up back then.
Offline Groboclown
« Reply #36 - Posted 2014-01-14 16:57:58 »

I added the fixes to the security classes, image size parsing, and some other little nuggets that were hiding around.  Still no judges comments  Sad

Java4K.exe doesn't work and neither does the JAR. Running the BAT file works.
The error with the JAR is a NullPointerException in File's constructor when you call it at line 80 of your Security class.

The direct-from jar launching should report a better error now.  As for the Java4k.exe - if run the "no bundled jre" version, it expects a 32-bit version of the JRE to be installed.  If you only have the 64-bit version, I'm guessing it won't run.  Which version did you try out?

Offline zeroone
« Reply #37 - Posted 2014-01-22 23:32:04 »

My Chrome browser just updated to the latest JRE.  Now, I get this error whenever I attempt to launch a 4K applet:



I'm sure I can tune the security settings, but I guess this is how most people will see the site from Chrome now.

Edit:

Through the Control Panel, I was able to turn off the check.  Now, I get this:



Ugh.
Offline NiceMan

Junior Newbie





« Reply #38 - Posted 2014-01-23 13:20:55 »

My Chrome browser just updated to the latest JRE.  Now, I get this error whenever I attempt to launch a 4K applet:



I'm sure I can tune the security settings, but I guess this is how most people will see the site from Chrome now.

Edit:

Through the Control Panel, I was able to turn off the check.  Now, I get this:



Ugh.
I get the same result in Firefox after the recent update. That message after you turned it off is what I already got in FF before the update.
Offline xsvenson
« Reply #39 - Posted 2014-01-23 13:41:53 »

Welcome to the future !

“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel


Medals: 345
Projects: 3
Exp: 5 years


I'm the King!


« Reply #40 - Posted 2014-01-24 02:57:14 »

Yup with Java 7u51 and after, ALL applets and webstart applications must be signed and the permissions attribute set. These are easily google-able though so it's pretty easy to sign your application and set the permissions.

Offline AppleSauce
« Reply #41 - Posted 2014-06-13 20:17:21 »

The website appears to be down. I love that GUI!!!!
Offline Groboclown
« Reply #42 - Posted 2014-06-14 02:50:00 »

I just tried the links:

http://groboclown.net/games/java4k-launcher/java4k-launcher-win32-nojre.zip
http://groboclown.net/games/java4k-launcher/java4k-launcher-win32-jre.zip
http://groboclown.net/games/java4k-launcher/java4k-launcher-nojre.zip
https://pikacode.com/groboclown/java4k-launcher/

and they seem to be working for me.  Let me know which site you're having difficulty with, and I'll investigate the issues.

Offline Mr.CodeIt

Junior Member





« Reply #43 - Posted 2014-06-14 03:02:47 »


Woah, I'm surprised you got on! I was having the problem with http://Java4k.com
It's working now, did you change anything? It might have been the fact that my internet shut of earlier.

I'm not drunk, I've just been up late coding.
Pages: 1 [2]
  ignore  |  Print  
 
 

 

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

The first screenshot will be displayed as a thumbnail.

Nickropheliac (16 views)
2014-08-31 22:59:12

TehJavaDev (23 views)
2014-08-28 18:26:30

CopyableCougar4 (33 views)
2014-08-22 19:31:30

atombrot (42 views)
2014-08-19 09:29:53

Tekkerue (41 views)
2014-08-16 06:45:27

Tekkerue (35 views)
2014-08-16 06:22:17

Tekkerue (26 views)
2014-08-16 06:20:21

Tekkerue (37 views)
2014-08-16 06:12:11

Rayexar (72 views)
2014-08-11 02:49:23

BurntPizza (49 views)
2014-08-09 21:09:32
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!