UnrealPowerz / recettear-repacker

Unpacker and repacker for Recettear game files
8 stars 2 forks source link

Attempting to AI upscale all art assets, any advice? #1

Open philipguin opened 7 months ago

philipguin commented 7 months ago

Hey there!

Firstly, I wanna say thank you for this amazing project, I can't even imagine how hard it was to reverse engineer the various algorithms involved. Thank you!

So I'm currently trying to double the resolution of every art asset in the game. I've managed to extract the assets using this project and AI-upscale them, but after repacking everything, I'm getting a crash with no error message in the following cases:

  1. On startup, after upscaling all assets.
  2. On first cutscene, after upscaling only Recette's and Tear's sprites.
  3. On first cutscene, after upscaling only bmp\ivent\01recette_00.tga. (Does NOT repro if I modify it without upscaling).

This leads me to believe that texture sizes are hardcoded somehow, rather than being scale-independent (as you might normally expect.)

So at this point, I just wanted to reach out and see if you knew anything about this, or had any other advice or suggestions on how to proceed? Currently it's looking like either forcefully overwriting values in memory or decompilation... any ideas?

UnrealPowerz commented 6 months ago

Hey!

Sorry for the late reply. It's been a few years since I last looked at Recettear, but I believe I do remember something about most texture sizes being hardcoded. I don't have the files on hand anymore but I thought there was a way to specify the dimensions of images shown in cutscenes in the cutscene script, but I may be wrong.

Cool project though, Recettear with upscaled textures would definitely be awesome.

Good luck!