Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [Odejava] New Build  (Read 2409 times)
0 Members and 1 Guest are viewing this topic.
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Posted 2006-01-15 12:03:36 »

I have finally created a new build of Odejava.

So that builds can happen more regularly (i.e. whenever there are major changes), I added an "cbuild" target to the odejava-xith3d's build.xml.

Download here: https://odejava.dev.java.net/servlets/ProjectDocumentList?folderID=2192&expandFolder=2192&folderID=0

Users of the really really old build will have to change instances of "new Space" to one of the space types like "HashSpace".

Cheers,

Will.

Offline otelo

Junior Member





« Reply #1 - Posted 2006-01-16 18:22:49 »

Any changes / fixes ?
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #2 - Posted 2006-01-18 10:01:31 »

Everything that's been added to Odejava over the last 12+ months.  I can't recall off the top of my head but the log messages in the mailing list:  https://odejava.dev.java.net/servlets/SummarizeList?listName=cvs should tell the story.

Most Odejava developers have been building from CVS as far as I know, this is mainly for new users.

One notible recent change is the addition of a dependancy on the Apache Commons Loggin API (.jar included) and the removal of the dependancy on Log4j - please adjust your classpath accordingly.

Will.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline otelo

Junior Member





« Reply #3 - Posted 2006-02-18 15:57:44 »

Is Odejava still being worked on / are there plans to invest some more time into it? I'm prepared to accept that making the Trimesh dynamics work correctly is too large of a task, but there are two features which I would like to see being implemented: contact depth, body auto-disable

Since manual body-disable as well as auto-body-enable work as is, one can implement an auto-disable capability directly in java, but I imagine the motion test can be done much faster natively.

If I understand it correctly, contact depth would decrease the amount of "trembling" considerably, making the eventually implemented auto-disable test perform more precisely.

I would also like to ask, why the step() function causes an EXCEPTION_STACK_OVERFLOW and native crashes so easily (small simulation with 5 GeomBoxes)? Is there a workaround or is it deprecated completely. stepFast() is working well for me.
Offline NewbTon

Junior Member




Odejava games rock!


« Reply #4 - Posted 2006-02-20 02:38:08 »

To avoid stack overflow, you must start your program with the vm arguments -Xss10m (10 mb  less or bigger) to make the stacksize bigger.
Online Riven
« League of Dukes »

JGO Overlord


Medals: 783
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #5 - Posted 2006-02-20 10:48:38 »

IIRC the *native* stack isn't big enough, which is not adjustable by setting VM parameters. It has to be set in the native lib.

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

Junior Member





« Reply #6 - Posted 2006-02-20 12:57:55 »

To avoid stack overflow, you must start your program with the vm arguments -Xss10m (10 mb  less or bigger) to make the stacksize bigger.

Thanks, that solved the issue.

Quote
IIRC the *native* stack isn't big enough, which is not adjustable by setting VM parameters. It has to be set in the native lib.

That's what I thought also, that the  .dll needs to be recompiled (always expecting the worst).
Offline Huzzah

Innocent Bystander





« Reply #7 - Posted 2006-02-20 19:15:11 »

First post here

I had the same problem with the stack overflow and tried the -Xss command at the command prompt and using Runtime.exec() but they did not seem to work.

However, when I reduced the stepInteractions() to 5 this seemed to have solved the VM crash problem.
Offline otelo

Junior Member





« Reply #8 - Posted 2006-02-28 10:06:43 »

Slightly off-topic by is there a way to specify a non standard option like the mentioned -Xss in the manifest inside of a jar file?
Offline irrisor

Junior Member





« Reply #9 - Posted 2006-02-28 14:04:51 »

I had the same problem with the stack overflow and tried the -Xss command at the command prompt and using Runtime.exec() but they did not seem to work.
The -Xss option works only on for threads spawned by the vm itself. The main thread gets the default stack size for the executable. Thus put your code into a new Thread.

Slightly off-topic by is there a way to specify a non standard option like the mentioned -Xss in the manifest inside of a jar file?
Not as far as I know. But at least you can specify it for a Webstart app (jnlp).
Pages: [1]
  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.

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

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

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

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

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

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

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

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

BurntPizza (44 views)
2014-08-09 21:09:32

BurntPizza (34 views)
2014-08-08 02:01:56
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!