Foxxyyy / CodeX.Games.RDR1

CodeX implementation for Red Dead Redemption on PC, Nintendo Switch & PS4.
https://www.patreon.com/dexyfex
29 stars 3 forks source link

Can't import .wst files as resources. #2

Closed staciaa123 closed 1 day ago

staciaa123 commented 2 days ago

image I export the file and import it back without making any changes, but the attribute Resource [V.1] disappears, and the game can't read it.

Foxxyyy commented 2 days ago

@staciaa123

Don't focus on these WST files but on the STRTBL instead. In your example (which is basically the strings used for the 1st mission) you should edit the first file called subtitle_intro_p2_dock_win32.strtbl

Export the file as XML, then when you're good just reimport from XML.

EDIT: I just fixed a issue for that so that will be for the next update.

staciaa123 commented 2 days ago

I edited it both in the XML and the raw STRTBL, but nothing changed in-game. The text of 1st scene disappears when its WST file has an error like above, so I think the WST files affect in-game text.

Foxxyyy commented 1 day ago

That should be fixed in the next update (using WST), thanks for reporting.

Capture d'écran 2024-10-31 120016 Capture d'écran 2024-10-31 120004

staciaa123 commented 1 day ago

Thank you for your hard work! Btw could you send me the import fix first? I’m currently writing a script to parse .wst files but can’t import them for testing.

Foxxyyy commented 1 day ago

Add me on Discord if you really need the files #imfoxxyyy

VannGX91 commented 7 hours ago

Add me on Discord if you really need the files #imfoxxyyy

i have a same issue, so this take effect to wst file?