Project

General

Profile

Bug #2380

[Linux] Errors when loading resources from PK3s

Added by thesourcehim over 4 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Deng Team
Category:
-
Target version:
-
Start date:
2019-12-24
% Done:

0%


Description

Linux version of Doomsday (2.3 #3278) fails to load many Heretic models and textures from jHRP because for example folder is called Data and not data. For example I get warning message 'Failed to load (basedir)/data/jheretic/textures/Particle00.tga', but the file is actually there save for some letters being upper case.

Doom_addons_warnings.png (36.9 KB) Doom_addons_warnings.png thesourcehim, 2019-12-25 13:44
jHRP_warnings.png (59 KB) jHRP_warnings.png thesourcehim, 2019-12-25 13:44

Related issues

Related to Feature #2381: Support for 8-bit and run-length encoded TGA imagesClosed2019-12-25

History

#1 Updated by skyjake over 4 years ago

Paths in PK3 files are handled case insensitively. Do you have more examples of where errors of this sort might be happening?

When it comes to Particle00.tga of jHRP, it appears to be in an unsupported format:

Particle00.tga: Targa image data - Map (256) 64 x 64 x 8 - 8-bit alpha
Particle01.tga: Targa image data - RGBA 64 x 64 x 32 - 8-bit alpha
Particle02.tga: Targa image data - RGBA 64 x 64 x 32 - 8-bit alpha
...

It's a Targa image with an 8-bit colormap, while the others are 24/32-bit RGB/A images.

#2 Updated by thesourcehim over 4 years ago

Attaching screenshots of jHRP warnings and Doom addons warnings (jDRP, Hi-Res texture project, Hi-res UI).

#3 Updated by skyjake over 4 years ago

I don't think any of those are due file path case sensitivity.

  • jHRP particle00 targa is indexed and thus unsupported at the moment
  • jHRP RespawnFOG/TeleFog.dmd doesn't exist (there's a TeleFOG/TeleFog.dmd...)
  • jDRP particle00/23 are also indexed and thus unsupported
  • jDRP (at least 1.01) doesn't seem to have a Lostsoul_flame.md2

The indexed Targa support could be added, of course.

#4 Updated by thesourcehim over 4 years ago

Fixing ded in jHRP (replaced RespawnFOG/TeleFog.dmd woth TeleFOG/TeleFog.dmd) indeed fixed the problem.
Will it be hard to add indexed TGA support?

Edit: I examined TGA's in question, they appear to be not indexed 8bit TGA's, but 8bit alpha channel ones.

#5 Updated by skyjake over 4 years ago

  • Related to Feature #2381: Support for 8-bit and run-length encoded TGA images added

#6 Updated by skyjake over 4 years ago

  • Status changed from New to Rejected

#7 Updated by skyjake about 4 years ago

  • Subject changed from [Linux] pk3 contents are case sensitive to [Linux] Errors when loading resources from PK3s

Also available in: Atom PDF