Void Linux 64bit, OpenMW 0.47.0_1 - some pink textures

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
krogg
Posts: 13
Joined: 31 Mar 2020, 03:18

Void Linux 64bit, OpenMW 0.47.0_1 - some pink textures

Post by krogg »

This post is not a bug report. It is three questions.

Background:

I am currently running Void Linux. In this Linux I am running OpenMW 0.47.0_1 from the Void repository. Prior to that, I ran OpenMW 0.46.0-3 in Devuan Chimaera and openmw-2020.08.27 (the date of the "git clone" is the version) in Slackware.

In versions of OpenMW prior to 0.47.0_1, textures from all mods were rendered correctly. In 0.47.0_1, textures of some (not all) statics, weapons and armor are rendered as pink and the texture images are not shown. So far, all such incorrectly textured objects are from mods.

The above pink objects are from mods created over a decade ago in the actual Morrowind construction set. These mods display fine in Morrowind itself. They displayed correctly in tried versions of OpenMW prior to 0.47.0_1.

My actual questions:
  • Has anyone else had this happen?

    If you had this problem, did you fix it?

    If so, how?
Thank you.
like it was in Morrowind but with less crashing
User avatar
AnyOldName3
Posts: 2357
Joined: 26 Nov 2015, 03:25

Re: Void Linux 64bit, OpenMW 0.47.0_1 - some pink textures

Post by AnyOldName3 »

This is almost certainly a mod install issue (if the paths to your mod directories or list of BSA files got messed up when transferring between OS versions) or because your current OpenMW binaries depend on an older OpenSceneGraph package with less comprehensive support for certain kinds of TGA file. There'll be something in your openmw.log file (which you can find with https://openmw.readthedocs.io/en/latest ... -log-files) complaining about missing files or errors reading files.
AnyOldName3, Master of Shadows
krogg
Posts: 13
Joined: 31 Mar 2020, 03:18

Re: Void Linux 64bit, OpenMW 0.47.0_1 - some pink textures

Post by krogg »

Thank you, that was helpful. Data have been gained. In my .config/openmw/openmw.log I found this:

Code: Select all

[08:16:59.235 E] Failed to open image: Resource 'textures/tx_pcc_x03_01.dds' not found
[08:16:59.236 E] Failed to open image: Resource 'textures/tx_pcc_x03_02.dds' not found
[08:16:59.237 E] Failed to open image: Resource 'textures/tx_pcc_x03_03.dds' not found
Very odd, since the textures in question (which, again, have loaded correctly in all versions until now) were never dds. They are tga and always have been. I'm going to guess that real Morrowind has some sort of "oh, he said dds but there's nothing there, let me try that as a .tga, yup there it is *load load*" and that previous versions of OpenMW had that (they had to, the textures are clearly visible) yet the current (at least in the Void distro) version of openmw does not. Interesting.
like it was in Morrowind but with less crashing
krogg
Posts: 13
Joined: 31 Mar 2020, 03:18

Re: Void Linux 64bit, OpenMW 0.47.0_1 - some pink textures

Post by krogg »

I compiled a 0.47 myself, just to make sure it was not anything specific to the Void build that was causing this weirdness.

Weirdness? Well, for example; one specific NIF I looked at uses four textures, all the usual bottom-origin uncompressed 24-bit TGA of the sort that all worked in OpenMW 0.46 and in real Morrowind. One of those four textures works in OpenMW 0.47 and three fail. Why would this be so? I would have expected them to either all work or all fail.

So I've been analyzing plugins, finding which NIFs have some problem textures. The ones that work use bottom-origin uncompressed 24-bit TGAs. The ones that don't work use the same type of TGA. Yes, I looked at the TGA headers in hex to make sure. :p

I also double checked, again, that in both working a non-working TGAs, the file names as they appear in the NIF file match the real names, including case. So far each NIF I've looked at references filename.tga and there is a corresponding filename.tga in the Data Files/Textures directory.

Really weird.

If I convert the TGA to DDS and then run OpenMW and look around in-game, the object in question now appears with the proper texture, despite the NIF asking for a TGA. :p So that is a workaround.

This really is weird.

Today, finally, I stumbled on to a clue. I've not checked every "bad" tga, however so far, the TGAs that needed to be converted to DDS are non-square (for example 128x256 pixels) and the TGAs that are being read correctly are square (something like 128x128 pixels).

