I was afraid the answer would lie somewhere in the age of the IDE version. I am using the library's computer (I do volunteer work for them and they let me play with their runrev) I have been after the admin there to update for years now, but since it seems that I am the only one that uses it, it is not high on her list of priorities. Basically I am working on runrev version 3.0.sturgis wrote:Looks like there may be a bug in 5.5.3. When opening your stack in 5.5.3 I can't see the background, can't export (export seems entirely broken)
When opening it in 5.5.1 everything works fine.
Also seems that something else has gone wrong with error reporting in 5.5.3, it reports a missing comma quite often but the error message doesn't usually apply.
Build with 5.5.1 for now, hopefully there will be a maint update to fix this. Or maybe there already is, will check and see if there is a newer build that I haven't heard about.
Background image not saving in stand alone
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Background image not saving in stand alone
Last edited by magice on Sat Jan 26, 2013 6:55 pm, edited 1 time in total.
Re: Background image not saving in stand alone
Exported the image from 5.5.1, re-imported using 5.5.3 and it seems to be working now. (assuming the pic with the dragon is the background you're speaking of.)
After re-import, I set the background pattern of the stack, saved, here is the updated copy of your stack. https://dl.dropbox.com/u/11957935/Comba ... r.livecode
Seems like there was just something wrong with the image itself and 5.5.3 couldn't handle it. The export and then re-import seems to have fixed it.
EDIT:
Hmm, interesting. Even so though, it does look like something got messed up in the image data itself and the export/import may have fixed it. I may not have saved it in legacy format though so if you can't open the file I sent back, yell and I'll do so. I guess its also possible that if you're using different versions of lc to work on the file and one is legacy and the other is not, that might be part of the issue. Different stack file versions. (though it worked with 5.5.1 so maybe not)
After re-import, I set the background pattern of the stack, saved, here is the updated copy of your stack. https://dl.dropbox.com/u/11957935/Comba ... r.livecode
Seems like there was just something wrong with the image itself and 5.5.3 couldn't handle it. The export and then re-import seems to have fixed it.
EDIT:
Hmm, interesting. Even so though, it does look like something got messed up in the image data itself and the export/import may have fixed it. I may not have saved it in legacy format though so if you can't open the file I sent back, yell and I'll do so. I guess its also possible that if you're using different versions of lc to work on the file and one is legacy and the other is not, that might be part of the issue. Different stack file versions. (though it worked with 5.5.1 so maybe not)
Re: Background image not saving in stand alone
Unable to open it, this copy of runrev is just too old.
Re: Background image not saving in stand alone
Sec, I'll save it in legacy format.
Try this one.
https://dl.dropbox.com/u/11957935/Combat%20Tracker.rev
Try this one.
https://dl.dropbox.com/u/11957935/Combat%20Tracker.rev
Re: Background image not saving in stand alone
Same thing, it will not save the background in the standalone. I am beginning to see that the problem is in this old IDE version. I will try again to suck up to the systems admin and buy her a pizza. Maybe I can convince her to finally update.sturgis wrote:Sec, I'll save it in legacy format.
Try this one.
https://dl.dropbox.com/u/11957935/Combat%20Tracker.rev
Re: Background image not saving in stand alone
Maybe try wiping out the preferences file and relicense? (make sure they have the ability to relicense it before doing so of course) Does seem like it should work ok even on 3.0 so i'm out of ideas.
Re: Background image not saving in stand alone
That happens when the error doesn't match any particular one in the list, so the engine reports either the first line of the error list or a random one.sturgis wrote: Also seems that something else has gone wrong with error reporting in 5.5.3, it reports a missing comma quite often but the error message doesn't usually apply.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Background image not saving in stand alone
OK, so I took a look at it and there is something very wrong with that image.
Turning its visibility on/off does nothing.
I exported the background and saved it as a new file then imported the new image and it is working for me in the standalone (LC 4.6).
http://www.philmrev.on-rev.com/dragon.png
Delete your current background then import this new one. Hope that works for you.
Simon
Turning its visibility on/off does nothing.
I exported the background and saved it as a new file then imported the new image and it is working for me in the standalone (LC 4.6).
http://www.philmrev.on-rev.com/dragon.png
Delete your current background then import this new one. Hope that works for you.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Background image not saving in stand alone
What format is the original image? A different one might work. I.e., if it's a png, try a jpg or a bmp. That might work.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Background image not saving in stand alone
I have tried 7 different images of all three formats.jacque wrote:What format is the original image? A different one might work. I.e., if it's a png, try a jpg or a bmp. That might work.
Re: Background image not saving in stand alone
Tried it. same thing. It has to be something that the older IDE is doing to the image. I copied the stack with your png into that sameSimon wrote:OK, so I took a look at it and there is something very wrong with that image.
Turning its visibility on/off does nothing.
I exported the background and saved it as a new file then imported the new image and it is working for me in the standalone (LC 4.6).
http://www.philmrev.on-rev.com/dragon.png
Delete your current background then import this new one. Hope that works for you.
Simon
dropbox folder if you want to compare it now that it has gone through the older IDE. BTW the backgroundPattern of each card is set to the image, so turning the actual image visibility off will look no different. the card background will show through and is identical.
Re: Background image not saving in stand alone
Hi,
I'd say the original image file is corrupt or in a format that can't be read by LiveCode 5.5.x. Opening the image in GIMP, converting it to RGB and back to indexed before saving it as a GIF again should solve it. Somehow, it loses a few kilobytes in the process. Import it as a control, don't use it as a background pattern.
Kind regards,
Mark
I'd say the original image file is corrupt or in a format that can't be read by LiveCode 5.5.x. Opening the image in GIMP, converting it to RGB and back to indexed before saving it as a GIF again should solve it. Somehow, it loses a few kilobytes in the process. Import it as a control, don't use it as a background pattern.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Background image not saving in stand alone
Hey magice,
I may have an option for you and the library, if you're interested contact me at this address: Ym9ubm1pa2VAZ21haWwuY29t (use base64decode to revert it to an email address)
I may have an option for you and the library, if you're interested contact me at this address: Ym9ubm1pa2VAZ21haWwuY29t (use base64decode to revert it to an email address)
Re: Background image not saving in stand alone
Will do.sturgis wrote:Hey magice,
I may have an option for you and the library, if you're interested contact me at this address: Ym9ubm1pa2VAZ21haWwuY29t (use base64decode to revert it to an email address)
Re: Background image not saving in stand alone
Hey what great fun!
I wonder what we can get away with?
VGhlcmUgd2FzIGEgeW91bmcgbWFuIG5hbWVkIE1pbGxlcgpXYXMga25vd24gdG8gaGF2ZSBx
dWl0ZSB0aGUgcGlsbGFyCk9uIHRoaXN0bGUgc3RyZWV0IGhlJ2QgbWVldAp0byBidWlsZCBz
b21ldGhpbmcgc3dlZXQKQW4gYXBwIHRoYXQgbWFrZXMgYXBwcyBtb3JlIGtpbGxlcg==
Simon
I wonder what we can get away with?
VGhlcmUgd2FzIGEgeW91bmcgbWFuIG5hbWVkIE1pbGxlcgpXYXMga25vd24gdG8gaGF2ZSBx
dWl0ZSB0aGUgcGlsbGFyCk9uIHRoaXN0bGUgc3RyZWV0IGhlJ2QgbWVldAp0byBidWlsZCBz
b21ldGhpbmcgc3dlZXQKQW4gYXBwIHRoYXQgbWFrZXMgYXBwcyBtb3JlIGtpbGxlcg==

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!