Pages: 1
  Print  
Author Topic: [Ubuntu] Updating ENIGMA + LateralGM  (Read 846 times)
Offline (Male) Reiddsan
Posted on: April 21, 2014, 02:28:32 AM

Member
Joined: Apr 2014
Posts: 12

View Profile WWW Email
I've been having some issues with the latest LateralGM update. Mostly that i can't compile games anymore:

Code: [Select]
******** Make Completed Successfully ********
`$exe` == '$exe': true
1 Adding Sprites to Game Module:
Done writing sprites.
Finalized sprites.
0 Sounds:
Done writing sounds.
0 Adding Backgrounds to Game Module:
Done writing backgrounds.
1 Adding Fonts to Game Module:
Iterating included fonts...
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

Is there a piece of code I can run in Ubuntu to make sure that I have the bleeding latest version of ENIGMA & LateralGM? I think this might be an issue with me only updating the LateralGM.jar file by itself by downloading it instead of updating every single file.

Any thoughts? I was so excited to start compiling the "First Game" tutorial a few days ago and it's sad to see that I haven't been able to do it since.
Logged
Offline (Male) Reiddsan
Reply #1 Posted on: April 21, 2014, 02:33:25 AM

Member
Joined: Apr 2014
Posts: 12

View Profile WWW Email
nevermind, i just found the answer to my own question on the wiki:

Code: [Select]
cd enigma-dev
git pull

so simple i should have known this  :ohdear:
Logged
Offline (Male) Goombert
Reply #2 Posted on: April 21, 2014, 02:34:13 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
Yes it is because you updated the new LGM and plugin jars without updating the engine code, there was a major change which was support for UTF-8 encoded strings and Unicode fonts.

Basically, just cd to enigma-dev, then type git fetch and hit enter, then do git pull. Once it is done go ahead and java -jar lateralgm.jar and everything should work again!

Edit: Looks like you got it :)
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: 1
  Print