Mac: Why can't data be found when it's in a .dmg?

BlitzMax Forums/BlitzMax Programming/Mac: Why can't data be found when it's in a .dmg?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hmm found out something odd. I'm doing this:

- Using disk utlity I make a 10Mb disk image called AOTMG045D.
- I open it by double clicking it and it mounts a new volume.
- I place my working app in that.
- If I run it in there it runs fine.
- back in disk utility I select the AOTMG045D dmg and make a compressed one with the same name but it won't let me as it says it's in use (even if I eject the disk first). So I have to enter another name like AOTMG045D_2
- When I open the compressed dmg it mounts a volume with the ORIGNAL dmg name i.e. AOTMG045D. This is strange...
- Then when I go into the mounted volume and run the app, it fails to load that PortalLogo.jpg file!
- However, if I drag the app out it's fine.
- What is going on? I'm confused now.

Did some more tests and if I simply make a copy of the first disk image, I can run the app OK in there. So it must be something with the compressed one but crap knows what...