Pages: 1 2 »
  Print  
Author Topic: LateralGM seems to have just... stopped compiling?  (Read 3450 times)
Offline (Unknown gender) onpon
Posted on: November 04, 2014, 07:29:08 AM

Member
Joined: Feb 2010
Posts: 102

View Profile WWW Email
I'm trying to compile this with ENIGMA:

http://nintendocfc.com/uploads/userbooths/74/smgs_enginedemo_newcontrols.zip

But at some point, it seems to have just... stopped. No error or anything, it's just been sitting here supposedly doing something for an hour. I've tried three times with the same result.

This is the tail end of the output:

http://pastebin.com/fmGanyhi

There was also some stuff that didn't get sent to the text file I sent output to:

Code: [Select]
Gtk-Message: Failed to load module "canberra-gtk-module"
java.lang.IllegalArgumentException: Can't seek to 16,494 from 17006, position already passed (required skip: -512)
at org.lateralgm.file.StreamDecoder.seek(StreamDecoder.java:172)
at org.lateralgm.file.iconio.ICOFile.fillDescriptor(ICOFile.java:213)
at org.lateralgm.file.iconio.ICOFile.fillDescriptors(ICOFile.java:198)
at org.lateralgm.file.iconio.ICOFile.read(ICOFile.java:164)
at org.lateralgm.file.iconio.ICOFile.<init>(ICOFile.java:129)
at org.lateralgm.file.iconio.ICOFile.<init>(ICOFile.java:113)
at org.lateralgm.file.GmFileReader.readSettings(GmFileReader.java:429)
at org.lateralgm.file.GmFileReader.readProjectFile(GmFileReader.java:225)
at org.lateralgm.file.GmFileReader.readProjectFile(GmFileReader.java:165)
at org.lateralgm.main.FileChooser$ProjectReader.read(FileChooser.java:387)
at org.lateralgm.main.FileChooser$1.run(FileChooser.java:564)
at java.lang.Thread.run(Thread.java:745)

So, any thoughts? I'm not sure how to interpret this.
Logged
Offline (Male) Goombert
Reply #1 Posted on: November 04, 2014, 02:22:57 PM

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

View Profile
Oh wow onpon, it looks like you've managed to do something nobody else has done in years, encounter a GMK loading exception :P

I went back and tested lgm16b4 and the issue existed there as well. I have filed a support ticket for you so that I can get feedback from IsmAvatar.
https://github.com/IsmAvatar/LateralGM/issues/163
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.

Offline (Male) Goombert
Reply #2 Posted on: November 04, 2014, 03:40:03 PM

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

View Profile
We've had issues before with our icon reading but sorlok fixed them. It's failing to load the icon, can I ask how you made the icon?

I've managed to extract the icon from the GMK and can confirm that it is the real problem, nothing to do with your project at all, Studio and GM8.1 seem to handle this icon fine.
https://github.com/IsmAvatar/LateralGM/issues/163

Until I figure out why LGM can't handle this icon you could do the following:
1) Open your project in GM8.1
2) Go to game settings and replace the icon with one that will work in ENIGMA
3) Save As a copy of your project to be used with ENIGMA for the time being
« Last Edit: November 04, 2014, 07:37:12 PM by Robert B Colton » 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.

Offline (Unknown gender) onpon
Reply #3 Posted on: November 04, 2014, 07:56:22 PM

Member
Joined: Feb 2010
Posts: 102

View Profile WWW Email
I should point out that I didn't make this game. Someone else did (Gato). I'm just trying to compile it.
« Last Edit: November 04, 2014, 08:04:54 PM by onpon » Logged
Offline (Male) Goombert
Reply #4 Posted on: November 04, 2014, 08:04:42 PM

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

View Profile
Ahhh, is it possible to ask him/her how they created the ico? For now just do what I said about GM8.1 and change the icon before loading it in ENIGMA, if you want I can replace the icon for you and upload it, just say so.
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.

Offline (Unknown gender) onpon
Reply #5 Posted on: November 04, 2014, 08:13:33 PM

Member
Joined: Feb 2010
Posts: 102

View Profile WWW Email
I don't have or want GM8.1, and I wouldn't feel right asking you to use it. If I can't replace the icon in LateralGM, I can wait.
Logged
Offline (Male) Goombert
Reply #6 Posted on: November 04, 2014, 08:18:55 PM

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

View Profile
Haha, don't worry about it I have to use GM8.1 for testing purposes, after using GM8.1 to replace the icon the file loads perfectly fine in ENIGMA.
https://www.dropbox.com/s/fpcfdumzgw6f4rj/smgs%282%29working_enigma.gm81?dl=0

I'm working on figuring out why the original icon doesn't work.  (Y)
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.

Offline (Unknown gender) onpon
Reply #7 Posted on: November 04, 2014, 08:35:20 PM

Member
Joined: Feb 2010
Posts: 102

View Profile WWW Email
That file doesn't behave differently, for me.
Logged
Offline (Male) Goombert
Reply #8 Posted on: November 04, 2014, 08:43:48 PM

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

View Profile
Ahhh yes it is still failing to compile, but this time it is straight up segfaulting when collecting variables. You aren't getting an error about the icon anymore are you? You should at least not have the icon error but instead...
Quote from: Output
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005)
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.

Offline (Unknown gender) onpon
Reply #9 Posted on: November 04, 2014, 10:21:20 PM

Member
Joined: Feb 2010
Posts: 102

View Profile WWW Email
Indeed, that error is gone, but I don't have a new error. It's now just this:

http://pastebin.com/y0eXi3hk
Logged
Offline (Male) Goombert
Reply #10 Posted on: November 04, 2014, 10:41:50 PM

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

View Profile
Hmm this is interesting, it was behaving completely different for me. What OS are you on?

I believe I may have a clue, it appears when I load this file and open game settings, changes are automatically detected for DESCRIPTION. I no longer get the fatal error message in my output even with the original, so that must have been a fluke.

It seems there are multiple issues with this project.

Edit: Scratch that, it was an unrelated bug which I just fixed and posted to the other topic.
http://enigma-dev.org/forums/index.php?topic=2269.msg23702#msg23702

So after that it just seems to be compiler issues with the project. Most likely the result of its heavy use of parenting, I bet that's where it's crashing.
« Last Edit: November 04, 2014, 11:20:42 PM by Robert B Colton » 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.

Offline (Unknown gender) onpon
Reply #11 Posted on: November 05, 2014, 03:19:26 AM

Member
Joined: Feb 2010
Posts: 102

View Profile WWW Email
Hmm this is interesting, it was behaving completely different for me. What OS are you on?

I'm on Trisquel 6, a GNU/Linux system, and using OpenJDK 7.
Logged
Offline (Male) Josh @ Dreamland
Reply #12 Posted on: November 05, 2014, 10:08:23 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
We don't support compiling for Triscuits. Or any other cracker, for that matter.

64Bit? What are the byte sizes of int, long, and size_t?
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) Goombert
Reply #13 Posted on: November 09, 2014, 12:49:43 AM

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

View Profile
Just an update here onpon, sorlok has fixed the ico reader to be able to properly handle the icon in that game now. You can get the new LGM from my other topic.
http://enigma-dev.org/forums/index.php?topic=2269.msg23792#new

The GitHub ticket will be automatically closed December 7th if no new issues arise in the interim.
https://github.com/IsmAvatar/LateralGM/issues/163
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.

Offline (Female) IsmAvatar
Reply #14 Posted on: November 09, 2014, 02:21:42 PM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 886

View Profile Email
Since when did LateralGM start compiling?
Logged
Pages: 1 2 »
  Print