What would cause the TGA file format parsing of OpenMW (0.47, not 0.46) to conclude that a TGA file that is non-square (yet still powers of two) dimensions is "not found"?
like it was in Morrowind but with less crashing
User avatar
AnyOldName3
Posts: 2357
Joined: 26 Nov 2015, 03:25

Re: Void Linux 64bit, OpenMW 0.47.0_1 - some pink textures

Post by AnyOldName3 »

Can you upload your whole log when you try and load the non-square textures? I've got some ideas.
AnyOldName3, Master of Shadows
krogg
Posts: 13
Joined: 31 Mar 2020, 03:18

Re: Void Linux 64bit, OpenMW 0.47.0_1 - some pink textures

Post by krogg »

AnyOldName3 wrote: 12 May 2022, 22:29 Can you upload your whole log when you try and load the non-square textures? I've got some ideas.
It's 16k, hope it fits ...

Code: Select all

[20:23:29.420 I] Crash handler installed
[20:23:29.503 I] Loading config file: /home/bob/.config/openmw/openmw.cfg
[20:23:29.506 I] Loading config file: /etc/openmw/openmw.cfg
[20:23:29.509 I] OpenMW version 0.47.0
[20:23:29.509 I] Using default (English) font encoding.
[20:23:29.509 I] OSG version: 3.4.2
[20:23:29.509 I] SDL version: 2.0.12
[20:23:29.512 I] Loading settings file: /etc/openmw/defaults.bin
[20:23:29.512 I] Loading settings file: /home/bob/.config/openmw/settings.cfg
[20:23:29.685 I] Adding BSA archive /home/bob/win_hold/proggy/Bethesda Softworks/Morrowind/Data Files/Morrowind.bsa
[20:23:29.703 I] Adding BSA archive /home/bob/win_hold/proggy/Bethesda Softworks/Morrowind/Data Files/Tribunal.bsa
[20:23:29.707 I] Adding BSA archive /home/bob/win_hold/proggy/Bethesda Softworks/Morrowind/Data Files/Bloodmoon.bsa
[20:23:29.710 I] Adding data directory /usr/share/games/openmw/resources/vfs
[20:23:29.711 I] Adding data directory /usr/share/games/openmw/data
[20:23:29.711 I] Adding data directory /home/bob/win_hold/proggy/Bethesda Softworks/Morrowind/Data Files
[20:23:29.746 W] Warning: found duplicate file for '/home/bob/win_hold/proggy/Bethesda Softworks/Morrowind/Data Files/Textures/tx_pcc_x03_03.tga', please check your file system for two files with the same name in different cases.
[20:23:29.747 W] Warning: found duplicate file for '/home/bob/win_hold/proggy/Bethesda Softworks/Morrowind/Data Files/Textures/Tx_pcc_gis04.tga', please check your file system for two files with the same name in different cases.
[20:23:29.759 W] Warning: found duplicate file for '/home/bob/win_hold/proggy/Bethesda Softworks/Morrowind/Data Files/Textures/Tx_pcc_x03_01.tga', please check your file system for two files with the same name in different cases.
[20:23:29.762 W] Warning: found duplicate file for '/home/bob/win_hold/proggy/Bethesda Softworks/Morrowind/Data Files/Textures/TX_pcc_gis02.tga', please check your file system for two files with the same name in different cases.
[20:23:29.765 W] Warning: found duplicate file for '/home/bob/win_hold/proggy/Bethesda Softworks/Morrowind/Data Files/Textures/TX_pcc_gis01.tga', please check your file system for two files with the same name in different cases.
[20:23:29.767 W] Warning: found duplicate file for '/home/bob/win_hold/proggy/Bethesda Softworks/Morrowind/Data Files/Textures/tx_pcc_x03_02.tga', please check your file system for two files with the same name in different cases.
[20:23:29.970 I] Loading keybindings file: /home/bob/.config/openmw/input_v3.xml
[20:23:30.150 I] Initializing OpenAL...
[20:23:30.204 I] Opened "ALSA Default"
[20:23:30.204 I]   ALC Version: 1.1
[20:23:30.204 I]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_device_clock ALC_SOFT_HRTF ALC_SOFT_loopback ALC_SOFT_output_limiter ALC_SOFT_pause_device
[20:23:30.206 I]   Vendor: OpenAL Community
[20:23:30.206 I]   Renderer: OpenAL Soft
[20:23:30.206 I]   Version: 1.1 ALSOFT 1.20.1
[20:23:30.206 I]   Extensions: AL_EXT_ALAW AL_EXT_BFORMAT AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_BFORMAT AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_EXT_SOURCE_RADIUS AL_EXT_STEREO_ANGLES AL_LOKI_quadriphonic AL_SOFT_bformat_ex AL_SOFT_block_alignment AL_SOFT_deferred_updates AL_SOFT_direct_channels AL_SOFT_direct_channels_remix AL_SOFTX_effect_chain AL_SOFTX_events AL_SOFTX_filter_gain_ex AL_SOFT_gain_clamp_ex AL_SOFT_loop_points AL_SOFTX_map_buffer AL_SOFT_MSADPCM AL_SOFT_source_latency AL_SOFT_source_length AL_SOFT_source_resampler AL_SOFT_source_spatialize
[20:23:30.206 I] HRTF disabled
[20:23:30.206 I] Allocated 256 sound sources
[20:23:30.207 I] Low-pass filter supported
[20:23:30.207 I] EAX Reverb supported
[20:23:30.212 I] Enumerated output devices:
[20:23:30.212 I]   ALSA Default  HDA Intel HDMI, HDMI 0 (CARD=HDMI,DEV=3)  HDA Intel HDMI, HDMI 1 (CARD=HDMI,DEV=7)  HDA Intel HDMI, HDMI 2 (CARD=HDMI,DEV=8)  HDA Intel HDMI, HDMI 3 (CARD=HDMI,DEV=9)  HDA Intel HDMI, HDMI 4 (CARD=HDMI,DEV=10)  HDA Intel PCH, CX20756 Analog (CARD=PCH,DEV=0)
[20:23:30.214 I] Enumerated HRTF names:
[20:23:30.214 I]   Default HRTF  Built-In HRTF
[20:23:31.070 I] Loading content file Morrowind.esm
[20:23:31.294 I] Loading content file Theurgist_cleaned.esp
[20:23:31.298 I] Loading content file entertainers.esp
[20:23:31.300 I] Loading content file LeFemmArmor.esp
[20:23:31.300 I] Loading content file no_damn_birds.esp
[20:23:31.301 I] Loading content file bcsounds.esp
[20:23:31.301 I] Loading content file Tribunal.esm
[20:23:31.349 I] Loading content file master_index.esp
[20:23:31.352 I] Loading content file Siege at Firemoth.esp
[20:23:31.361 I] Loading content file Bloodmoon.esm
[20:23:31.418 I] Loading content file pcc_imp_glass_shield.esp
[20:23:31.419 I] Loading content file pcc_serlyn_cheat.esp
[20:23:31.419 I] Loading content file pcc_my_house_03.esp
[20:23:31.419 I] Loading content file word_use_fix.esp
[20:23:31.421 I] Loading content file The  Undead Dungeons.esp
[20:23:31.432 I] Loading content file pcc_tirfar_02.esp
[20:23:31.432 I] Loading content file pcc_tgorvaz_06.esp
[20:23:31.434 I] Loading content file pcc_sotha_house_03.esp
[20:23:31.434 I] Loading content file Clean Dibella.esp
[20:23:31.435 I] Loading content file pcc_Xindaz_Veft_05.esp
[20:23:31.436 I] Loading content file pcc_sotha_sound.esp
[20:23:31.437 I] Loading content file bm_dwemer_additions_16.esp
[20:23:31.437 I] Loading content file Clean TRIB_witchgirladvent1.esp
[20:23:31.449 I] Loading content file pcc_bilocation_06.esp
[20:23:31.450 I] Loading content file pcc_bm_r_blade_02.esp
[20:23:31.450 I] Loading content file Aard_Vetooch_20.esp
[20:23:31.458 I] Loading content file pcc_caldera_cave_spot_02.esp
[20:23:31.459 I] Loading content file pcc_emma_lostheir_02.esp
[20:23:31.475 I] Loading content file Haldenshore_1.2.esp
[20:23:31.483 I] Loading content file pcc_tribunal_main.esp
[20:23:31.484 I] Loading content file pcc_Bloodmoonfixes_LD.esp
[20:23:31.486 I] Loading content file pcc_smeradon_17.esp
[20:23:31.487 I] Loading content file PCC_Knaarus_02.esp
[20:23:31.488 I] Loading content file pcc_dunzar_02.esp
[20:23:31.489 I] Loading content file pcc_femguards_tribunal_01.esp
[20:23:31.490 I] Loading content file pcc_femguards_BM_03.esp
[20:23:31.490 I] Loading content file Clean Dark Club Mod 1.0.esp
[20:23:31.492 I] Loading content file Clean WizBang's Clothing Randomizer.esp
[20:23:31.504 I] Loading content file pcc_breton_black_hair_02.esp
[20:23:31.505 I] Loading content file femguards.esp
[20:23:31.506 I] Loading content file pcc_dark_elf_m_afro_02.esp
[20:23:31.506 I] Loading content file pcc_glass_iron_spear_04.esp
[20:23:31.506 I] Loading content file Juxtor's Nude Mod.esp
[20:23:31.507 I] Loading content file pcc_karl_shortsword_02.esp
[20:23:31.507 I] Loading content file pcc_dungeon_island_19.esp
[20:23:31.516 I] Loading content file pcc_d_island_2_xindaz_02.esp
[20:23:31.517 I] Loading content file pcc_smeradon_patch_04.esp
[20:23:31.517 I] Loading content file pcc_undead_vetooch_10.esp
[20:23:31.518 I] Loading content file pcc_more_undead_vetooch.esp
[20:23:31.564 I] Loading content file pcc_more_word_use_fix_02.esp
[20:23:31.565 I] Loading content file Havish.esm
[20:23:31.593 I] Loading content file pcc_tr_bm_ingredients_01.esp
[20:23:31.594 I] Loading content file pcc_heads_06.esp
[20:23:31.594 I] Loading content file pcc_Almilia's_daughters_3.5p01.esp
[20:23:31.598 I] Loading content file pcc_extended_smeradon_21.esp
[20:23:31.600 I] Loading content file pcc_a_thosa.esp
[20:23:31.601 I] Loading content file pcc_old_vorga.esp
[20:23:31.601 I] Loading content file Clean ModTown_2004_v1.3_Final.esp
[20:23:31.616 I] Loading content file pcc_further_ext_smer_20.esp
[20:23:31.619 I] Loading content file Heavenly_Pleasures_pcc2.esp
[20:23:31.622 I] Loading content file pcc_northern_bridges_06.esp
[20:23:31.623 I] Loading content file pcc_south_dunzar_01.esp
[20:23:31.625 I] Loading content file pcc_breton_sbh_01.esp
[20:23:31.625 I] Loading content file pcc_tr_f_assasins_02.esp
[20:23:31.625 I] Loading content file Cleaner Dwemer Tunnels and Coprusarium Cavern.esp
[20:23:31.626 I] Loading content file Booty_nomusic.esp
[20:23:31.638 I] Loading content file pcc_smeradon2DT_07.esp
[20:23:31.639 I] Loading content file Clean Northern Winds V1.1.esp
[20:23:31.642 I] Loading content file Laura_craft_v2_2_pcc_hair.esp
[20:23:31.660 I] Loading content file pcc_trylo_daedra_manor.esp
[20:23:31.668 I] Loading content file pcc_further_ext_FIX_01.esp
[20:23:31.668 I] Loading content file ExoticsBoutiqueNoMusic.esp
[20:23:31.674 I] Loading content file pcc_ebony_changer_11.esp
[20:23:31.674 I] Loading content file pcc_east_knaarus_28.esp
[20:23:31.677 I] Loading content file constance1_0_pcc03.esp
[20:23:31.689 I] Loading content file pcc_female_fargoth_03.esp
[20:23:31.690 I] Loading content file darkelf_sbh_05.esp
[20:23:31.690 I] Loading content file pcc_bis_04.esp
[20:23:31.690 I] Loading content file pcc_lob_knaarus_option.esp
[20:23:31.690 I] Loading content file pcc_lob_xindaz_option.esp
[20:23:31.691 I] Loading content file martistans_castle_moved.esp
[20:23:31.696 I] Loading content file pcc_lob_shephli_66.esp
[20:23:31.701 I] Loading content file e_e_excuse_me_01.esp
[20:23:31.702 I] Loading content file pcc_taylin_ice_curias_f_01.esp
[20:23:31.702 I] Loading content file Clean Clean ModTown2006.esp
[20:23:31.715 I] Loading content file pcc_strip_for_me_03.esp
[20:23:31.716 I] Loading content file pcc_dagoth_eng_fix_02.esp
[20:23:31.716 I] Loading content file pcc_thoogera_30.esp
[20:23:31.721 I] Loading content file pcc_thoogera_lob_07.esp
[20:23:31.721 I] Loading content file pcc_thoogera_knaarus_07.esp
[20:23:31.722 I] Loading content file pcc_thoogera_esmer_03.esp
[20:23:31.722 I] Loading content file pcc_nez_s_shirts_04.esp
[20:23:31.722 I] Loading content file BT_Whitewolf_2_0.esm
[20:23:31.764 I] Loading content file pcc_smer_fix_2012.esp
[20:23:31.765 I] Loading content file Clean Give your orders v13.esp
[20:23:31.823 V] NPC 'order_decius' (Decius Mus) has nonexistent faction 'order', ignoring it.
[20:23:31.823 V] NPC 'order_decius' (Decius Mus) has nonexistent class 'no one important', using 'warrior' class as replacement.
[20:23:31.824 V] NPC 'plant 01' (Ruby) has nonexistent class 'Lounge Player', using 'warrior' class as replacement.
[20:23:31.824 V] NPC 'plant 02' (Coral) has nonexistent class 'Lounge Player', using 'warrior' class as replacement.
[20:23:31.824 V] NPC 'plant 03' (Topaz) has nonexistent class 'Lounge Player', using 'warrior' class as replacement.
[20:23:31.824 V] NPC 'plant 04' (Emerald) has nonexistent class 'Lounge Player', using 'warrior' class as replacement.
[20:23:31.824 V] NPC 'plant 05' (Sapphire) has nonexistent class 'Lounge Player', using 'warrior' class as replacement.
[20:23:31.824 V] NPC 'plant 06' (Amethyst) has nonexistent class 'Lounge Player', using 'warrior' class as replacement.
[20:23:31.826 V] NPC 'zh_c_almina humios' (Almina Humios) has nonexistent faction 'Ventringoth Trade Corporation', ignoring it.
[20:23:31.826 V] NPC 'zh_c_eigar_d' (Eigar) has nonexistent faction 'Ventringoth Trade Corporation', ignoring it.
[20:23:31.826 V] NPC 'zh_c_eigar_n' (Eigar) has nonexistent faction 'Ventringoth Trade Corporation', ignoring it.
[20:23:31.826 V] NPC 'zh_c_helmrich_d' (Helmrich) has nonexistent faction 'Ventringoth Trade Corporation', ignoring it.
[20:23:31.826 V] NPC 'zh_c_helmrich_n' (Helmrich) has nonexistent faction 'Ventringoth Trade Corporation', ignoring it.
[20:23:31.826 V] NPC 'zh_c_sarivild' (Sarivild) has nonexistent faction 'Ventringoth Trade Corporation', ignoring it.
[20:23:32.291 V] Using idle priority for thread=140374307198720
[20:23:32.442 W] StatsHandler::StatsHandler() Setting up GL2 compatible shaders
[20:23:32.447 I] Playing music/special/morrowind title.mp3
[20:23:40.159 I] Reading save file mw_bedrock_nereza_a.omwsave
[20:23:40.182 I] Loading saved game 'mw_bedrock_nereza_a' for character 'Nereza'
[20:23:40.361 V] Controller R2_Claw02 present more than once in meshes/r/xsiltstrider.kf, ignoring later version
[20:23:40.778 I] Warning: zi_npc_shiska_seamoth[local variables] line 13, column 12 (timer): Local variable re-declaration
[20:23:41.528 I] Loading cell Ald-ruhn (-2, 6)
[20:23:41.571 I] Loading cell Buckmoth Legion Fort (-2, 5)
[20:23:41.636 I] Loading cell Ashlands Region (-1, 6)
[20:23:41.665 I] Loading cell Ald-ruhn (-3, 6)
[20:23:41.692 I] Loading cell Ald-ruhn (-2, 7)
[20:23:41.706 I] Loading cell Ashlands Region (-1, 5)
[20:23:41.710 I] Loading cell Ashlands Region (-3, 5)
[20:23:41.720 I] Loading cell Ashlands Region (-1, 7)
[20:23:41.728 I] Loading cell Ashlands Region (-3, 7)
[20:23:42.507 I] Warning: OutsideBanner line 38, column 6 (endif): endif without matching if/elseif
[20:23:42.508 E] Error: 1AA_MorganaScript4.4 line 1, column 27 (.4): Unexpected floating point value
[20:23:42.515 E] Error: script compiling failed: 1AA_MorganaScript4.4
[20:23:42.846 I] Playing music/explore/morrowind title.mp3
[20:24:08.636 I] Unloading cell Ashlands Region (-1, 5)
[20:24:08.640 I] Unloading cell Ashlands Region (-1, 6)
[20:24:08.644 I] Unloading cell Ashlands Region (-1, 7)
[20:24:08.735 I] Loading cell Ashlands Region (-4, 6)
[20:24:08.769 I] Loading cell West Gash Region (-4, 5)
[20:24:08.781 I] Loading cell Ashlands Region (-4, 7)
[20:24:09.622 I] Unloading cell Ald-ruhn (-2, 6)
[20:24:09.625 I] Unloading cell Ashlands Region (-3, 5)
[20:24:09.626 I] Unloading cell Ald-ruhn (-3, 6)
[20:24:09.627 I] Unloading cell Ashlands Region (-3, 7)
[20:24:09.628 I] Unloading cell Buckmoth Legion Fort (-2, 5)
[20:24:09.629 I] Unloading cell Ald-ruhn (-2, 7)
[20:24:09.630 I] Unloading cell West Gash Region (-4, 5)
[20:24:09.631 I] Unloading cell Ashlands Region (-4, 6)
[20:24:09.631 I] Unloading cell Ashlands Region (-4, 7)
[20:24:09.688 I] Loading cell Balmora (-3, -2)
[20:24:09.918 I] Loading cell West Gash Region (-3, -1)
[20:24:09.933 I] Loading cell Balmora (-2, -2)
[20:24:09.946 I] Loading cell Balmora (-4, -2)
[20:24:09.996 I] Loading cell Balmora (-3, -3)
[20:24:10.034 I] Loading cell West Gash Region (-2, -1)
[20:24:10.042 I] Loading cell Bitter Coast Region (-4, -1)
[20:24:10.066 I] Loading cell West Gash Region (-2, -3)
[20:24:10.069 I] Loading cell West Gash Region (-4, -3)
[20:24:21.361 I] Changing to interior
[20:24:21.362 I] Unloading cell West Gash Region (-4, -3)
[20:24:21.364 I] Unloading cell Balmora (-4, -2)
[20:24:21.366 I] Unloading cell Bitter Coast Region (-4, -1)
[20:24:21.368 I] Unloading cell Balmora (-3, -3)
[20:24:21.371 I] Unloading cell Balmora (-3, -2)
[20:24:21.375 I] Unloading cell West Gash Region (-3, -1)
[20:24:21.376 I] Unloading cell West Gash Region (-2, -3)
[20:24:21.377 I] Unloading cell Balmora (-2, -2)
[20:24:21.378 I] Unloading cell West Gash Region (-2, -1)
[20:24:21.378 I] Loading cell My House, Upper Room
[20:24:21.470 E] Failed to open image: Resource 'textures/tx_pcc_x03_01.dds' not found
[20:24:21.470 E] Failed to open image: Resource 'textures/tx_pcc_x03_02.dds' not found
[20:24:21.470 E] Failed to open image: Resource 'textures/tx_pcc_x03_03.dds' not found
[20:24:29.560 I] Changing to interior
[20:24:29.561 I] Unloading cell My House, Upper Room
[20:24:29.563 I] Loading cell My House, Central Chamber
[20:24:29.709 E] Failed to open image: Resource 'textures/tx_pcc_x01_01.dds' not found
[20:24:29.710 E] Failed to open image: Resource 'textures/tx_pcc_x01_02.dds' not found
[20:24:29.710 E] Failed to open image: Resource 'textures/tx_pcc_x01_03.dds' not found
[20:24:32.799 E] Failed to open image: Resource 'textures/tx_pcc_x02_01.dds' not found
[20:24:32.799 E] Failed to open image: Resource 'textures/tx_pcc_x02_02.dds' not found
[20:24:32.800 E] Failed to open image: Resource 'textures/tx_pcc_x02_03.dds' not found
[20:24:32.805 E] Failed to open image: Resource 'textures/tx_pcc_x02_04.dds' not found
[20:24:32.806 E] Failed to open image: Resource 'textures/tx_pcc_x02_05.dds' not found
[20:24:32.806 E] Failed to open image: Resource 'textures/tx_pcc_x02_06.dds' not found
[20:24:32.827 E] Failed to open image: Resource 'textures/tx_pcc_x02_07.dds' not found
[20:24:32.829 E] Failed to open image: Resource 'textures/tx_pcc_x02_09.dds' not found
[20:24:32.830 E] Failed to open image: Resource 'textures/tx_pcc_x02_08.dds' not found
[20:24:37.893 I] Quitting peacefully.
Looking at the above ... that's wrong: the NIFs reference TGAs, not DDSs.
like it was in Morrowind but with less crashing
User avatar
AnyOldName3
Posts: 2357
Joined: 26 Nov 2015, 03:25

