[Linux]Error with PMNV North Caribbean ground obj.

Questions, comments, concerns, & fixes
Post Reply
User avatar
acf492
Contributor
Contributor
Posts: 144
Joined: Sat Sep 10, 2011 4:18 am
Favorite Aircraft: 737
Location: Toronto, Ontario
OS: Linux
Has thanked: 12 times
Been thanked: 12 times
Contact:

[Linux]Error with PMNV North Caribbean ground obj.

Post by acf492 » Sun Aug 19, 2018 6:32 am

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
I'm back.

User avatar
Turbofan
Senior Veteran
Senior Veteran
Posts: 1807
Joined: Thu Feb 03, 2011 4:22 pm
Favorite Aircraft: Boeing 747, all variants
Location: Central OK
Has thanked: 923 times
Been thanked: 631 times
Contact:

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

Post by Turbofan » 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.
Check out my YSFS videos on my Youtube channel!
-----------------------
ATRP: When used in my posts refers to "Air Traffic Replay Project"
-----------------------
Avatar: Pratt and Whitney JT8D-219
-----------------------
My general rant: I will call them blended winglets, not Sharklets; There is no CEO, it's just simply put, an Airbus 319/320/321, or the 320NEO, 321NEO etc. I didn't land IN DAL, I landed AT DAL. On the other hand, I did land in Dallas.
-----------------------
New website update as of July 3, 2018: New map modification policy under "Map Information" and updates to the GRID and WIP!
Turbofan's Terminal

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3770
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win Vista
Has thanked: 1557 times
Been thanked: 1671 times
Contact:

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

Post by Neocon » Sun Aug 19, 2018 4:32 pm

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

NightRaven
Senior Veteran
Senior Veteran
Posts: 1843
Joined: Tue Feb 07, 2012 10:00 am
Favorite Aircraft: .
OS: windoze 10 64-bit
Has thanked: 530 times
Been thanked: 607 times

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

Post by NightRaven » 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.

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3770
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win Vista
Has thanked: 1557 times
Been thanked: 1671 times
Contact:

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

Post by Neocon » Mon Aug 20, 2018 12:25 pm

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?

User avatar
acf492
Contributor
Contributor
Posts: 144
Joined: Sat Sep 10, 2011 4:18 am
Favorite Aircraft: 737
Location: Toronto, Ontario
OS: Linux
Has thanked: 12 times
Been thanked: 12 times
Contact:

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

Post by acf492 » Wed Aug 22, 2018 9:21 am

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 996 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.
I'm back.

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3770
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win Vista
Has thanked: 1557 times
Been thanked: 1671 times
Contact:

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

Post by Neocon » 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.

User avatar
acf492
Contributor
Contributor
Posts: 144
Joined: Sat Sep 10, 2011 4:18 am
Favorite Aircraft: 737
Location: Toronto, Ontario
OS: Linux
Has thanked: 12 times
Been thanked: 12 times
Contact:

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

Post by acf492 » Thu Aug 23, 2018 12:33 am

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.
I'm back.

User avatar
Neocon
First Class Membership
First Class Membership
Posts: 3770
Joined: Wed Oct 19, 2011 5:01 am
Favorite Aircraft: Baron 58
Location: Tennessee
OS: Win Vista
Has thanked: 1557 times
Been thanked: 1671 times
Contact:

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

Post by Neocon » Thu Aug 23, 2018 4:18 am

Yep, it's consistent. The problem seems to be that at some point I must have reverted to the older, non-Linux .dnm files.

User avatar
acf492
Contributor
Contributor
Posts: 144
Joined: Sat Sep 10, 2011 4:18 am
Favorite Aircraft: 737
Location: Toronto, Ontario
OS: Linux
Has thanked: 12 times
Been thanked: 12 times
Contact:

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

Post by acf492 » Sat Aug 25, 2018 4:23 am

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?
I'm back.

User avatar
Welshy
Staff
Staff
Posts: 1907
Joined: Thu Feb 24, 2011 4:53 pm
Favorite Aircraft: AgustaWestland AW189
Location: Chepstow, Old South Wales
OS: Windows 10
Has thanked: 197 times
Been thanked: 182 times
Contact:

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

Post by Welshy » Sun Aug 26, 2018 12:36 am

Yes he does.

YSFHQ Elected Admin
Officer Commanding VMFA-125 (CVW-171)
Previously Officer Commanding 323rd CAW
Friendly Neighbourhood Miscreant

If you see me post like this in a thread pay attention!
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest