Kaplas80 / TranslationFramework2

Aplicación para facilitar la traducción de diferentes juegos
37 stars 15 forks source link

How do I compile this? #1

Closed c3wytnvb closed 5 years ago

Kaplas80 commented 5 years ago

You can compile it using Visual Studio 2019 Community.

NoobieAraby commented 5 years ago

Newbie here, I can't seem to work that out

Kaplas80 commented 5 years ago

Well, I can't help you if I don't know the details. What error does appear when you try to compile the code?

c3wytnvb commented 5 years ago

Capture

Kaplas80 commented 5 years ago

You are trying to run one of the plugins. You have to select TF.GUI as startup project.

https://blogs.msdn.microsoft.com/zainnab/2010/05/09/choosing-the-startup-project/

c3wytnvb commented 5 years ago

Capture

c3wytnvb commented 5 years ago

what about this last problem?

Kaplas80 commented 5 years ago

That error means that compilation failed and .exe was not generated. There should be a list of compilation errors on "Output" tab.

Probably, nuget didn't download the project references. You have to enable the "automatic download" option: https://docs.microsoft.com/es-es/nuget/consume-packages/media/restore-01-autorestoreoptions.png

c3wytnvb commented 5 years ago

Capture This is the error I'm getting. I've checked with the nuget, it's marked like in the pic you linked.

Kaplas80 commented 5 years ago

Well, for the resx error, just replace "Mayús." with "Shift" in line 356.

To fix the "WeifenLuo" warnings, open the nuget package manager ("Tools" menu -> "NuGet package manager" -> "Manage NuGet packages...") and make sure that "Include preliminary version" option is checked:

Sin título

c3wytnvb commented 5 years ago

dang, it wont work even when I changed that Mayus to Shift.

Kaplas80 commented 5 years ago

What is the error message now?

c3wytnvb commented 5 years ago

Capture

Kaplas80 commented 5 years ago

You have to remove the dot in "Shift."

<value>Ctrl+Shift+F</value>

c3wytnvb commented 5 years ago

Worked, thanks and sorry for the trouble :) Capture

Kaplas80 commented 5 years ago

Great! I'm closing the issue, if you have any other problem, reopen it.

c3wytnvb commented 5 years ago

photo_2019-05-19_04-00-13 I'm having a trouble browsing Yakuza 0 game data using the tool. I can't seem to open ui_e.par files.

Kaplas80 commented 5 years ago

It works here. Sin título

It's easier if you fork the project in github and upload your changes, then I could see your code and try to find the bug.

c3wytnvb commented 5 years ago

Alright, I'll check that out again and I'll let you know.

c3wytnvb commented 5 years ago

I forked it and changed the code so I can try and translate some of the games to Arabic.

Kaplas80 commented 5 years ago

Well, there is a problem with DirectXTexNet nuget reference. You have to open nuget package manager in TF.Core project, remove that reference and add it again. Then recompile solution and create a new translation.

c3wytnvb commented 5 years ago

Capture I've tried that. Deleting DirectXTexNet in TF.Core, and reinstalling it, and then rebuilding the solution. Still can't view the game's files and having this (?) icon like in the picture attached.

Kaplas80 commented 5 years ago

Have you fixed the bug in Encoding.cs?

https://github.com/objestik/TranslationFramework2/commit/2e34058cfea1333c751c3fa595d5593677078add

c3wytnvb commented 5 years ago

Nope, wait I'll try that out

c3wytnvb commented 5 years ago

It finally worked!... but

c3wytnvb commented 5 years ago

Capture I'm having this error every time I open up

media.\Yakuza0.exe

Kaplas80 commented 5 years ago

That error usually happens when you are trying to translate a old version of the game. The app only works with the latest game version (v4, released on 2019/03/26)

c3wytnvb commented 5 years ago

just installed the latest version, and it worked

c3wytnvb commented 5 years ago

thank you

c3wytnvb commented 5 years ago

If you could upload the tool compiled and ready to use I'd appreciate it

Kaplas80 commented 5 years ago

Hi! The compiled files are in this folder: https://mega.nz/#F!GZNQWSBQ!JA42-HIGTy79O0I7is0FGw

sirargo commented 4 years ago

hello, I'm italian, sorry for my bad english. The compiled is olnly for translate in spanish, please send me istruction to traslate from english to italian. Thank you

Kaplas80 commented 4 years ago

Hello! The application is in Spanish, but you can use it to translate the games to Italian.

Please, if you have other problems or questions, open a new issue to keep threads clean.