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

Error while opening wsf files #3

Open rm-NoobInCoding opened 2 days ago

rm-NoobInCoding commented 2 days ago

image_2024-10-30_172835957

Foxxyyy commented 2 days ago

@rm-NoobInCoding

Yep, hopefully I can fix that later! These WSF files cannot be viewed yet.

For context, Double Eleven used a 3rd party library called Crunch for transcoding DDS textures to CRN textures for the UI. Same as the release of the Nintendo Switch/PS4 versions. I've sadly never been able yet to decode these properly.

rm-NoobInCoding commented 1 day ago

I did some research about font blocks in wsf files. I sent you a discord friend request for more talk about wsf.

Nanoposan69 commented 1 day ago

On PC, D11 switch back texture format to DXT for almost all flash files. Crunch now only used in sharedflash.wdt and effects.wsf image font atlas stored in wsf, but textures now overdrives from SDF folder.

PS. You can contact me in discord (nanoposan69) and we can talk more about formats + we made text tools (strtbl and wst/ost/sst, cst, xst)

rm-NoobInCoding commented 1 day ago

The problem is all wsf files are stored as resource in RPF files. and the library can only import files as raw. so this is big problem. Also i wrote the full structure of font mappings in wsf but i can't test it without convert the edited file to resource.

Foxxyyy commented 1 day ago

Ohh this is great @Nanoposan69 I'll DM you on Discord