Page 1 of 1

Issue with Shell 232

PostPosted: Thu Jun 03, 2010 11:30 am
by diafero
I can't open Pahts_District_Shell232.prp from the May19 version in Drizzle with any libHSPlasma tool. It always gives this error:
Code: Select all
Empty input file
Failed reading <189|-74>[0004]232WhMica.jpg: libJPEG error
Is that an issue with the source file, or was it corrupted while getting from Robert to UAM?

Re: Issue with Shell 232

PostPosted: Thu Jun 03, 2010 11:49 am
by ddb174
Or is it a problem with libplasma? ;) After all, the prp loads fine in Uru.

Re: Issue with Shell 232

PostPosted: Thu Jun 03, 2010 4:16 pm
by D'Lanor
PrpShop opens the prp file without errors. I can verify that the texture is missing. It is referenced though in Layer s232sphmat-s232mica.

Re: Issue with Shell 232

PostPosted: Fri Jun 04, 2010 4:03 am
by diafero
ddb174 wrote:Or is it a problem with libplasma? ;) After all, the prp loads fine in Uru.

Well, Uru is not that strict about the format and prefers to just crash under weird circumstances. Or accept the invalid stuff and behave a bit strange. Or whatever.

But of course it could also be a libHSPlasma. But it looks more like an invalid prp file for me.

The file opens in PrpShop, but I think it stops loading when it reaches that texture. It doesn't show the error in the GUI, but it should be in the PrpShop.log file in the working directory (wherever that is on windows).

Re: Issue with Shell 232

PostPosted: Fri Jun 04, 2010 8:00 am
by D'Lanor
PrpShop handles the error correctly and reports it when I try to preview the missing texture. Everything else loads fine. There was nothing in the log file.

Re: Issue with Shell 232

PostPosted: Fri Jun 04, 2010 12:16 pm
by diafero
I get this logfile:
* Loading: Shell232 (Pahts)
Location: <189|-74>
Version: PotS/CC
Empty input file
Failed reading <189|-74>[0004]232WhMica.jpg: libJPEG error
Failure on line Util/plJPEG.cpp:132
Got erroneous key: <189|-74>[0004]232WhMica.jpg
* Loading: Textures (Pahts)
Location: <189|-1>
Version: PotS/CC
* Loading: BuiltIn (Pahts)
Location: <189|-2>
Version: PotS/CC

And the offending texture is not even listed in the page's mipmaps. This is with PrpShop build 111 on 64-bit Linux (latest mercurial version).