Skip to content

Conversation

@Satan1c
Copy link

@Satan1c Satan1c commented Aug 11, 2025

No description provided.

this = Resource{{part.fullname}}{{ texture.name }}

{% endfor %}
{% for data in mod_file.hash_data if data.draw_vb == "" and data.position_vb == "" and copy_textures%}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this block is redundant after 1.6.3 update

credit=self.credit,
game=self.game,
character_name=self.mod_name,
apply_modifiers=self.apply_modifiers,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the export settings should already be passed as attributes of mod_info

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't find any kind of mod_info

@dataclass
class Part:
fullname: str
name: str
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name and classification both in Part and Component classes is redundant as the information from hash.json is already passed to the templates

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's for usage simplicity, to not require users to sync getting info from object and from hash.json, and just use object info

obj for obj in candidate_objs if obj.name.startswith(current_name)
]
if len(comp_matching_objs) == 0:
if len(comp_matching_objs) == 0 and component["draw_vb"] != "":
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is odd- it is already like on the added side of things. Perhaps you need to rebase your branch?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did: 56d9aca


{% block overridesibs %}
{% for component in mod_file.components if component.draw_vb != "" %}
[TextureOverride{{component.fullname}}IB]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removal of the global handling skip for a IB section can lead to issues.

If a given IB gets more parts added to it in a subsequent version of the game it would only skip the ones the ini covers but not all of them making mods look functional but have a broken IB on top of it.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's intentional to not have stray IB sections with just handling = skip, cuz those lead into issues w/o at least index filtering

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What kind of issues? Any specific bug or simply misinterpretation from users?

Do they outweight the scenario I presented?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue like that, or that, and anything similar to them, when there stray skips of hair, or some small items like Mimiyabi hairpin, those will cause multiple issues with world, and having just first_index for them may not help, and need to have both index filters at least, can't remember if more was needed ever, but potentially might be

uv.lock
.python-version
TODO.md
.idea/
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💀

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants