fx-chun / uchuujin

Nichijou: Uchuujin translation project
29 stars 5 forks source link

How would people actually play the translated version? #13

Open rustMotherboard opened 5 years ago

rustMotherboard commented 5 years ago

As of now, this repository is contained of all the .json files for characters, and will include CGI as well.

However, there doesn't seem to be any compiler or a emulator for the PSP located inside this repository (or at least one linked) that allows the game to actually run the translated .json files. It would be useful to link an emulator or otherwise so that we could test the game ourselves.

fx-chun commented 5 years ago

They aren't actually stored as .jsons and PNGs. All files in the repo are derivatives of the actual assets in order to make working with them easier. The files in the repo are intended to be patched back into a copy of the game using the tools in the src directory and then tested using an emulator like PPSSPP.

It's kind of a messy process right now. I expect to release the final translation in the form of a binary diff that people can apply to their own copies of the game using an external tool.

rustMotherboard commented 5 years ago

Until the process can become a workflow, I agree on how "messy" it is.

fx-chun commented 5 years ago

My current "workflow" for documentation:

setup:
- extract all files from game image into folder dump/
- extract all CPKs using CriPakTools into folder cpkdumps/
  - cpkdumps/sc/
  - cpkdumps/union/
  - cpkdumps/vo/
- patch BOOT.BIN

how to dump script files:
- run src/sc_parse.py on all files in cpkdumps/sc/

how to dump textures:
- run src/sc_union_extract_texture.py on all files in cpkdumps/union/
- run src/sc_bin_to_png.py on all bin files generated from the last script
  - some images may need some experimenting with different parameters

patching script files with translations:
- run sc_patch_translations.py on the original script file in cpkdumps/sc/ with .json file as the 2nd argument
- insert file generated from previous script into sc.cpk using CriPakTools

patching textures with translations:
- to be done...

testing game:
- run PPSSPP with the dump/ directory as an argument
colebob9 commented 4 years ago

Most of the process above I have replicated in a collection of batch scripts, located here: https://github.com/colebob9/UchuujinPatchScripts

Enough to patch the translation scripts into the game currently, and also create a binary diff. More functionality to come later.