Pages: 1 2
Author Topic: Alpha version of An Untitled Story --game is complete-able!  (101,205 Views)
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #15 Posted on: December 05, 2014, 01:39:34 AM
the highest i can bump it up is to -Xmx1270m but it's still not enough. Any larger and LGM wont start
Offline (Unknown gender) sorlok_reaves

Contributor
Joined: Dec 2013
Posts: 260
View profile
Reply #16 Posted on: December 05, 2014, 01:40:11 AM
Quote from: Robert B Colton on December 05, 2014, 12:11:58 AM
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
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #17 Posted on: December 05, 2014, 01:45:57 AM
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.
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #18 Posted on: December 05, 2014, 02:07:32 AM
Heres what I did...

double click enigma.exe <lgm starts>, open egm, and poop
Offline (Unknown gender) sorlok_reaves

Contributor
Joined: Dec 2013
Posts: 260
View profile
Reply #19 Posted on: December 05, 2014, 03:26:46 AM
Quote from: Robert B Colton on December 05, 2014, 01:45:57 AMWhat 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:

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)
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #20 Posted on: December 05, 2014, 03:53:55 AM
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.
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #21 Posted on: December 05, 2014, 05:24:08 PM
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.
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #22 Posted on: December 05, 2014, 07:40:00 PM
I'll try out 64 bit java and will get back to you guys with the results. Thanks everyone for the help! :D
Offline (Unknown gender) TheExDeus

Developer
Joined: Apr 2008
Posts: 1,860
View profile
Reply #23 Posted on: December 14, 2014, 11:19:10 PM
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.
Offline (Unknown gender) sorlok_reaves

Contributor
Joined: Dec 2013
Posts: 260
View profile
Reply #24 Posted on: December 14, 2014, 11:27:51 PM
Quote from: TheExDeus on December 14, 2014, 11:19:10 PMAnother 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!
Offline (Unknown gender) sorlok_reaves

Contributor
Joined: Dec 2013
Posts: 260
View profile
Reply #25 Posted on: December 23, 2014, 03:03:48 AM
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.
Pages: 1 2