Fix Start-Up/LST File Errors

User avatar
Gunny
Business Class Membership
Business Class Membership
Posts: 3250
Joined: Sun Feb 06, 2011 6:17 pm
Favorite Aircraft: Any thing with a prop.
Location: New Iberia.LA.
OS: Windows 10 & XP SP3
Has thanked: 586 times
Been thanked: 786 times

Re: How To Fix Start-Up/List File Errors

Post by Gunny »

This is what its suppose to look like Gator.
vietnam2.stp
Sometimes Majors scenerys can have quite confusing file structures.
Image[/align=centre]
User avatar
decaff_42
Staff
Staff
Posts: 3838
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 844 times
Been thanked: 1726 times
Contact:

Re: How To Fix Start-Up/List File Errors

Post by decaff_42 »

The original one. Sorry for the confusion.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories

YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
User avatar
NavyGator
Veteran
Veteran
Posts: 637
Joined: Fri Jul 15, 2011 6:34 am
Favorite Aircraft: Prop-Driven civil
Location: near Airport HXD
Has thanked: 25 times
Been thanked: 58 times

Re: How To Fix Start-Up/List File Errors

Post by NavyGator »

@ decaff_42
It can depend on whether the offending line occurs in an aircraft.lst file
or in a scenery.lst file or in a ground.lst file.
If I understand it correctly,
air_????.lst files are loaded into the Aircraft folder;
sce_????.lst files are loaded into the Scenery folder;
gro_????.lst files into the Ground folder.

And, files structures being constructed only of lines of text,
they can easily be broken or mis-formed to begin with.
If the Files structure that results from your installing an
add-on differs from what the ???.lst file says, one or the
other has to be fixed in order for it to work correctly.
I know I've had to change a few myself because I was
expecting an add-on to have a slightly different structure
than it actually had. And those creating the add-ons, being
human, could also, inadvertantly, type in an incorrect
???.lst file. Attention to detail is supposed to be the key
ingredient to getting add-ons to work correctly. As you can
see, I'm still having some difficulties in getting some of
the details ironed out of a couple of add-ons.

@ Gunny,
Thanks, I'll check it out and get back with you.
Image
User avatar
decaff_42
Staff
Staff
Posts: 3838
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 844 times
Been thanked: 1726 times
Contact:

Re: How To Fix Start-Up/List File Errors

Post by decaff_42 »

@ NavyGater

I understand that you need to have the four basic parts of the aircraft in the .lst file. In the case of the Kuro pack, I ran thru the list and everything seemed to be in shape, following the correct format. The problem seemed to be with individual airplanes as I could simply cut out the offending airplanes form the .lst and get the remaining planes to work. That's how I was able to get some of the planes to work from the pack, but not all the ones I wanted.

The errors I was getting were something along the line of "Cannot load user/kuro/C-17/????C-17????.dat." What I noticed was that because kuro usually included four paint schemes for each type of aircraft, all four would return errors in the above format.

If the .lst file is correct then would the problem be a bad .dat file? I don't really know anything about editing those and when I get the time I'll do a side-by-side comparison of a kuro plane that works and one that doesn't to see if there is anything that really jumps off the page as an error.

Is there a common place for the creators to make a mistake in the .dat file, or is it really just a random error that I'd have to comb thru the .dat to find and fix?

Thanks


EDIT:::
I've gone back and taken a look at the aircraft that work and don't work in the .lst file. They all follow the same format in terms of what files they list in what order. The only thing that varied was a capital 'User' rather than a 'user' at the beginning or each line, but it didn't seem to matter as previously working models seemed fine with either.

The one thing I have noticed in the .dat files was the seeming lack of order in the columns. I'm working on making it look more like other similar dat file setups.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories

YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
User avatar
Philster
Veteran
Veteran
Posts: 558
Joined: Fri Jul 01, 2011 11:57 pm
Favorite Aircraft: Boeing 747
Location: California
Has thanked: 44 times
Been thanked: 60 times

Re: How To Fix Start-Up/List File Errors

Post by Philster »

Did you write the lst. yourself, or was it part of the original pack? From the error that you are getting, it seems that the file is in the wrong place. Double check the file paths to see if they are correct. Also, is it possible for you to give us the lst. line that is giving you the problem and the complete error message? It should help us figure out what is wrong.

Edit: What OS are you running? From what I remember, / and \ matter and capitalization matters on different OS (forgot the exact ones).
Image
241st Shadow Hunter
Team Awesome # 241
Soji wrote:They were the last birds who could have been arrested for the criminal negligence.
User avatar
decaff_42
Staff
Staff
Posts: 3838
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 844 times
Been thanked: 1726 times
Contact:

