Closed linkmadao closed 3 years ago
Hi!
The image management in the app have not changed in months (probably more than a year). I've just tried to export the same file with the latest app and it works for me:
Are you exporting from the original game files or modified ones?
I'm exporting from the original game files with automatic and manual method.
Hi!
Did you manage to export the textures correctly?
No, you still have the same problem. I tested it on other computers and the same result happens.
PS: I always use the most current version of your code.
I still think that the problem is that your game files are corrupted.
I'd try to verify them with steam and then create a new translation project with the app, just to check if the export in that case is ok.
Anyway, if you upload any of the wrong images to mega (or wetransfer or other upload service), I can take a look and check if I can find the problem.
So, the problem doesn't just happen with my game, I already uninstalled and downloaded it several times and it keeps happening, and I always tested it by creating new projects.
I have already asked other members of my team to take the test and the same thing happens.
This happened on Yakuza 0 and Yakuza Kiwami, so I think it is something related to the code itself.
Well, then please upload any of the wrong image files, so I can check it.
But that's a translated image, not an original one:
I think that you're saving it with a wrong compression. The original is DXT5 and yours is ARGB, I don't know if the game can read that format.
Original:
Yours:
I send the wrong file, sorry.
Both this and the previous file were exported by your software. If I import them, the error happens.
You are right: my app is exporting the images as ARGB. It is very rare, because the last change in Yakuza's DDS manager is from 2019, and we haven't noticed this behaviour until now.
I'm thinking in 2 possible solutions:
typeof(DDSFile)
with typeof(DDS2File)
in Game.cs. It will use my latest DDS manager. It exports the images as PNG and converts them to the right format when importing. The problem is that it is incompatible with previous projects, so I'm not sure with merging those changes in the main branch.I've changed the type from DDSFile
to DDS2File
. It's a breaking change and it won't work with existing projects.
To update a existing project, you have to:
When i use the exported images in newer version of this software, this is the result:
Using older version:
This is how this images are exibed:
Left -> image exported in the older version of software Right -> image exported in the newer version of software