Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-28-2013, 06:33 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
Quote:
Originally Posted by Cubical View Post
Dusty already told me I just forgot to edit my post. I thought I had included. I've since reformatted my computer and lost the changes. I could easily redo it but I'm kinda lazy and don't really want to because it works as it currently is. If anyone wants to fix it all i did was make it generate a new FILENAMECACHE.txt in the ./Graal directory that would generate when it opened.
recreated your changes by using JDGUI and adapting your code to Oracle Java instead of openJDK, which might not work for most people (didn't work for me)

src is available at github, also created a pullrequest to dusty's repo to maintain a centralized place for the code.
Attached Files
File Type: zip NW2PNG2.1.zip (30.5 KB, 2134 views)
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
Reply With Quote
  #2  
Old 06-03-2013, 06:51 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by Cubical View Post
I created a patched version of this. The fixed Jar and source are in zip below. If anyone has problems with it I'll work on getting it fixed.
Quote:
Originally Posted by Deas_Voice View Post
recreated your changes by using JDGUI and adapting your code to Oracle Java instead of openJDK, which might not work for most people (didn't work for me)

src is available at github, also created a pullrequest to dusty's repo to maintain a centralized place for the code.
Neither of your patches work for me. Cubical's opens, but the process halts at "Generating..." while Deas' java file refuses to open altogether.

Edit: This "Generating..." hang is now happening with Dusty's submissions too.
Reply With Quote
  #3  
Old 06-03-2013, 07:20 PM
cyan3 cyan3 is offline
Registered User
cyan3's Avatar
Join Date: Nov 2005
Location: England
Posts: 2,919
cyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant future
Quote:
Originally Posted by Emera View Post
Neither of your patches work for me. Cubical's opens, but the process halts at "Generating..." while Deas' java file refuses to open altogether.

Edit: This "Generating..." hang is now happening with Dusty's submissions too.
Deas version won't run for me either. I suspect it has something to do with the manifest because it throws this error message when I run it though the terminal:

HTML Code:
no main manifest attribute, in NW2PNG2.1.jar
Edit: The problem was because the manifest doesn't indicate what the main class is and can be easily fixed by adding the text below to the manifest file:

HTML Code:
Class-Path: .
Main-Class: src.org.graalcenter.nw2png.GraphicalNW2PNG

Last edited by cyan3; 06-03-2013 at 07:26 PM.. Reason: .
Reply With Quote
  #4  
Old 06-03-2013, 07:36 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by cyan3 View Post
Deas version won't run for me either. I suspect it has something to do with the manifest because it throws this error message when I run it though the terminal:

HTML Code:
no main manifest attribute, in NW2PNG2.1.jar
Edit: The problem was because the manifest doesn't indicate what the main class is and can be easily fixed by adding the text below to the manifest file:

HTML Code:
Class-Path: .
Main-Class: src.org.graalcenter.nw2png.GraphicalNW2PNG
See, when I open the manifest file, those lines are already there.

HTML Code:
Manifest-Version: 1.0
Class-Path: .
Main-Class: src.org.graalcenter.nw2png.GraphicalNW2PNG
This is what I get from my console.

HTML Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Aaron>cd C:\Users\Aaron\Downloads

C:\Users\Aaron\Downloads>java -Xmx1024m -jar mapimg\map\NW2PNG2.1.jar
no main manifest attribute, in mapimg\map\NW2PNG2.1.jar

C:\Users\Aaron\Downloads>
Which is exactly the same, haha.
Reply With Quote
  #5  
Old 06-03-2013, 07:38 PM
cyan3 cyan3 is offline
Registered User
cyan3's Avatar
Join Date: Nov 2005
Location: England
Posts: 2,919
cyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant futurecyan3 has a brilliant future
Quote:
Originally Posted by Emera View Post
See, when I open the manifest file, those lines are already there.

HTML Code:
Manifest-Version: 1.0
Class-Path: .
Main-Class: src.org.graalcenter.nw2png.GraphicalNW2PNG
They aren't in Deas version or at least not for me.
Reply With Quote
  #6  
Old 06-03-2013, 07:48 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Quote:
Originally Posted by cyan3 View Post
They aren't in Deas version or at least not for me.
That's odd. I'm defo using Deas' version too. I tried deleting the file and adding it to the jar again, but still no luck. It always returns that error.
Reply With Quote
Reply


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

Forum Jump


All times are GMT +2. The time now is 04:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.