Page 2 of 3

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

Posted: Sun Oct 30, 2011 4:26 pm
by Gunny
This is what its suppose to look like Gator.
vietnam2.stp
Sometimes Majors scenerys can have quite confusing file structures.

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

Posted: Sun Oct 30, 2011 4:41 pm
by decaff_42
The original one. Sorry for the confusion.

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

Posted: Mon Oct 31, 2011 4:42 am
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.

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

Posted: Mon Oct 31, 2011 5:03 pm
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.

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

Posted: Mon Oct 31, 2011 10:54 pm
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).

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

Posted: Tue Nov 01, 2011 3:25 am
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.

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

Posted: Tue Nov 01, 2011 4:05 am
by Philster
I seriously have no clue of what is happening. Those lst. match exactly what I have. Sorry I couldn't help.

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

Posted: Tue Nov 01, 2011 6:10 am
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 /.

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

Posted: Tue Nov 01, 2011 6:25 am
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...

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

Posted: Tue Nov 01, 2011 12:10 pm
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?

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

Posted: Tue Nov 01, 2011 8:30 pm
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.

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

Posted: Wed Nov 02, 2011 12:15 am
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.

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

Posted: Wed Nov 02, 2011 12:40 am
by waspe414
Odd. That seems to be exactly what I have. Check your PMs, I'll send you my version, see if it works.

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

Posted: Wed Nov 02, 2011 4:05 pm
by decaff_42
Thanks, it works with no errors now. Don't know what the problem was.

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

Posted: Wed Apr 11, 2012 11:52 pm
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.

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

Posted: Thu Apr 12, 2012 12:07 am
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?

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

Posted: Thu Apr 12, 2012 2:59 am
by Maroon 5
The dat errors are during initial loading, and I am using the latest stable release (2011)

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

Posted: Thu Apr 12, 2012 4:52 am
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.

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

Posted: Thu Apr 12, 2012 7:04 am
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.

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

Posted: Thu Apr 12, 2012 10:36 pm
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.