Home News Features Games Authoring Community Forums About Contact
   

May 25, 2013, 07:20:23 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Problem compiling collaborative game  (Read 2479 times)
Kickaha
Longtime Member
*****
Offline Offline

Posts: 1023



WWW
« on: February 02, 2010, 06:03:48 PM »

I took a Sludge 1.0 project from Kieran, spliced in images from Ad7venture.  Now as I don't know what I'm doing I probably did something wrong, but when I tried compiling under 2.0 the devkit exited (the application just vanished without a goodbye.)

The version of the devkit I've got is Version 2.0 (Beta) 104.  OK perhaps not the latest and greatest.

The project which wouldn't compile is zipped up at http://www.alofmethbin.com/adcollab4bug.zip.

Logged

Trumgottist
Maker of SLUDGE
Longtime Member
*****
Offline Offline

Gender: Male
Posts: 1163



WWW
« Reply #1 on: February 02, 2010, 06:21:42 PM »

The version of the devkit I've got is Version 2.0 (Beta) 104.  OK perhaps not the latest and greatest.

Please keep in mind that you are using beta software. You really should be using the "latest and greatest" always. Try it with the latest version, and if that doesn't work, let me know. (Your project compiles just fine here.)
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Offline Offline

Gender: Male
Posts: 1163



WWW
« Reply #2 on: February 03, 2010, 01:31:02 PM »

I hope that didn't sound too dismissive.

What I meant was that you should download the latest version, since it's very possible that the bug you found already is fixed. (Particularly as I didn't see the problem on my computer - I'd hate to have to track down another bug that I can't see.) Please let me know if it works or not.
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Kickaha
Longtime Member
*****
Offline Offline

Posts: 1023



WWW
« Reply #3 on: February 13, 2010, 05:59:40 PM »

Hello Trumgottist,

Didn't see your second post - as my then problem did indeed go away with the latest build I didn't check back or bother you more.

However I have another project which doesn't want to compile, and I have tried it under the latest build as dated today (which is still identifying itself as build 104?)

If you've got time I'll appreciate you trying it - it can be downloaded as a zip from http://www.alofmethbin.com/adcollab5.zip.

Thanks,

Kickaha.
Logged

Trumgottist
Maker of SLUDGE
Longtime Member
*****
Offline Offline

Gender: Male
Posts: 1163



WWW
« Reply #4 on: February 13, 2010, 06:42:10 PM »

(which is still identifying itself as build 104?)

Yes, I haven't been updating version numbers, well, ever really. I'll try to remember to update that in the future.

Quote
If you've got time I'll appreciate you trying it - it can be downloaded as a zip from http://www.alofmethbin.com/adcollab5.zip.

I downloaded it, and it does compile for me. Do you get the same error as before or is it something different? Do you have any clue as to what's going on? (These not-appearing-on-my-computer bugs are hard to track down.)

What's your system, btw? (OS, processor, memory...)

Also, does it work with a minimal game or is it something specific with this game? If it's the later, it'd help a lot if you'd be willing to reduce it to the simplest complete game that offends.
« Last Edit: February 14, 2010, 05:35:24 AM by Trumgottist » Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Kickaha
Longtime Member
*****
Offline Offline

Posts: 1023



WWW
« Reply #5 on: February 14, 2010, 07:42:06 AM »

(which is still identifying itself as build 104?)

Yes, I haven't been updating version numbers, well, ever really. I'll try to remember to update that in the future.


Just avoids me making silly mistakes over what version I'm using.

Quote
If you've got time I'll appreciate you trying it - it can be downloaded as a zip from http://www.alofmethbin.com/adcollab5.zip.

I downloaded it, and it does compile for me. Do you get the same error as before or is it something different? Do you have any clue as to what's going on? (These not-appearing-on-my-computer bugs are hard to track down.)

What's your system, btw? (OS, processor, memory...)

I've uploaded a zip file containing a screen shot just before the Dev Kit exits, an OSX dump, and some system info.

http://www.alofmethbin.com/issue.zip