Re: Void Linux 64bit, OpenMW 0.47.0_1 - some pink textures

Post by AnyOldName3 »

Most Nifs reference TGAs when they actually want DDSes to be loaded. During Morrowind's development, they used TGAs, and then converted them to DDS before shipping the game, adding something to the engine that made it try DDS files first, and only fall back to the TGAs if the DDS didn't exist. OpenMW does the same as there are some mods that rely on that.

Maybe the issue is related to the mismatched case error printed earlier? As Morrowind was made for Windows, there are plenty of Nifs that reference their textures with the wrong case in the filename, so we need to treat things as if we were running on a case-insensitive filesystem. It looks like you've got a data directory that contains multiple files whose name only differs in case. Our VFS can break the tie if they come from separatedata directories, preferring the version provided by the higher-priority data directory, but it's not guaranteed to do anything sensible if they're in the same directory.
AnyOldName3, Master of Shadows
krogg
Posts: 13
Joined: 31 Mar 2020, 03:18

Re: Void Linux 64bit, OpenMW 0.47.0_1 - some pink textures

Post by krogg »

Um you mean like filename.tga and Filename.tga? I made a few sym links of different cases in an early attempt, a while ago, to work around this problem.

I'm out of ideas. All i can do is reiterate, again: the texture work in original Morrowind and in OpenMW 0.46. I'd revert to OpenMW 0.46 but it won't load saves from 0.47. I don't know enough to patch in the correct tga handling code from 0.46 into 0.47, so I can't fix this problem myself.
like it was in Morrowind but with less crashing
User avatar
AnyOldName3
Posts: 2357
Joined: 26 Nov 2015, 03:25

