Thursday, June 30, 2011

Version 0.0xx (linux)

Hi,

due to a comment in the previous post I just uploaded the Linux version of Towns.
I'm developing the game under Windows so I can't test that version yet. It's possible that doesn't works at all.

You can downlad that version in the download panel (on the left). The launcher file it's 'towns.sh'.

Any comment from Linux users can be appreciated.

Supermalparit.

4 comments:

testblog said...

nope still not working. In most java programs you normally just need to launch a .jar file instead of a script. Maybe you should try to make it this way. This also ensure that this one version will work on all platforms (that have java virtual machine).

this is the output I got. (probably wrong parameters):

Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)

where options include:
-d32 use a 32-bit data model if available

-d64 use a 64-bit data model if available
-server to select the "server" VM
The default VM is server.

-cp
-classpath
A : separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D=
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:...|:]
-enableassertions[:...|:]
enable assertions
-da[:...|:]
-disableassertions[:...|:]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:[=]
load native agent library , e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:[=]
load native agent library by full pathname
-javaagent:[=]
load Java programming language agent, see java.lang.instrument
-splash:
show splash screen with specified image
Failed to load Main-Class manifest attribute from
/home/adriaan/sandbox/Towns/lib/lwjgl.jar
Failed to load Main-Class manifest attribute from
/home/adriaan/sandbox/Towns/lib/lwjgl_util.jar
invalid file (bad magic number): Exec format error

Supermalparit said...

Hi againa testblog,

if you take a look at the towns.sh content (using: cat towns.sh) you can see the command that I launch:
java -cp .;./lib/lwjgl.jar;./lib/lwjgl_util.jar;./xaos.jar -Djava.library.path=./lib/native/ xaos.Towns

It's just the java command that you mention. And.... now that I see that line, if I remember correctly the character to separate paths it's ':' instead of ';'.

Can you try that line?
java -cp .:./lib/lwjgl.jar:./lib/lwjgl_util.jar:./xaos.jar -Djava.library.path=./lib/native/ xaos.Towns

You can modify the script or launch it directly.

testblog said...

it worked, thanks

Nice job with your game. It has a lot of potential. I'm looking forward to the next versions.

greetz

Supermalparit said...

Great, I'll upload the Towns 0.11 (linux) right now.