Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEN -> Legacy Remapping Corruption #933

Open
Stranger1992 opened this issue Nov 6, 2024 · 0 comments
Open

TEN -> Legacy Remapping Corruption #933

Stranger1992 opened this issue Nov 6, 2024 · 0 comments
Labels
bug legacy Legacy TR2-5 issue (TRNG included)

Comments

@Stranger1992
Copy link
Collaborator

When copying objects from a TombEngine WAD2 to a TR4 targetted WAD2, objects no longer copy over correctly and are not remapped.

Looking at the code (Tomb-Editor\TombLib\TombLib\Catalogs\Engines\TR4) : I cannot see anything that is causing this error:

    <moveable id="1" name="PISTOLS_ANIM" description="Pistols Anim" use_body_from="8" ten="PISTOLS_ANIM" hidden="true" />
    <moveable id="2" name="UZI_ANIM" description="Uzi Anim" use_body_from="8" ten="UZI_ANIM" hidden="true" />
    <moveable id="3" name="SHOTGUN_ANIM" description="Shotgun Anim" use_body_from="8" ten="SHOTGUN_ANIM" hidden="true" />
    <moveable id="4" name="CROSSBOW_ANIM" description="Crossbow Anim" use_body_from="8" ten="CROSSBOW_ANIM" hidden="true" />
    <moveable id="5" name="GRENADE_GUN_ANIM" description="Grenade Gun Anim" use_body_from="8" ten="GRENADE_ANIM" hidden="true" />
    <moveable id="6" name="SIXSHOOTER_ANIM" description="Sixshooter Anim" use_body_from="8" ten="REVOLVER_ANIM" hidden="true" />
    <moveable id="7" name="FLARE_ANIM" description="Flare Anim" use_body_from="8" ten="FLARE_ANIM" hidden="true" />
    <moveable id="8" name="LARA_SKIN" description="Lara Skin" ten="LARA_SKIN" hidden="true" />
    <moveable id="9" name="LARA_SKIN_JOINTS" description="Lara Skin Joints" ten="LARA_SKIN_JOINTS" hidden="true" />
    <moveable id="10" name="LARA_SCREAM" description="Lara Scream" use_body_from="8" ten="LARA_SCREAM" hidden="true" />

However: in Wadtool: the above slots are remapped as shown here:

image

The same thing is happening with TR3.

However, when copying from a compiled .phd , .tr2 or .trc file: this does not happen.

I have included a WAD2 below. It is set for TombEngine targets. To repro: try copying the objects from it to a WAD2 set for TR4 or TR3.
Tr3_JungleLara.zip

@Stranger1992 Stranger1992 added bug legacy Legacy TR2-5 issue (TRNG included) labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug legacy Legacy TR2-5 issue (TRNG included)
Projects
None yet
Development

No branches or pull requests

1 participant