Re: Void Linux 64bit, OpenMW 0.47.0_1 - some pink textures

Post by AnyOldName3 »

Yeah, like Filename.tga and filename.tga.

If sorting that out doesn't fix it, are you sure it's just the non-square ones with problems? If them being non-square was breaking things, it would need to have tried loading them to get to a point where it mattered, and to try loading them, it needs to find them. I guess it's possible that someone's broken the error message somehow, but it doesn't look like it's been meddled with recently. Looking at the code, it should only be complaining that thing.dds is missing if it's either originally found it when setting up the VFS and it's since been deleted, or if the DDS didn't exist, and it tried looking for the TGA which didn't exist, either. I suspect sorting out the duplicate-file-except-for-case problems will at least change what gets logged even if it doesn't change the symptom.

One thing I've noticed, though, is that your log mentions OSG 3.4.2, which doesn't actually exist. Part of the problem could be that you're using a dodgy version of OSG whereas 0.46 didn't.
AnyOldName3, Master of Shadows
krogg
Posts: 13
Joined: 31 Mar 2020, 03:18

Re: Void Linux 64bit, OpenMW 0.47.0_1 - some pink textures

Post by krogg »

AnyOldName3 wrote: 17 May 2022, 20:35 are you sure it's just the non-square ones with problems?
Not sure. I simply notice and note "if that then this" repeated patterns. A more rigid analysis would be to analyze ever tga (not dds) file that I have.
One thing I've noticed, though, is that your log mentions OSG 3.4.2, which doesn't actually exist. Part of the problem could be that you're using a dodgy version of OSG whereas 0.46 didn't.
Guess i shouldn't have gone to that that bootleg BBS to get OSG, right? ;) (joking, it's open source so there's no bootleg). Actually, a valid question does occur to me: does OpenMW still use the openmw fork of Open Scene Graph, like the wiki says, or have things changed enough that the regular mainline version is preferred?
like it was in Morrowind but with less crashing
Post Reply