Pages: 1 [2]
  Print  
Author Topic: Alpha version of An Untitled Story --game is complete-able!  (Read 4465 times)
Offline (Male) time-killer-games
Reply #15 Posted on: December 04, 2014, 08:39:34 PM

Member
Location: Virginia Beach
Joined: Jan 2013
Posts: 1050

View Profile WWW Email
the highest i can bump it up is to -Xmx1270m but it's still not enough. Any larger and LGM wont start
Logged
Offline (Unknown gender) sorlok_reaves
Reply #16 Posted on: December 04, 2014, 08:40:11 PM
Contributor
Joined: Dec 2013
Posts: 261

View Profile
TKG didn't have enough memory allocated for the JVM "java.lang.OutOfMemoryError: Java heap space" as indicated by output_log.txt

You can modify this from the command line parameter when launching LGM, on Windows you can also just edit the command in settings.ini

idecommand="java -jar -Xms256m -Xmx1000m"

Bump up the -Xmx value.

Good catch! My -Xmx value is already way up there for Iji. :P
Logged
Offline (Male) Goombert
Reply #17 Posted on: December 04, 2014, 08:45:57 PM

Contributor
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2983

View Profile
What exactly do you have it set to sorlok?

TKG, were you doing other things in LGM before trying to load the project?

I should build available RAM into the output logs, because it would help to know your computers system RAM and how much of it was in use. The reason you can't go higher than 1270 I believe is because of a 32bit JVM, 64bit Java programs can use unlimited RAM, but as far as I am aware LGM is buggy with a 64bit Java, though I am beginning to think that may have just become a common scapegoat for other problems on our part.
Logged
Offline (Male) time-killer-games
Reply #18 Posted on: December 04, 2014, 09:07:32 PM

Member
Location: Virginia Beach
Joined: Jan 2013
Posts: 1050

View Profile WWW Email
Heres what I did...

double click enigma.exe <lgm starts>, open egm, and poop
Logged
Offline (Unknown gender) sorlok_reaves
Reply #19 Posted on: December 04, 2014, 10:26:46 PM
Contributor
Joined: Dec 2013
Posts: 261

View Profile
What exactly do you have it set to sorlok?

2G on Linux. Also, as far as I am aware, I am using a 64-bit JVM:

Code: [Select]
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
Logged
Offline (Male) Goombert
Reply #20 Posted on: December 04, 2014, 10:53:55 PM

Contributor
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2983

View Profile
Ah this must be a big game then. TKG, you could try to install a 64bit Java on Windows and give it a try since it seems to work for sorlok, but it seems to be a crapshoot, for some people it works for others it don't.
Logged
Offline (Unknown gender) TheExDeus
Reply #21 Posted on: December 05, 2014, 12:24:08 PM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
What is exactly the reason why a 6.6mb gmk takes ~400mb when loaded? Especially when it doesn't have any large backgrounds in it as they are external. From the loading screen it seems the problem is with rooms. The way rooms are handled in LGM seems extremely inefficient. The way resources are written to ENIGMA's plugin also seems very inefficient.
Logged
Offline (Male) time-killer-games
Reply #22 Posted on: December 05, 2014, 02:40:00 PM

Member
Location: Virginia Beach
Joined: Jan 2013
Posts: 1050

View Profile WWW Email
I'll try out 64 bit java and will get back to you guys with the results. Thanks everyone for the help! :D
Logged
Offline (Unknown gender) TheExDeus
Reply #23 Posted on: December 14, 2014, 06:19:10 PM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
Another game you could try get running is Sun and Moon (http://ludumdare.com/compo/ludum-dare-29/?action=preview&uid=3479). I just saw it on Total Biscuit's channel (as it's a steam game now), but it was made for Ludum Dare and has source available. There is some problem with draw_set_font(font) when parsing, but when I comment that line out the game runs. So it only needed one change for compile to work. But nothing but the window shows on screen and music plays. The buttons for toggling music also works, but nothing else. There is some use of uninitialized variables that might be the problem. Maybe I will get it working when I have the time.
« Last Edit: December 15, 2014, 06:38:50 AM by TheExDeus » Logged
Offline (Unknown gender) sorlok_reaves
Reply #24 Posted on: December 14, 2014, 06:27:51 PM
Contributor
Joined: Dec 2013
Posts: 261

View Profile
Another game you could try get running is Sun and Moon (http://ludumdare.com/compo/ludum-dare-29/?action=preview&uid=3479). I just saw it on Total Biscuit's channel (as it's a steam game now), but it was made for Ludum Dare and has source available. There is some problem with draw_set_font(font) when parsing, but when I comment that line out the game runs. So it only needed one change for compile to work. But nothing but the window and music shows on screen. There is some use of uninitialized variables that might be the problem. Maybe I will get it working when I have the time.

Thanks, that's a good idea! If it's already running, then tracking down the remaining issues shouldn't be too hard. I'll have a look at it ---thanks for sending this my way!
Logged
Offline (Unknown gender) sorlok_reaves
Reply #25 Posted on: December 22, 2014, 10:03:48 PM
Contributor
Joined: Dec 2013
Posts: 261

View Profile
Figured it out. The reason The Sun and Moon doesn't work is because constants aren't handled properly in ENIGMA currently.



There are some other playability bugs, but this at least gets you to level 1.
Logged
Pages: 1 [2]
  Print