Also, does it work with a minimal game or is it something specific with this game? If it's the later, it'd help a lot if you'd be willing to reduce it to the simplest complete game that offends.

I'm very happy to narrow this down (assuming the dump doesn't help - it seems to die writing  a PNG file.)  As I'm not a Sludge programmer a hint or two on the best way to cut the game down would be appreciated.
Logged

Trumgottist
Maker of SLUDGE
Longtime Member
*****
Offline Offline

Gender: Male
Posts: 1163



WWW
« Reply #6 on: February 14, 2010, 08:26:16 AM »

Thanks! That give me a place to start looking.

A hint or two on how to cut a game down… Well, as it's crashing when trying to write an image, the first thing I'd try would be to make a simple game that does nothing but display that image. If that still crashes, it's clear that the bug is triggered by that image. (Unless the same game also crashes if the image is replaced by another one.)

One could also try removing the offending image from the game and see if that lets the game compile.
« Last Edit: February 14, 2010, 08:57:47 AM by Trumgottist » Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Offline Offline

Gender: Male
Posts: 1163



WWW
« Reply #7 on: February 14, 2010, 08:48:30 AM »

Now I've been able to reproduce the bug!

Good times. Smiley
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Offline Offline

Gender: Male
Posts: 1163



WWW
« Reply #8 on: February 14, 2010, 09:01:26 AM »

And now I've gotten rid of it. It was a bug that would appear every time a TGA file containing a true-colour image was loaded (it's then converted to PNG internally). Apparently nobody has done that before. I'll upload the fixed version in a moment.

Edit: Done.
« Last Edit: February 14, 2010, 09:17:32 AM by Trumgottist » Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Kickaha
Longtime Member
*****
Offline Offline

Posts: 1023



WWW
« Reply #9 on: February 14, 2010, 10:30:04 AM »

Great thanks Trumgottist!  Glad to see you putting in the time and effort!

Downloaded the latest build and it compiled fine.  A minor hiccup trying to run it:

Dyld Error Message:
  Library not loaded: /Users/rikardpeterson/documents/SLUDGE/alure/build/libalure.1.dylib
  Referenced from: /Users/peter/Sludge/SLUDGE_Dev_Kit_2.0beta_2010-02-14_Mac/SLUDGE.app/Contents/MacOS/SLUDGE
  Reason: image not found
Logged

Trumgottist
Maker of SLUDGE
Longtime Member
*****
Offline Offline

Gender: Male
Posts: 1163



WWW
« Reply #10 on: February 14, 2010, 10:37:17 AM »

Oops. Apparently, you're the first one trying the non-BASS build of the engine. I messed up the inclusion of the sound library.

Edit: It isn't just the inclusion of the library. It's how it was built. I don't have time to fix it right now. Will try later tonight.
« Last Edit: February 14, 2010, 10:54:00 AM by Trumgottist » Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Kickaha
Longtime Member
*****
Offline Offline

Posts: 1023



WWW
« Reply #11 on: February 14, 2010, 04:16:54 PM »

OK no rush - hope this isn't distracting your attention from other things.
Logged

Trumgottist
Maker of SLUDGE
Longtime Member
*****
Offline Offline

Gender: Male
Posts: 1163



WWW
« Reply #12 on: February 14, 2010, 04:38:34 PM »

But there was rush. This wasn't just you - it meant that the only computer the Mac engine would run on was my MacBook! And I'd just been posting on various forums asking people to play some Nathan's Second Chance and help us beta test. That the program won't run at all isn't exactly the best first impression. Many will probably just throw it in the trash and not bother with it anymore if that happens. I'm very grateful you told me what happened.

I think I've fixed it now. New build available. (I forgot to update the build number, but the zip file has a new name.)
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Kickaha
Longtime Member
*****
Offline Offline

Posts: 1023



WWW
« Reply #13 on: February 15, 2010, 05:36:12 PM »

Thanks Trumgottist - that fixed things! 
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
 
Unauthorised reproduction of anything on this website is not allowed without our written consent.
Materials on this site are the property of their respective owners. Copyright © Adventure Developers. All rights reserved.