broken HOB file switch list

General Modding Information/Questions; support/discussion/questions

Moderator: thunderchero

Forum rules
:idea: Please search before starting new topic. :idea:
There is a good chance it has already been asked.
Post Reply
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 3258
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

broken HOB file switch list

Post by Flocke »

Extending the HobFile reader of UE, I found that there are some HOB files with broken switch list.
So far I identiefied hs_a.hob and ks_a.hob in latest vanilla installer 1366 x 768

There the switch list overlaps with last texture entry. Therefore I guess that issue is related to the 5 textures used.
Original files only use 4 textures and have no overlapping.

I can't tell what relevance it has - yet I don't even know what this switch list is for. :roll:
overlapping_hob_switches.jpg
overlapping_hob_switches.jpg (140.75 KiB) Viewed 132 times
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7965
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: broken HOB file switch list

Post by thunderchero »

I would guess original models for testing of special damage textures dhs_b.gif

also don't forget special rh2_a.hob with 4 textures 3 normal + scar.gif listed.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7965
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: broken HOB file switch list

Post by thunderchero »

I did a little more exploring and this is strange,

I know we have made some changes to hobs to prevent crashes but don't remember this change. and to me it also looks wrong.

here is vanilla hs_a.hob hex
hs.jpg
hs.jpg (149.5 KiB) Viewed 121 times
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 3258
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

Re: broken HOB file switch list

Post by Flocke »

thunderchero wrote: Sat Feb 24, 2024 11:16 am also don't forget special rh2_a.hob with 4 textures 3 normal + scar.gif listed.
rh2_a.hob doesn't show any data overlapping issues. I added an integrity check and pushed changes.
For Vanilla, BOP, ECM, FMPM and UM5, the only affected files are:
switch_list_overlappings.jpg
switch_list_overlappings.jpg (27.03 KiB) Viewed 116 times
MUM, GALM, UCW have no overlappings.

UDM and UDML are missing one texture.lst entry for happy_a.hob 0x148, but have no overlappings either.
missing_happy_texture.jpg
missing_happy_texture.jpg (72.63 KiB) Viewed 116 times
AAM has some possibly broken *boom.hob files with excessive data. In addition there are alot broken "x" textures referenced, that probably were shared and got deleted at some point by removing ships with some earlier version of UE.

In addition in Vanilla and most mods there are some models with 0 model size radius.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7965
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: broken HOB file switch list

Post by thunderchero »

Flocke wrote: Sat Feb 24, 2024 1:56 pm AAM has some possibly broken *boom.hob files with excessive data. In addition there are alot broken "x" textures referenced, that probably were shared and got deleted at some point by removing ships with some earlier version of UE.

In addition in Vanilla and most mods there are some models with 0 model size radius.
not sure install version you are testing, but thought I got all the "0 model size radius" fixed? but will need to check some time.

here is one to add to your list for saved game editing,
new Asteroid Belt Dilithium and Asteroid code changes UE flags these on integrity check and removes trait
Info: in SystemEntry: Planet shift in %1: Invalid system trait for planet type 10. (common, but fixed)
Info: in SystemEntry: Planet shift in %1: Invalid system trait for planet type 9. (common, but fixed)
mods effected; ECM, MUM, GALM?
viewtopic.php?p=57639#p57639
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 3258
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

Re: broken HOB file switch list

Post by Flocke »

thunderchero wrote: Sun Feb 25, 2024 11:19 am not sure install version you are testing, but thought I got all the "0 model size radius" fixed?
I'm actually not sure anymore either, for testing I switched installs a few times.
Will have to reinstall I guess.
thunderchero wrote: Sun Feb 25, 2024 11:19 am here is one to add to your list for saved game editing
Nope, that one is already on my list and you reported it twice before. :twisted:
I however want to finish the ship editing first.
Post Reply

Return to “General Modding Information/Questions”