Page 1 of 1

[Linux]Error with PMNV North Caribbean ground obj.

Posted: Sun Aug 19, 2018 6:32 am
by acf492
Hi,

I'm using the Linux version of YSFlight. After adding the PMNV North Caribbean map, I can launch the game, but when I join a server hosting the map, such as YSCAS, I get an error about /user/neocon/ground/treeforest.dnm.

I have dug into all the files related to this particular object, and while I did find a few occurrences of an uppercase/lowercase mismatch, this one error will NOT go away after fixing them.

I'm usually able to fix case errors with mods, so this is a particularly challenging problem. Any help would be appreciated.

Also, I did a quick check to see if the problem was in another part of the map mod, and I can confirm no error loading after I, um, switched the DNM file...

Image

Re: [Linux]Error with PMNV North Caribbean ground obj.

Posted: Sun Aug 19, 2018 1:18 pm
by Turbofan
Can you tell us exactly what error you're getting? Is it the "Cannot load..." error? I have that exact same treeforest.dnm file also but I have a few others, like treeforest1.dnm etc. From the looks of it you might not have the treeforest.srf file, check to see if you have that. If not, you might need to update the ground pack.

Re: [Linux]Error with PMNV North Caribbean ground obj.

Posted: Sun Aug 19, 2018 4:32 pm
by Neocon
Normally I would have expected u2fly to warn me about such problems. I'll look into it. I thought I had Linux-proofed that pack. :?

Re: [Linux]Error with PMNV North Caribbean ground obj.

Posted: Mon Aug 20, 2018 11:05 am
by NightRaven
if you are using the later versions of linux ysflight such as those after 2015, you're out of luck. if I remember correctly, those builds refuse to load dnms that have their constituent srfs outside of the dnm file ie. exploded dnms which happens to be pat's style of making ground objects. this also affects aircraft, so u might not be able to load utachy's aircraft such as the mrj and tristar as well.

Re: [Linux]Error with PMNV North Caribbean ground obj.

Posted: Mon Aug 20, 2018 12:25 pm
by Neocon
NightRaven wrote:
Mon Aug 20, 2018 11:05 am
those builds refuse to load dnms that have their constituent srfs outside of the dnm file ie. exploded dnms which happens to be pat's style of making ground objects.
I thought I had fixed those, though. Maybe I didn't?

Re: [Linux]Error with PMNV North Caribbean ground obj.

Posted: Wed Aug 22, 2018 9:21 am
by acf492
NightRaven wrote:
Mon Aug 20, 2018 11:05 am
if you are using the later versions of linux ysflight such as those after 2015, you're out of luck. if I remember correctly, those builds refuse to load dnms that have their constituent srfs outside of the dnm file ie. exploded dnms which happens to be pat's style of making ground objects. this also affects aircraft, so u might not be able to load utachy's aircraft such as the mrj and tristar as well.
That could be the cause of the problem, but should it not happen with the later Windows and Mac OS versions of YSFlight as well?

Turbofan wrote:
Sun Aug 19, 2018 1:18 pm
Can you tell us exactly what error you're getting? Is it the "Cannot load..." error? I have that exact same treeforest.dnm file also but I have a few others, like treeforest1.dnm etc. From the looks of it you might not have the treeforest.srf file, check to see if you have that. If not, you might need to update the ground pack.
I do have treeforest.srf as listed below:

Code: Select all

... ~/software/ysflight/user/neocon/ground $ du -b treeforest*
154	treeforest1.dat
393811	treeforest1.srf
11362	treeforest2cl.srf
154	treeforest2.dat
17885	treeforest2.srf
153	treeforest.dat
2981	treeforest.dnm
504216	treeforest.srf
I have provided a screenshot of the error message.

I am using the latest YSFlight edition, as that was the logical and easiest thing to do after not using YSFlight for years and not having quick local access to an older version at the present moment.

Also, might be worth noting that the error dialog appears exactly 10 times, I assume that is the number of instances of the particular entity that causes this error, wherever they are.

(Due to conflicting/outdated version codes in the various included files and readmes, I'm not sure what the version datecode is for my YSFlight version, but the zip file 'YsflightForLinux.zip' contains files with datestamps of 8-May-2015. The same zip extracted and running as my showcase server is listed as 20150425 by the YSFHQ server list.)

ys_error_neocon_treeforest_dnm.png
ys_error_neocon_treeforest_dnm.png (1.17 KiB) Viewed 2008 times
Image
The grouping called "PMNETREEFOREST" is not visible, but individual trees appear OK.

In case it matters, here's my personal record of case changes made to my copies of the mod files during troubleshooting:

Code: Select all

user/neocon/ground/treeforest.dat: "PMNETREEforest" - corrected to all uppercase.
tree10m.dat: "PMNETREE10m" - not changed, I couldn't find whether other files referred to these trees by upper or mixed case.
tree25m.dat: "PMNETREE25m" - unchanged
tree50m.dat: "PMNETREE50m" - unchanged
tree100m.dat: "PMNETREE100m" - unchanged

treepalm30m.dat: "IDENTIFY PMNETREE_Palm30m" - corrected to uppercase

tree10m.srf, tree25m.srf starts with "Surf" - corrected to uppercase "SURF"

I really don't know. Maybe the real problem is my inability to see the forest for the trees?
Yes, I know my puns are deadly.

Re: [Linux]Error with PMNV North Caribbean ground obj.

Posted: Wed Aug 22, 2018 5:30 pm
by Neocon
If that says "PMNE", that would be the problem. It should be "PMNV". I'll check it tonight.

Re: [Linux]Error with PMNV North Caribbean ground obj.

Posted: Thu Aug 23, 2018 12:33 am
by acf492
Neocon wrote:
Wed Aug 22, 2018 5:30 pm
If that says "PMNE", that would be the problem. It should be "PMNV". I'll check it tonight.
The PMNE spelling occurs in a lot of the files I examined, I don't think that is a source of errors. If it isn't the desired spelling, at least it is consistent in the places I've seen it.

Re: [Linux]Error with PMNV North Caribbean ground obj.

Posted: Thu Aug 23, 2018 4:18 am
by Neocon
Yep, it's consistent. The problem seems to be that at some point I must have reverted to the older, non-Linux .dnm files.

Re: [Linux]Error with PMNV North Caribbean ground obj.

Posted: Sat Aug 25, 2018 4:23 am
by acf492
Do you mean to say that the Linux version of YSflight has a different compatibility with .dnm files as its Windows or Mac OS counterparts?

Re: [Linux]Error with PMNV North Caribbean ground obj.

Posted: Sun Aug 26, 2018 12:36 am
by Welshy
Yes he does.