richmond62 wrote: ↑Sat Apr 27, 2024 6:31 pm
...BUT that warning should NOT talk about LiveCode, it should talk about OpenXTalk.
I know why that shows "livecode" in the crash error, rather than the openxtalk name. That's because this seems to be the engine that's crashed. The mac version of the engine gets it's name from the compiled name in xCode - and does need changing in the xcode project when we recompile, so whatever is causing that is original untouched code in the engine.
As you know, I've not been able to recompile the mac engine, so it still has the LC name instead of OXT.
richmond62 wrote: ↑Sat Apr 27, 2024 8:23 pm
I don't know why this is happening...
Me neither. That is weird. The fact you can copy and paste that image into a stack, then build that in OXT - and the image shows up.
It makes me wonder, if you are cutting and pasting it, it becomes an embedded image that builds okay.
I wonder, is the image's 'source' / filename - is it being loaded in from file, or normally an embedded image within the stack? I'm wondering if there's something that references a livecode path that isn't there in the oxt build. Or, perhaps in the standalone settings, that image isn't being set to be included?
Not sure what could cause that.
What happens if you copy that image to a new stack, delete the one that won't build in devawriter, and paste that one back in from your new stack? Does it show in the built version then?
I don't know what it doesn't like about that image, but as the stack format itself hasn't changed, something else you can try:
In finder, duplicate a working copy of your livecode stack version.
Rename this duplicate with an oxtstack file extension.
Open that in oxt lite and see if it'll build.
I'm wondering if there's something about that image it doesn't like when it's trying to resave everything through the IDE, BUT - this is just an out-there guess, If it's doing that, I'm not exactly sure why.
It's more confusing because all your other images are there. I'm assuming those buttons are also pictures in the OXT Built version?
Is that shaded red background on the title screen, the same file used on the card it won't display on?
If it's different, then there might be something weird going on with that file it doesn't like (again, not sure what), but if they are the same background, you could use either use a shared group with the background in which it repeats across multiple cards, or you could try an image swap method such as:
Code: Select all
Set the text of image "awkwardimage" of this card to the text of image "workinginage" of card "titlescreen"
That would replace the binary image data of the file that won't load, with binary image data from the image that does. Why this would only happen in oxt, I don't know.
Conversely, here's another thing you can try - which will check if there's any corruption involving that image. The oxt stack that you saved - which seems to build incorrectly: what about if you renamed this file from .oxtstack to .livecode, open that in LCC and see if that will build correctly? If it has the same problem of the missing background, then I'm wondering if it's something in the oxt stack resave process. It might not be though, and the simple act of resaving the stack might be making something get stuck on that image.
I'm just going to try some build tests here as well, to see if I can duplicate the issue.