[b42] OSX version is fubar

Where bugs go to lie down and rest

Moderator: Moderator

Message
Author
Jules
Halfling
Posts: 117
Joined: Tue Jun 24, 2003 2:40 pm

Re: [b42] OSX version is fubar

#16 Post by Jules »

I really don't know. Can you delete your local copy and re-copy from the DMG and see if it works now?

effable
Cornac
Posts: 37
Joined: Thu Dec 30, 2010 11:19 pm

Re: [b42] OSX version is fubar

#17 Post by effable »

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?
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:

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
Here's what I get if I do a command-line copy directly (copy command included for reference):

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 a quick check, the app created by manually "cp"-ing the contents of the DMG does launch successfully. I haven't played it extensively, but it seems to work.

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?

effable
Cornac
Posts: 37
Joined: Thu Dec 30, 2010 11:19 pm

Re: [b42] OSX version is fubar

#18 Post by effable »

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.

Xanathos
Low Yeek
Posts: 5
Joined: Mon Jul 30, 2012 1:05 pm

Re: [b42] OSX version is fubar

#19 Post by Xanathos »

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.

Xanathos
Low Yeek
Posts: 5
Joined: Mon Jul 30, 2012 1:05 pm

Re: [b42] OSX version is fubar

#20 Post by Xanathos »

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

effable
Cornac
Posts: 37
Joined: Thu Dec 30, 2010 11:19 pm

Re: [b42] OSX version is fubar

#21 Post by effable »

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.

Quauru
Yeek
Posts: 11
Joined: Wed Jun 27, 2012 1:28 pm

Re: [b42] OSX version is fubar

#22 Post by Quauru »

Any news regarding the right click issue?

tiger_eye
Perspiring Physicist
Posts: 889
Joined: Thu Feb 17, 2011 5:20 am

Re: [b42] OSX version is fubar

#23 Post by tiger_eye »

Quauru wrote:Any news regarding the right click issue?
In short: no.

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!

calfeld
Low Yeek
Posts: 8
Joined: Fri Aug 19, 2011 7:52 pm
Contact:

Re: [b42] OSX version is fubar

#24 Post by calfeld »

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.

dystant
Posts: 4
Joined: Wed Sep 26, 2012 3:29 am

Re: [b42] OSX version is fubar

#25 Post by dystant »

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..

Massimiliano Marangio
Sher'Tul
Posts: 1120
Joined: Mon Sep 30, 2002 9:52 pm
Location: Germany

Re: [b42] OSX version is fubar

#26 Post by Massimiliano Marangio »

dystant wrote:Can anyone tell me if it's possible to run b42 on a Mac running 10.6?
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.

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.

dystant
Posts: 4
Joined: Wed Sep 26, 2012 3:29 am

Re: [b42] OSX version is fubar

#27 Post by dystant »

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

Post Reply