[b42] OSX version is fubar
Moderator: Moderator
Re: [b42] OSX version is fubar
I really don't know. Can you delete your local copy and re-copy from the DMG and see if it works now?
Re: [b42] OSX version is fubar
Well, that's what I did initially, but I'll do it again. In fact, I'll try a couple of times. Nope, same deal. The Finder drag-n-drop gives me this:Jules wrote:I really don't know. Can you delete your local copy and re-copy from the DMG and see if it works now?
Code: Select all
$ pwd
/Applications/T-Engine.app/Contents/Frameworks
$ ls -lagsk
total 2776
0 drwxr-xr-x@ 12 admin 408 Aug 21 13:19 .
0 drwxr-xr-x@ 7 admin 238 Aug 21 13:19 ..
1100 -rwxr-xr-x@ 1 admin 1123088 Aug 21 13:19 libSDL2-2.0.0.dylib
48 -rwxr-xr-x@ 1 admin 48360 Aug 21 13:19 libSDL2_image-1.2.0.dylib
36 -rwxr-xr-x@ 1 admin 34752 Aug 21 13:19 libSDL2_ttf-2.0.0.dylib
0 -rwxr-xr-x@ 1 admin 0 Aug 21 13:19 libfreetype.6.dylib
1072 -rw-r--r--@ 1 admin 1094920 Aug 21 13:19 libiconv.2.dylib
28 -rwxr-xr-x@ 1 admin 24672 Aug 21 13:19 libogg.0.dylib
316 -rwxr-xr-x@ 1 admin 321684 Aug 21 13:19 libpng14.14.dylib
0 -rwxr-xr-x@ 1 admin 0 Aug 21 13:19 libvorbis.0.dylib
0 -rwxr-xr-x@ 1 admin 0 Aug 21 13:19 libvorbisfile.3.dylib
176 -rwxr-xr-x@ 1 admin 177972 Aug 21 13:19 libz.1.dylib
Code: Select all
$ pwd
/Volumes/Tales of Maj'Eyal/T-Engine.app/Contents/Frameworks
$ cp -R Tales\ of\ Maj\'Eyal/T-Engine.app /Applications/T-Engine_bash_cp.app
$ cd /Applications/T-Engine_bash_cp.app/Contents/Frameworks/
$ pwd
/Applications/T-Engine_bash_cp.app/Contents/Frameworks
$ ls -lagsk
total 3608
0 drwxr-xr-x@ 12 admin 408 Aug 30 05:59 .
0 drwxr-xr-x@ 7 admin 238 Aug 30 05:59 ..
1100 -rwxr-xr-x@ 1 admin 1123088 Aug 30 05:59 libSDL2-2.0.0.dylib
48 -rwxr-xr-x@ 1 admin 48360 Aug 30 05:59 libSDL2_image-1.2.0.dylib
36 -rwxr-xr-x@ 1 admin 34752 Aug 30 05:59 libSDL2_ttf-2.0.0.dylib
596 -rwxr-xr-x@ 1 admin 608320 Aug 30 05:59 libfreetype.6.dylib
1072 -rw-r--r--@ 1 admin 1094920 Aug 30 05:59 libiconv.2.dylib
28 -rwxr-xr-x@ 1 admin 24672 Aug 30 05:59 libogg.0.dylib
316 -rwxr-xr-x@ 1 admin 321684 Aug 30 05:59 libpng14.14.dylib
196 -rwxr-xr-x@ 1 admin 198080 Aug 30 05:59 libvorbis.0.dylib
40 -rwxr-xr-x@ 1 admin 39744 Aug 30 05:59 libvorbisfile.3.dylib
176 -rwxr-xr-x@ 1 admin 177972 Aug 30 05:59 libz.1.dylib
In other words, it IS the Finder that's munging the installation. The questions are why and what can be done to make it work?
Re: [b42] OSX version is fubar
By the way, my results were all performed under OS X 10.8.1 (12B19), which is the latest as far as I know.
Frankly, I wouldn't expect different results at the shell level, but it's possible that an earlier version of the Finder might copy differently.
This whole thing is weird, and quite disturbing for entirely non-ToME reasons.
Frankly, I wouldn't expect different results at the shell level, but it's possible that an earlier version of the Finder might copy differently.
This whole thing is weird, and quite disturbing for entirely non-ToME reasons.
Re: [b42] OSX version is fubar
It's the finder that is creating the issues. Tried copying via terminal, works fine. Running 10.8.1 as well, but had similar issues with b41 on 10.8 too.
Had a look at the damaged copy, it contains a few locked files and they happen to be the ones that have 0 bytes file size. Oddly enough these files are also locked in the original t-engine.app in the DMG but not in the copy that i created of it via terminal. I guess that the finder tries to copy the content as a whole (including the properties like locked) but fails to copy the locked ones, while terminal just copies the files and disregards the attributes. My guess is that the issue could be fixed by removing the locks in the orginal .app in the DMG.
Had a look at the damaged copy, it contains a few locked files and they happen to be the ones that have 0 bytes file size. Oddly enough these files are also locked in the original t-engine.app in the DMG but not in the copy that i created of it via terminal. I guess that the finder tries to copy the content as a whole (including the properties like locked) but fails to copy the locked ones, while terminal just copies the files and disregards the attributes. My guess is that the issue could be fixed by removing the locks in the orginal .app in the DMG.
Re: [b42] OSX version is fubar
Just now tried unlocking the framework files in the dmg and then making another copy.
Still resulted in the files being 0 sized, wierd though that all the previously locked files aren't copied properly
Still resulted in the files being 0 sized, wierd though that all the previously locked files aren't copied properly
Re: [b42] OSX version is fubar
For what it's worth, if I use the Finder "Duplicate" command to make a copy of the command-line installed app (both on the hard drive), the duplicate is seems to have the full contents.
Somehow, the issue seems to be linked to copying from the DMG.
Somehow, the issue seems to be linked to copying from the DMG.
Re: [b42] OSX version is fubar
Any news regarding the right click issue?
Re: [b42] OSX version is fubar
In short: no.Quauru wrote:Any news regarding the right click issue?
You may watch these topics:
http://forums.libsdl.org/viewtopic.php?t=8456
http://forums.libsdl.org/viewtopic.php?t=8379
and the SDL changelog:
http://hg.libsdl.org/SDL/
darkgod wrote:OMFG tiger eye you are my hero!
Re: [b42] OSX version is fubar
As far as I know, the only operation that has no alternative to a right click is to configure talents. Would it be possible to add some other way to do that?
Thanks,
c.
Thanks,
c.
Re: [b42] OSX version is fubar
Can anyone tell me if it's possible to run b42 on a Mac running 10.6? I've spent a lot of time trying to get it to work, including downloading the SVN and recompiling, but haven't gotten anywhere. I think it may be beyond my capabilities, but I'd like to know for sure that it is or is not possible before I spend more time on it. Thanks..
-
- Sher'Tul
- Posts: 1120
- Joined: Mon Sep 30, 2002 9:52 pm
- Location: Germany
Re: [b42] OSX version is fubar
It works on my Macbook Pro with OSX 10.6.8 (with the right click error and wonky targeting), but I don't remember how I installed it. All the libraries seem to be intact.dystant wrote:Can anyone tell me if it's possible to run b42 on a Mac running 10.6?
Edit: I re-downloaded the game, removed the old application, and copied the new one by drag-and-drop from the dmg. It worked without problems.
Re: [b42] OSX version is fubar
Thanks for the reply. I tried what you wrote, as well as copying the T-Engine file from the dmg using Terminal, but still no luck.
I'm not sure what to make of the error messages. When I double click on the .app file, I get two popup messages, "You can't open the application T-Engine because it is not supported on this type of Mac" and "You can't open the application T-Engine because it's not supported on this type of Mac." These are not the errors one would get if it were the wrong system version being used, AFAIK.
Trying to open the T-Engine executable directly, through finder or terminal, yields these errors -- "The application cannot be opened because it has an incorrect executable format" and "Bad CPU type in executable". It's almost as if I were using a PowerPC Mac and trying to run an Intel (x86) program, which is not the case (I have an Intel Mac).
I've spent more time trying to compile the SVN than I have playing the game at this point, so I guess that's it for that. Any other advice would be appreciated, otherwise I'll probably wait for a new release. Thanks
I'm not sure what to make of the error messages. When I double click on the .app file, I get two popup messages, "You can't open the application T-Engine because it is not supported on this type of Mac" and "You can't open the application T-Engine because it's not supported on this type of Mac." These are not the errors one would get if it were the wrong system version being used, AFAIK.
Trying to open the T-Engine executable directly, through finder or terminal, yields these errors -- "The application cannot be opened because it has an incorrect executable format" and "Bad CPU type in executable". It's almost as if I were using a PowerPC Mac and trying to run an Intel (x86) program, which is not the case (I have an Intel Mac).
I've spent more time trying to compile the SVN than I have playing the game at this point, so I guess that's it for that. Any other advice would be appreciated, otherwise I'll probably wait for a new release. Thanks