meh2481 / wfLZEx

Simple image-decompressing program for WayForward's .anb format used in their game DuckTales: Remastered
Do What The F*ck You Want To Public License
13 stars 5 forks source link

Compress png to tex file #8

Open solarias opened 4 years ago

solarias commented 4 years ago

Hello, sir. I am making a translation patch for Shantae: Risky's Revenge. Now I need to modify .tex files, and I can uncpress these files by using Shantae_tex.exe. By using that tex file becomes png file and it works very well. But is there any way to compress png file to original tex file?

Thanks anyway.

meh2481 commented 3 years ago

There is not. Feel free to submit a pull request for this; compressing is way harder than decompressing, so I'm unlikely to ever do so.

Banz99 commented 3 years ago

Hello, sir. I am making a translation patch for Shantae: Risky's Revenge. Now I need to modify .tex files, and I can uncpress these files by using Shantae_tex.exe. By using that tex file becomes png file and it works very well. But is there any way to compress png file to original tex file?

Thanks anyway.

I know a lot of time has passed since this, however I managed to have a reliable method of reimporting textures into the game (attached is a proof of concept). Since I'm working on porting the console translations to the pc version (in my specific case, I'm also doing a few corrections in Italian), I've also hacked an extended font support in the game for accented letters and a few other things that might be useful for a translator. I plan to create a pull request for this project once I clean up the code, but in case you're still interested in translating the game, get in touch with me. Image