Skip to content

Fix crash when giving Goro his father's amulet (Bone Pendant) - #238

Open
IvanPerrella wants to merge 1 commit into
TheMoonPeople:masterfrom
IvanPerrella:fix/duplicate-pack-member-names
Open

IvanPerrella wants to merge 1 commit into
TheMoonPeople:masterfrom
IvanPerrella:fix/duplicate-pack-member-names

Conversation

@IvanPerrella

Copy link
Copy Markdown
Contributor

Giving Goro the Bone Pendant aborted the game with missing texture document textures/gedit/s01/chara/e105-c06w01-entry-18_img-….json.

gedit/s01/chara/e105.chr holds c06w01.img twice (entries 18 and 21). dcdata keeps the first one's name and gives only the later one its position (#entry:21), but PackNameDuplicated marked both, so the first resolved to a document that was never baked.

PackNameDuplicated now flags only a later member with the same exact name, matching the extraction. DataRead.OnlyALaterMemberOfTheSameNameTakesItsPosition fails without the change.

gedit/s01/chara/e105.chr holds c06w01.img twice. dcdata keeps the first one's name and gives only
the later one its position (#entry:21), but PackNameDuplicated marked both, so the first resolved
to a baked document that does not exist and the game aborted while giving Goro the Bone Pendant.
Only a later member of the same name now takes its position.

This branch has not been deployed

No deployments
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.

1 participant