Old 744 Forum

Archived posts

XView for MAC is here

Page: 1 2 >

Author Post
Member
Registered: Jun 2009
Posts: 187
Location: Devon, UK
Go to the following website
site : ftp://larkshayes.com
Username : xview@larkshayes.com
Password : 747Pilot

You should find mac.xpl in the directory Release 1.2. You need to put this in your in your X-Plane foder in the subdirectory. Like this:

.../Resources/Plugins/XView/mac.xpl

This is a first release and it may have bugs. It is a 64-bit version. I have noticed that it sometimes crashes on first run. Just run it again and it works fine second time.

Let me know of any issues.

Mike
Member
Registered: Jul 2014
Posts: 50
Location: Basel, CH
Hi Mike

I'm afraid that I cannot get it to work on my MacPro at all. (OS: 10.9.5/german)
:(
XPlane 10.35 crashes completely on startup everytime whilst loading/checking the plugins and the only solution to get Xplane back up and running was to remove the mac.xpl file from the plugins/XView subdirectory.

I've appended the relevant part from the crash report generated by MacOS in case it might be of some use..

Regards
Simon
-------------------------------------------------
Process: X-Plane [44255]
Path: /Volumes/VOLUME/X-Plane.app/Contents/MacOS/X-Plane
Identifier: com.laminar_research.X-Plane
Version: 10.35r1 (398)
Code Type: X86-64 (Native)
Parent Process: launchd [287]
Responsible: X-Plane [44255]
User ID: 501

Date/Time: 2015-04-28 23:03:27.811 +0200
OS Version: Mac OS X 10.9.5 (13F1077)
Report Version: 11
Anonymous UUID: 8BF2D7B7-5EAF-8B4D-8E19-377B9C8B9CD2

Sleep/Wake UUID: 29BCD711-CA7D-4E9E-8D03-512263BB4D26

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000068

VM Regions Near 0x68:
-->
__TEXT 0000000000010000-0000000000016000 [ 24K] r-x/rwx SM=COW /usr/local/lib/libflavoursui.dylib

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_c.dylib 0x00007fff875f2eca flockfile + 18
1 libsystem_c.dylib 0x00007fff875fbb10 vfprintf_l + 28
2 libsystem_c.dylib 0x00007fff875f468e fprintf + 186
3 mac.xpl 0x0000000082518420 XPluginStart + 112
4 XPLM 0x000000007fc3fb8b LoadOnePlugin(std::string const&, int) + 459
5 XPLM 0x000000007fc3ff4c LoadFatPlugin(std::string const&) + 106
6 XPLM 0x000000007fc403b6 XPLMFindAndLoadPlugins(char const*) + 1082
7 XPLM 0x000000007fc3e685 XPLMInitializePlugins + 149
8 com.laminar_research.X-Plane 0x0000000100928b2c XPPInitializePlugins(char const*) + 3532
9 com.laminar_research.X-Plane 0x00000001004e11bf MACIBM_init(int, char const* const*) + 11807
10 com.laminar_research.X-Plane 0x000000010061c3d7 init_sim(int, char const* const*) + 23
11 com.laminar_research.X-Plane 0x000000010061cc49 main + 41
12 com.laminar_research.X-Plane 0x00000001004918c0 start + 52

-------------------------------------------------
« Last edit by simbro on Tue, 28 Apr 2015 21:08:28 +0000. »
Member
Registered: Oct 2014
Posts: 341
The fact it is cashing at the start (randomly) suggests bad memory pointer.
Member
Registered: Jun 2009
Posts: 187
Location: Devon, UK
Sorry about this guys. It is strange because almost all the code is identical to the win version and it works fine when it gets going.

If you have the patience, can you try some things out to help me track down the problem?

a) Are you sure you are using the 64-bit X-Plane - see XP opening screen
b) Please create a XView.cfg file with a text editor and place that in the same directory as the X-Plane executable.
c) Does starting PSX after X-Plane is running help the problem?

Mike
Member
Registered: Jul 2014
Posts: 50
Location: Basel, CH
Hi Mike

Glad to help!

a) Yes - I am definitely using the 64-bit Version of XPlane

b) My first attempts were WITH a XView.cfg file in the XPlane root - probably left over from a misguided attempt to install the win version before I knew better! After deleting this cfg file the situation remained the same. A new empty cfg file doesn't help either - same result. ( the first one had some config details in it which were probably win-related defaults so I assume that invalidates that attempt)

c) First attempts were without having started PSX... Further attempts with PSX running had the same results.

BTW, PSX server is currently NOT running on the MacPro - only a client getting its info from the PSX server on a Win7 machine in the network. Would this make a difference?
I assume that I will need to enter the server IP somewhere sometime...

Simon

PS. Silly question: I have downloaded only the mac.xpl file from the Version1.2 folder.. Do I eventually need any/all of the other files in the folder as well?
« Last edit by simbro on Wed, 29 Apr 2015 15:13:21 +0000. »
Member
Registered: Oct 2009
Posts: 14
Hi Mike,

It's the same on my iMac.

The log of X-Plane:
...
Fetching plugins for /Volumes/VERBATIM/X-Plane 10 Demo/Resources/plugins

dlerror:dlopen(/Volumes/VERBATIM/X-Plane 10 Demo/Resources/plugins/._mac.xpl, 6): no suitable image found. Did find:
/Volumes/VERBATIM/X-Plane 10 Demo/Resources/plugins/._mac.xpl: unknown file type, first eight bytes: 0x00 0x05 0x16 0x07 0x00 0x02 0x00 0x00
Failed: /Volumes/VERBATIM/X-Plane 10 Demo/Resources/plugins/._mac.xpl. (This file is missing, not a DLL or could not be loaded due to another missing DLL.)

I've tried with Plugins/Xview/64/mac.xpl same.
Without mac.xpl x-Plane run

I'm waiting to load the new plugin.

Regards and Thank's for MacXview. ;)

Guy
Member
Registered: Jun 2009
Posts: 187
Location: Devon, UK
Hi Simon,

Thanks for looking at this.
a) great - it's only a 64 bit version at the moment.
b) the XView.cfg should be in the route directory of X-Plane. The win and Mac versions are identical.
c) can you explain your configuration in more detail - why are you using two copies of PSX and are you running two copies of X-Plane, one on the pc and one on the Mac?

Check out the documentation- it contains quite a bit about setting up the network. You need to set the boost and main server addresses in the XView.cfg file. Normally you would connect using the boost server, which isn't available on the client. So put the pc IP address in the Mac .cfg for the boost server and for the main server.

Just for clarification - did you ever get XP to run at all with XView even if you got no view? You won't see anything if the ip addresses are wrong anyway.

The files you need are the XView.cfg file, PSX Plane if you want to see external animations fully working and Mac.xpl. The user guide has a lot of detail in it about setting up, so give that a look.


There are more complex ways to set it all up, but to start try PSX server on the pc and just X-Plane +XView on the Mac Pro.

Let me know how you get on.

Mike
Member
Registered: Jun 2009
Posts: 187
Location: Devon, UK
Hi Guy,

Thanks for that. I am not sure that you can run plugins with the demo version. Can you check that out on the XP forum.

I am away for a couple of days, so can't do much at the moment.

I would be interested to know if anybody managed to run it. Then I would at least know that the build was complete. At home it ran for hours ok with 10% of crash at start, which I think may be due to some slight difference in the standard c++ library implementation on win and Mac.

Mike
Member
Registered: Oct 2009
Posts: 14
Hi, Mike

Demo version run plugins.
I've tried many position of mac.xpl in differents folders.

X-Plane crash when he tries to open the mac.xpl.
It is easy to see the detail near the loading bar.

Guy
Member
Registered: Jul 2014
Posts: 50
Location: Basel, CH
Hi Mike,

I've set up the XView.cfg file as described in the 1.2 User Guide using the IP address of the Win7-pc running PSX-server for BOOST_ADDRESS & MAIN_ADDRESS.
RELAY_ADDRESS is blank and RELAY_BOOST_DATA is FALSE.
Even with a fully configured cfg file the result remains the same - crash before Xplane has even got started!

In fact I had setup Xview completely (PSX-plane et al) according to the manual a while back before I realised that it was for Win-machines only - the only missing thing was the mac.xpl file! :D

I run PSX-server on a Win7-pc where my OC and CPFlight hardware is connected. The displays on this machine are dedicated to the Cpt PFD/ND and CDU (PSXseecon)..
A second Win7-pc is dedicated to FSX/VisualPSX and works fine. (no PSX running here)
The Mac runs PSX-client with the 'other PSX views' and has a second screen waiting to be used with XPlane/Xview.

I have never managed to get XPlane running when the mac.xpl file is in the plugin/xview subdirectory... It crashes within 20 seconds of initial prog-start whilst initiating the plugins (according to the small print in the initial splashscreen)

Regards
Simon
Member
Registered: Jun 2009
Posts: 187
Location: Devon, UK
Thanks for all this info. I will have a look at the weekend. Mike.
Member
Registered: Oct 2009
Posts: 14
Hi,

I've update x-plane to version 10.35 built 103503.
This version don't crash, but the plugin don't work.
i've tried to place mac.xpl in different folders: X-plane don't crash but only the plugin 747plane appears but never the xview plugin.

Log.txt:
.../...
Fetching plugins for /Volumes/VERBATIM/X-Plane 10 Demo/Resources/plugins

Loaded: /Volumes/VERBATIM/X-Plane 10 Demo/Resources/plugins/Xview/mac.xpl (xpsdk.examples.pluginadmin).

(It seems to me that the plugin was not rising also with my windows version)

Regards
Guy
Member
Registered: Oct 2009
Posts: 14
Sorry,

The update does not change anything.

Actually I have two mac.xlp file. One : 124k, the other: 368K.

After the update, in /ressources/plugins/xview/mac.xlp of 124k was the file installed.

When I changed to 368k: immediate crash.

Change ... Change ... I lost my way :|

Regards
Member
Registered: Jun 2009
Posts: 187
Location: Devon, UK
Ok guys, I have fixed it (hopefully). The new version is up on the ftp site. The problem was that the log output was being sent to my development directory. This would not be on your machines, which results in an instant crash. There was also a slight problem of synchronisation with PSX if PSX was already running at XP start up. The Win library didn't seem to worry about that.

For clarification, assuming your X-Plane directory is /XP10, then the files should be as follows:
/XP10/XView.cfg (if you don't supply one, then I create one with server IP 127.0.0.1)
/XP10/Resources/plugins/XView/mac.xpl

Let me know if it goes ok.

Mike
Member
Registered: Jul 2014
Posts: 50
Location: Basel, CH
Hi Mike

I will not be able to test this until sunday evening earliest as I'm away for the weekend and have no access to my machine until then.

Regards
Simon
Member
Registered: Jul 2014
Posts: 50
Location: Basel, CH
« Last edit by simbro on Mon, 04 May 2015 18:39:49 +0000. »
Member
Registered: Jul 2014
Posts: 50
Location: Basel, CH
Hi Mike

Update to my previous post!

For some reason, after re-installing both the mac.xpl file and the PSX-aircraft into XPlane and then restarting XPlane and PSX everything has started working as expected! :D
Don't know what caused the symptoms from my previous attempt but whatever it was seems to have disappeared...

First impressions are positive and I haven't noticed anything amiss sofar - apart fom the aircraft hovering about 50 cms (front wheels) and 20 cms (rear wheels) above the ground when at rest. During the landing flare the rear wheels sink into the ground about half a wheels width but then re-emerge as the front settles down.
However, not being an 'observer' (I only want the out-the-window view) it doesn't bother me at all!

Thanks for the work involved... much appreciated! I'll keep on using/testing the plugin and report anything that seems 'wrong' to me.

Kind regards
Simon
« Last edit by simbro on Mon, 04 May 2015 21:17:33 +0000. »
Member
Registered: Jun 2009
Posts: 187
Location: Devon, UK
Hi Simon,

Make sure that you are using the latest mac.xpl from the server. (1st May 7:44).

The wheels should be properly positioned with respect to the ground. Check that the main server is connected properly - for example do the falps work in the external view? Also check that you have selected PSX plane in X-Plane.

If you still have a problem, please tell me where the plane is when you notice this problem.

Mike
Member
Registered: May 2009
Posts: 241
Hi Mike!

I finally found some time to test it: something strange happens... it isn't recognized by X-Plane 10.35: not listed in the "plugins" list, nor in the "enable / disable" menu... Testing was done on my Mac laptop, under OSX 10.6.8.
File size is 372044 bytes, just to be sure it's the right one, and I tried starting PSx, then X-Plane, then the opposite, but no luck.
_______________
Pierre, LFPG
Member
Registered: Jul 2014
Posts: 50
Location: Basel, CH
Hi Pierre

The file size agres with what I have installed and running on my Mac (OSX 10.9.5).
Are you sure you have the mac.xpl file in the right place?
It should be placed in "Resources/plugins/XView"...

Kind regards
Simon
Member
Registered: May 2009
Posts: 241
Hi Simon!

Thanks for the confirmation: yep, it is in that very same location... I suspect my OS to be too old maybe (Snow Leopard)... or I'll re-download it later, in case I had a glitch.
_______________
Pierre, LFPG
Member
Registered: Jul 2014
Posts: 50
Location: Basel, CH
Another thought... I assume you are running the 64-bit version of XPlane 10.35?
It doesn't work using the 32-bit version as far as I know!
Member
Registered: May 2009
Posts: 241
Hi again Simon!

Yep, X-Plane 10.35 64-bits there... so that's quite a mistery indeed! Thanks a lot for your kind suggestions.
_______________
Pierre, LFPG
Member
Registered: Jun 2009
Posts: 187
Location: Devon, UK
Hi Pierre,

Have you downloaded the one on the ftp site or the one I emailed you back along?

Mike
Member
Registered: May 2009
Posts: 241
Hi Mike!

It's the one from the ftp site, same size as simbro.
_______________
Pierre, LFPG

Page: 1 2 >

Old 744 Forum is powered by UseBB 1 Forum Software