Re: How To Fix Start-Up/List File Errors

Post by decaff_42 »

I'm running Mac OS 10.6.7 and the latest Ysflight. I'm using the .lst file that is included in the pack, and simply plopping the kuro user folder into my user folder

I'm having trouble with a particular plane, so the following examples are the .lst lines from one of each problem plane. Kuro has several different skins for each plane and none of the different ones are working for me.

User\Kuro\ANG_F-16_V2\F-16c_144th_Black.DAT User\Kuro\ANG_F-16_V2\F-16c_144th_Black.DNM User\Kuro\ANG_F-16_V2\coll.srf User\Kuro\ANG_F-16_V2\cock.srf User\Kuro\ANG_F-16_V2\coar.dnm

User\Kuro\C-17\C-17_CHARLESTON.dat User\Kuro\C-17\C-17_CHARLESTON.dnm User\Kuro\C-17\C17coll.srf User\Kuro\C-17\C17cockpit.srf User\Kuro\C-17\C17coarse.dnm

User\Kuro\US737\AA_737.DAT User\Kuro\US737\AA_737.DNM User\Kuro\US737\737_L_coll.srf User\Kuro\US737\737_L_cock.dnm User\Kuro\US737\737_L_coarse.dnm

ser\Kuro\Globalhawks\Globalhawk_BB.dat user\Kuro\Globalhawks\Globalhawk_BB.dnm user\Kuro\Globalhawks\Globalhawk_coll.srf user\Kuro\Globalhawks\glob_null.srf

User/tako/Mh6/mh-6littlebird-troop.dat User/tako/Mh6/mh-6littlebird-troop.dnm User/tako/Mh6/mh-6coll.srf User/tako/Mh6/mh-6cock.srf User/tako/Mh6/mh-6coase.dnm

This last one I have a tako folder in my user folder, not in the kuro folder

My error message would be like this "Error: Cannot load user/kuro/C-17/C-17_CHARLESTON.dat"
just sub in the path of the .dat file for the other planes.

Any help would be appreciated. One thing that I did do was look over another of my C-17 dat files from another pack and it was identical to the ones giving me trouble. I renamed it correctly and swapped it for the troubled .dat file, but i got the same error as above.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories

YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
User avatar
Philster
Veteran
Veteran
Posts: 558
Joined: Fri Jul 01, 2011 11:57 pm
Favorite Aircraft: Boeing 747
Location: California
Has thanked: 44 times
Been thanked: 60 times

Re: How To Fix Start-Up/List File Errors

Post by Philster »

I seriously have no clue of what is happening. Those lst. match exactly what I have. Sorry I couldn't help.
Image
241st Shadow Hunter
Team Awesome # 241
Soji wrote:They were the last birds who could have been arrested for the criminal negligence.
User avatar
Midnight Rambler
Staff
Staff
Posts: 2136
Joined: Thu Feb 10, 2011 11:08 pm
Favorite Aircraft: F-16
Location: Australia
OS: Windows 11
Has thanked: 267 times
Been thanked: 374 times

Re: How To Fix Start-Up/List File Errors

Post by Midnight Rambler »

I can't copy your problem with my YS, however Linux does have some character problems. Perhaps Mac does also?...

One thing I noticed in your post of the dodgy addon.
decaff_42 wrote:I'm running Mac OS 10.6.7 and the latest Ysflight. I'm using the .lst file that is included in the pack, and simply plopping the kuro user folder into my user folder

I'm having trouble with a particular plane, so the following examples are the .lst lines from one of each problem plane. Kuro has several different skins for each plane and none of the different ones are working for me.

User\Kuro\ANG_F-16_V2\F-16c_144th_Black.DAT User\Kuro\ANG_F-16_V2\F-16c_144th_Black.DNM User\Kuro\ANG_F-16_V2\coll.srf User\Kuro\ANG_F-16_V2\cock.srf User\Kuro\ANG_F-16_V2\coar.dnm

User\Kuro\C-17\C-17_CHARLESTON.dat User\Kuro\C-17\C-17_CHARLESTON.dnm User\Kuro\C-17\C17coll.srf User\Kuro\C-17\C17cockpit.srf User\Kuro\C-17\C17coarse.dnm

User\Kuro\US737\AA_737.DAT User\Kuro\US737\AA_737.DNM User\Kuro\US737\737_L_coll.srf User\Kuro\US737\737_L_cock.dnm User\Kuro\US737\737_L_coarse.dnm

ser\Kuro\Globalhawks\Globalhawk_BB.dat user\Kuro\Globalhawks\Globalhawk_BB.dnm user\Kuro\Globalhawks\Globalhawk_coll.srf user\Kuro\Globalhawks\glob_null.srf

User/tako/Mh6/mh-6littlebird-troop.dat User/tako/Mh6/mh-6littlebird-troop.dnm User/tako/Mh6/mh-6coll.srf User/tako/Mh6/mh-6cock.srf User/tako/Mh6/mh-6coase.dnm


Is the all of the bolded have a \ instead of a / indicating the file structure. Perhaps Windows accepts the different but Mac and Linux don't?...
I'm not sure, but try swapping the \'s for /.
Image
User avatar
NavyGator
Veteran
Veteran
Posts: 637
Joined: Fri Jul 15, 2011 6:34 am
Favorite Aircraft: Prop-Driven civil
Location: near Airport HXD
Has thanked: 25 times
Been thanked: 58 times

Re: How To Fix Start-Up/List File Errors

Post by NavyGator »

The only thing that even halfway jumps off at me is that the lst syntax
for the tako aircraft is different from the kuro aircrafts. One uses a
forward-slash, the other a back-slash. Also upper-case and lower-case U's.
And like MR said, some OS do, and some don't, see that as a problem.

  • user\Kuro\Globalhawks\Globalhawk_BB.dat user\Kuro\Globalhawks\Globalhawk_BB.dnm user\Kuro\Globalhawks\Globalhawk_coll.srf user\Kuro\Globalhawks\glob_null.srf

    User/tako/Mh6/mh-6littlebird-troop.dat User/tako/Mh6/mh-6littlebird-troop.dnm User/tako/Mh6/mh-6coll.srf User/tako/Mh6/mh-6cock.srf User/tako/Mh6/mh-6coase.dnm
The only other thing that could cause them to not be loading (assuming all
of the files are good) would be the actual file structure in your computer
varying from the structure listed in the .lst file. (I have seen occasions
where duplicate folders are nested one into the other; resulting in file-paths like:
User/tako/tako/Mh6/mh-6coase.dnm
or something similar).
I wish you success in the endeavor...
Image
User avatar
decaff_42
Staff
Staff
Posts: 3838
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 844 times
Been thanked: 1726 times
Contact:

Re: How To Fix Start-Up/List File Errors

Post by decaff_42 »

NavyGator, MIghty, you were right!!! I didn't even notice the use of the back-slash. I changed all the troubled airplanes to have forward-slashes and now they all work. Thanks for that tip. I went back over the Littlebird lst and noticed that the .dat and such were supposed to be inside another folder inside the Tako user folder...silly mistake on my part.

Everything works now. Thanks all for your help. I'll have to go back and take a look at the other packs that didn't work and see what I can do about them.

EDIT:

I'm trying to get this: http://www.yspilots.com/yspf/viewtopic.php?f=19&t=2801 to work. Because it doesn't include a .lst file I made a line in my other .lst file for Martins.

user/Martins/F18/f18-400.dat user/Martins/F18/f18-400.dnm user/Martins/F18/f18-400_coll.srf user/Martins/F18/I-cauda.srf user/Martins/F18/lights-back-on.srf

I'm getting and error doing this. LOAD ERROR: (VISUAL) :./user/Martins/F18/f18-400.dnm

Is there something wrong with my lst setup?
Check out my website YSDecaff for all my tutorials and addon releases.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories

YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
User avatar
waspe414
Staff
Staff
Posts: 1581
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: Kiowa, Mitten, Hornet
Location: Canada
Has thanked: 154 times
Been thanked: 506 times

Re: How To Fix Start-Up/List File Errors

Post by waspe414 »

Try removing both the l-cauda.srf and lights-back-on.srf sections from the .lst.

They're actually part of the aircraft, but are filling up the cockpit and coarse slots in the .lst. It doesn't make a difference on my XP, but the Mac coding may be a little different and give an error.

The reason they're there is the structure of this .dnm is slightly unconventional. Normally (and for most of the sections in this particular .dnm) the polygon information is stored in sections in the .dnm. Sometimes, though, it is linked to files in the same folder rather than parts of the .dnm itself, and if those files are misplaced or renamed, it will generate an error.
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
User avatar
decaff_42
Staff
Staff
Posts: 3838
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 844 times
Been thanked: 1726 times
Contact:

Re: How To Fix Start-Up/List File Errors

Post by decaff_42 »

I tried the .lst both ways and it didn't make a difference I still got
LOAD ERROR: (VISUAL) :./user/Martins/F18/f18-400.dnm

I noticed that other planes by Martins have a '::' before the name of the plane when u are selecting the plane in YSF.

I went through the .dnm file and found where it references the two weird .srf files included

SRF "21"
FIL l-cauda.srf
CLA 32
NST 0
POS 0.0000 0.0000 0.0000 0 0 0 0
CNT 0.0000 0.0000 0.0000
REL DEP
NCH 0
END

SRF "0053"
FIL lights-back-on.srf
CLA 0
NST 0
POS 0.0000 0.0000 0.0000 0 0 0 1
CNT 0.0000 0.0000 0.0000
REL DEP
NCH 0
END

I don't know if this will help the troubleshoot.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories

YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
User avatar
waspe414
Staff
Staff
Posts: 1581
Joined: Thu Feb 10, 2011 9:35 pm
Favorite Aircraft: Kiowa, Mitten, Hornet
Location: Canada
Has thanked: 154 times
Been thanked: 506 times

Re: How To Fix Start-Up/List File Errors

Post by waspe414 »

Odd. That seems to be exactly what I have. Check your PMs, I'll send you my version, see if it works.
Actual UltraViolet
Image Image
Image
I stole your turnip. Now you must come and defend your honour. ~ Hank Green
User avatar
decaff_42
Staff
Staff
Posts: 3838
Joined: Sat Oct 29, 2011 7:23 pm
Favorite Aircraft: SR-71 Blackbird
Location: Eastern United States
OS: Mac OSX
Has thanked: 844 times
Been thanked: 1726 times
Contact:

Re: How To Fix Start-Up/List File Errors

Post by decaff_42 »

Thanks, it works with no errors now. Don't know what the problem was.
Check out my website YSDecaff for all my tutorials and addon releases.
Visit my GitHub page for Python codes: https://github.com/decaff42?tab=repositories

YSFlight Addon Database - Find links to nearly every addon made for YSFlight!
Submit Addon To Database
Maroon 5
Veteran
Veteran
Posts: 548
Joined: Wed Jan 25, 2012 1:46 am
Favorite Aircraft: 767
Location: Los Angeles
Has thanked: 4 times
Been thanked: 6 times

Re: How To Fix Start-Up/List File Errors

Post by Maroon 5 »

Can someone tell me how to fix the errors that come up with Gre's Citation X pack? There are DAT errors on all of the planes.
Looking for a unique security and malware forum? Look no further than www.styxnet.pw
User avatar
Philster
Veteran
Veteran
Posts: 558
Joined: Fri Jul 01, 2011 11:57 pm
Favorite Aircraft: Boeing 747
Location: California
Has thanked: 44 times
Been thanked: 60 times

Re: How To Fix Start-Up/List File Errors

Post by Philster »

fanjet wrote:Can someone tell me how to fix the errors that come up with Gre's Citation X pack? There are DAT errors on all of the planes.
What are the dat. errors and are you using the latest test version?
Image
241st Shadow Hunter
Team Awesome # 241
Soji wrote:They were the last birds who could have been arrested for the criminal negligence.
Maroon 5
Veteran
Veteran
Posts: 548
Joined: Wed Jan 25, 2012 1:46 am
Favorite Aircraft: 767
Location: Los Angeles
Has thanked: 4 times
Been thanked: 6 times

Re: How To Fix Start-Up/List File Errors

Post by Maroon 5 »

The dat errors are during initial loading, and I am using the latest stable release (2011)
Looking for a unique security and malware forum? Look no further than www.styxnet.pw
User avatar
Philster
Veteran
Veteran
Posts: 558
Joined: Fri Jul 01, 2011 11:57 pm
Favorite Aircraft: Boeing 747
Location: California
Has thanked: 44 times
Been thanked: 60 times

Re: How To Fix Start-Up/List File Errors

Post by Philster »

fanjet wrote:The dat errors are during initial loading, and I am using the latest stable release (2011)
What do they say exactly? If it's during initial loading, it sounds like a pathway error. Check the lst. of the addon and make sure it corresponds with where you put it.
Image
241st Shadow Hunter
Team Awesome # 241
Soji wrote:They were the last birds who could have been arrested for the criminal negligence.
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

Re: How To Fix Start-Up/List File Errors

Post by Flake »

I beleive it's because Soji has changed the loading to read a different text type, or terminate the string early.

Regardless, all my eastern origin maps are having issues.
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!
Maroon 5
Veteran
Veteran
Posts: 548
Joined: Wed Jan 25, 2012 1:46 am
Favorite Aircraft: 767
Location: Los Angeles
Has thanked: 4 times
Been thanked: 6 times

Re: How To Fix Start-Up/List File Errors

Post by Maroon 5 »

YSMajor's Iwoajima, Naha airbases and a couple other maps have STP and FLD file load errors and when I try to select them when creating a new flight, windows says FSMAINDX.EXE has encountered an error and need to close. TF58's solomon map doesn't have a load error, but also crashes YS Flight.
Looking for a unique security and malware forum? Look no further than www.styxnet.pw
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests