Shipdealer CDT
-
I don’t understand what you mean by 1.7beta 03/beta 04 - if you mean your mod versions?
Did you use the same ship .cmp, .sur, ship icon (.3db) file?
1. remove the ship from market_ships.ini by placing a “smelly-colon” '; in front and see if the ship dealer is OK with the 2 other ships.
2. If it’s OK then it’s most likely your ship icon (.3db) file, replace it with another vanilla ship’s icon file temporarily in goods.ini and recheck.
It’s largely irrelevant that it worked in your mod previously, since I had a similar icon problem only last week. To get it off my chest and make a little pause for you, here’s a shaggy-dog version of my tale of woe… ::)
… I made a copy of an existing ship’s files by changing the folder it was in, foolishly by deleting the original folder in my Freelancer game and copying in from the mod backup folder, which I had simply renamed, and that one had somehow inexplicably got corrupted - ctd on clicking my shipdealer, just like you. Of course when I copied in again from the mod folder it was still corrupted!
Once I had determined it was the .3db file and not the .cmp nor the .mat nor .sur (I took the long way round by using another ship’s files one by one instead of changing the paths in the shiparch.ini file and later the ship icon file in goods.ini, which would have reduced my diagnosis time by at least 15 minutes), I got a fresh vanilla icon, fixed the hash codes and imported my .dds ship icon picture file again by exporting from the copy icon file and importing into the new one - guess what? The .dds was bad, CTD.
Hmmm… so I imported another ship’s picture, checked - CTD! So did it again all over, made another new icon file from the same vanilla ship, did not import my pic, went to the shipdealer OK, bought it, launched OK, took a screenshot, made a new 64x64x24bpp icon, saved it as .JPG, converted it to .DDS with DDS Converter2, and imported that. It showed upside down!! Huh?? WELL I NEVER had that problem before! Reconverted it - same. What the…?? NUTS!! Lost my rag! Went back and saved the .JPG as a .tga, renamed the node to MIP0, imported that. Phew! it worked finally - but 3 hours of farting around though! And a 14k .3db file instead of 3k. Gnaaahh!!
I hope this is your problem, replace the ship .3db file with a vanilla one in your goods.ini and see if your dealer is then ok. Then fix it, just like wot I had to do!
-
Uhh… after all that, I just saw you are using the same icon as the federation fighter.
OK - does that ship work OK when you put it in the market-ships.ini in place of the delta flyer? If yes then its not your icon file.
But I’ll leave my shaggy-dog story up for amusement at my expense!
-
Its named deltaflyer.cmp
@ST: Yes we’re currently betatesting the next mod on a public server and the latest beta is 04 within this bug (its the only bug).
I have removed the ship from the dealer and placed on the manhatten dealer that was the way how i found out that it is the delta flyer and not one of the other ships.
Ty for all your help i will search for the bug when i come home.
-
When does it CTD ?
Can you get into the shipdealer room, if not then check your market_ships.ini doesn’t have a typo in that base’s section, check your shiparch actually does point to the CMP.
If it CTD’s when you open the buy window, then it’s either a bad entry in the package or your icon.
-
You could… remove the lights and tractor, just leave engine, power and scanner in the package.
Then, if it still crashes - change the reference of the hull in the package to another working ship (like the default starting ship - just copy/paste another hull line here instead).
You can change the icon to any icon (steal from another ship again) etc, check the actual base sell line, make sure the package it’s talking about exists - sub another package name (copy from another station) into it to check…May help tracking down the issue to narrow it down like this.
-
Aye fixed it …. its a shame that i did not see it earlier.
Anyway ty for all your help it was the damned texture i made a lightmap from tga to dds and didnt remember it (yeah u can blame me for it).
After trying to reimport the dds a few times (converted it again and again) i will now go with the tga lightmap, cause it still crashes.Again thank u all it was simple but silly sometimes u dont see the wood because of all the trees ;D
-
Just use DXT1 no alpha, then change the MIP0 entry in the mat file to MIPS.
As for it showing upside down, the converter likely converts TGA to DDS just as it sees it. TGAs are normally used upside down in FL -beats me why- so you’d need to flip it before conversion, or after, and before importing to .mat. -
Just use DXT1 no alpha, then change the MIP0 entry in the mat file to MIPS.
As for it showing upside down, the converter likely converts TGA to DDS just as it sees it. TGAs are normally used upside down in FL -beats me why- so you’d need to flip it before conversion, or after, and before importing to .mat.I know i know I’ve converted almost all textures in our mod from tga to dds and the delta flyer was the only one with such a bug.
I don’t care i will go with the tga textures its only 1.5mb more. -
… i know that prob very ‘well’.
I spend a lot time converting
malfuctional dds textures back 2 tga.