Volunteer required (macOS)

Suggestions, ideas and general discussion about JoinFS.
Post Reply
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Volunteer required (macOS)

Post by Peter »

Hi all,

Looking for someone with access to macOS to see if JoinFS-CONSOLE runs on their Mac hardware.

For X-Plane, JoinFS currently only builds win.xpl and lin.xpl plugins. I will see if it is possible to cross compile for macOS to create a mac.xpl.

Peter
picnic
Posts: 70
Joined: Tue Apr 04, 2017 8:19 am

Re: Volunteer required (macOS)

Post by picnic »

I'll have a go if I can find a guide to installing the dotnet runtime
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: Volunteer required (macOS)

Post by Peter »

picnic wrote: Sun Mar 20, 2022 4:48 pm I'll have a go if I can find a guide to installing the dotnet runtime
Great. Here are some instructions from the Microsoft website.

https://docs.microsoft.com/en-us/dotnet ... tall/macos

Peter
picnic
Posts: 70
Joined: Tue Apr 04, 2017 8:19 am

Re: Volunteer required (macOS)

Post by picnic »

Not connected to it yet but it appears to be running OK in console mode on my MBPro M1 in a Terminal window.

Would be nice when you run the console version if the local Magic Number people would use to connect with was displayed/logged somewhere. Also the Linux/Mac versions creates some interestingly named files,

Code: Select all

JoinFS-CONSOLE\log-6311.txt
JoinFS-CONSOLE\hubs.dat
I assume these should be files called log-6311.txt and hubs.dat inside the JoinFS-Console folder? The whazzup file does seem to be created inside this folder.
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: Volunteer required (macOS)

Post by Peter »

picnic wrote: Mon Mar 21, 2022 11:11 am Not connected to it yet but it appears to be running OK in console mode on my MBPro M1 in a Terminal window.

Would be nice when you run the console version if the local Magic Number people would use to connect with was displayed/logged somewhere. Also the Linux/Mac versions creates some interestingly named files,

Code: Select all

JoinFS-CONSOLE\log-6311.txt
JoinFS-CONSOLE\hubs.dat
I assume these should be files called log-6311.txt and hubs.dat inside the JoinFS-Console folder? The whazzup file does seem to be created inside this folder.
Thanks, that's good news. If I can just manage to cross compile the X-Plane plugin then we would have a working JoinFS with Mac X-Plane.

Good point about the address, I will add that.

Are you saying the log and hubs.dat are not inside that folder? If not, could you search for them on your hard drive because I think they may be getting written to some user folder somewhere, but I don't know where.

Peter
picnic
Posts: 70
Joined: Tue Apr 04, 2017 8:19 am

Re: Volunteer required (macOS)

Post by picnic »

Those are the file names, I'm assuming it's a Window/*nix directory character issue. On the Mac those files are in the same directory as the dll file, on the pi they have the same names but some in the root directory of the user and again some in the same directory as the dll.

From the Mac

Code: Select all

ls -l
total 3032
drwxr-xr-x  4 peter  staff     128 21 Mar 11:04 JoinFS-CONSOLE
-rw-rw-rw-@ 1 peter  staff    1099 14 Mar 10:58 JoinFS-CONSOLE.deps.json
-rw-rw-rw-@ 1 peter  staff  629248 14 Mar 10:58 JoinFS-CONSOLE.dll
-rw-rw-rw-@ 1 peter  staff     253 14 Mar 10:58 JoinFS-CONSOLE.runtimeconfig.json
-rw-r--r--  1 peter  staff    4550 21 Mar 11:19 JoinFS-CONSOLE\hubs.dat
-rw-r--r--  1 peter  staff     692 21 Mar 11:19 JoinFS-CONSOLE\log-6311-previous.txt
-rw-r--r--  1 peter  staff     346 21 Mar 11:20 JoinFS-CONSOLE\log-6311.txt
-rw-rw-rw-@ 1 peter  staff   12167 31 Jan 18:55 Licence.rtf
-rw-rw-rw-@ 1 peter  staff    3927 20 Mar 11:03 Readme.txt
drwxrwxrwx@ 3 peter  staff      96 19 Mar 09:02 es
drwxrwxrwx@ 3 peter  staff      96 19 Mar 09:02 fr
drwxrwxrwx@ 3 peter  staff      96 19 Mar 09:02 it
drwxrwxrwx@ 3 peter  staff      96 19 Mar 09:02 ko
-rw-rw-rw-@ 1 peter  staff  539608 13 Mar 09:49 lin.xpl
drwxrwxrwx@ 3 peter  staff      96 19 Mar 09:02 nl
drwxrwxrwx@ 3 peter  staff      96 19 Mar 09:02 pt
drwxrwxrwx@ 3 peter  staff      96 19 Mar 09:02 ru
-rw-rw-rw-@ 1 peter  staff  337920  4 Mar 19:36 win.xpl
and from the pi

User's home directory

Code: Select all

drwxr-xr-x 10 joinfs joinfs 4096 Mar 20 16:58  joinfs
drwxr-xr-x  3 joinfs joinfs 4096 Mar 20 14:55  JoinFS-CONSOLE
-rw-r--r--  1 joinfs joinfs 4028 Mar 20 14:55 'JoinFS-CONSOLE\hubs.dat'
-rw-r--r--  1 joinfs joinfs 3480 Mar 20 14:55 'JoinFS-CONSOLE\log-6211.txt'
-rwxr--r--  1 joinfs joinfs  384 Mar 20 16:56  joinfs.sh
the joinsfs directory, where I unzipped to

Code: Select all

drwxr-xr-x 2 joinfs joinfs   4096 Mar 20 13:49  es
drwxr-xr-x 2 joinfs joinfs   4096 Mar 20 13:49  fr
drwxr-xr-x 2 joinfs joinfs   4096 Mar 20 13:49  it
drwxr-xr-x 2 joinfs joinfs   4096 Mar 20 14:15  JoinFS-CONSOLE
-rw-r--r-- 1 joinfs joinfs   1099 Mar 20 13:49  JoinFS-CONSOLE.deps.json
-rw-r--r-- 1 joinfs joinfs 629248 Mar 20 13:49  JoinFS-CONSOLE.dll
-rw-r--r-- 1 joinfs joinfs   4873 Mar 20 16:16 'JoinFS-CONSOLE\hubs.dat'
-rw-r--r-- 1 joinfs joinfs    242 Mar 20 15:21 'JoinFS-CONSOLE\log-6112.txt'
-rw-r--r-- 1 joinfs joinfs    147 Mar 20 16:58 'JoinFS-CONSOLE\log-6211-previous.txt'
-rw-r--r-- 1 joinfs joinfs    147 Mar 20 16:58 'JoinFS-CONSOLE\log-6211.txt'
-rw-r--r-- 1 joinfs joinfs    253 Mar 20 13:49  JoinFS-CONSOLE.runtimeconfig.json
drwxr-xr-x 2 joinfs joinfs   4096 Mar 20 13:49  ko
-rw-r--r-- 1 joinfs joinfs  12167 Mar 20 13:49  Licence.rtf
-rw-r--r-- 1 joinfs joinfs 539608 Mar 20 13:49  lin.xpl
drwxr-xr-x 2 joinfs joinfs   4096 Mar 20 13:49  nl
drwxr-xr-x 2 joinfs joinfs   4096 Mar 20 13:49  pt
-rw-r--r-- 1 joinfs joinfs   3927 Mar 20 13:49  Readme.txt
drwxr-xr-x 2 joinfs joinfs   4096 Mar 20 13:49  ru
-rw-r--r-- 1 joinfs joinfs 337920 Mar 20 13:49  win.xpl
There are also files in a ~/JoinFS-Console directory

Code: Select all

-rw-r--r-- 1 joinfs joinfs    4 Mar 20 14:55 'folders - Not Connected.txt'
drwxr-xr-x 2 joinfs joinfs 4096 Mar 20 14:14  Variables
-rw-r--r-- 1 joinfs joinfs 2705 Mar 20 16:17  whazzup.txt
Now because I've been playing with running from the Bash prompt but also the 2 different ways of attempting to run as a background service I can't say which files where created when I'm afraid.
picnic
Posts: 70
Joined: Tue Apr 04, 2017 8:19 am

Re: Volunteer required (macOS)

Post by picnic »

Just tried 3.2.8 Console on my Mac, folders/files are still all messed up.

Also I thought the Unique Address was fixed for a given installation? Each time I run the new Concole version the output shows a different Unique address. e.g.

Code: Select all

02/04/2022 09:54:41.335 - Unique address is 17331 50075
02/04/2022 10:05:49.608 - Unique address is 04714 17788
02/04/2022 10:06:16.721 - Unique address is 58891 09412
That's not that helpful when you're publishing your address for others to join. Pretty sure the Windows client always produced the same number.
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: Volunteer required (macOS)

Post by Peter »

I wonder if the Mac version of DotNet is only using a temporary file for the settings. In fact it might not actually be using any saved file at all and the settings are reset every time you run it. I will do a bit of research on this.

I can see one problem to start with on those file names above. I must have a hard coded '\' separator instead of using the local system separator. Should be able to fix that. It's possible that the two different systems store files in slightly different places, but once I fix the slash problem it should be a bit clearer.

Not sure about the apostrophe character on some of those files. Is that the OS putting those there or does the file name actually have those character in I wonder.

Peter
picnic
Posts: 70
Joined: Tue Apr 04, 2017 8:19 am

Re: Volunteer required (macOS)

Post by picnic »

My initial thought is the apostrophes are put there by the OS as they have special characters in the name, the the backslash or a space.

If there is a setting file I can look for I'm happy to check.
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: Volunteer required (macOS)

Post by Peter »

v3.2.11 has a fix for the backslash character so all files should now have the correct paths.

The settings should still be in a file called user.config somewhere on the system. I will check tomorrow to see if I can find it.

Peter
picnic
Posts: 70
Joined: Tue Apr 04, 2017 8:19 am

Re: Volunteer required (macOS)

Post by picnic »

Is 3.2.11 available? Website still only shows 3.2.8. Happy to try it out for you.
User avatar
Peter
Site Admin
Posts: 2281
Joined: Fri Sep 23, 2016 8:51 am
Contact:

Re: Volunteer required (macOS)

Post by Peter »

picnic wrote: Mon Apr 25, 2022 6:18 pm Is 3.2.11 available? Website still only shows 3.2.8. Happy to try it out for you.
Hi picnic,

If you tick 'Early Access' in the JoinFS settings you will get notification and a link to the new build.

Peter
picnic
Posts: 70
Joined: Tue Apr 04, 2017 8:19 am

Re: Volunteer required (macOS)

Post by picnic »

Silly me forgot about that. I'll try it out.

Ta
Post Reply