(Working) Tokyo Xanadu JP w/ English Assets

Discussion in 'PS Vita - Hacking & Homebrew' started by Vampirex, Jul 20, 2017.

  1. Vampirex
    OP

    Vampirex Dhampir

    Member
    248
    62
    Mar 12, 2008
    Canada
    [​IMG] [​IMG] [​IMG] [​IMG] [​IMG][​IMG]

    DISCLAIMER:I will not be linking to any files to the games, you will need to either download/buy your own copy, or find the English assets yourself. (So don't PM me asking for it)

    **PLEASE BUY THE GAME TO SUPPORT THE DEVELOPERS AT FALCOM**

    08-16-2017

    **Official/Proper version(s) have been uploaded by other users** (Good Luck in your search)

    07-24-2017

    Shop Fix (Patch removed due to copyright information)

    Update:
    07-22-2017

    Thanks to @weaknespase for his repack tool, and identifying the problem.

    Latest Progress:

    - All translated text have been ported over.
    - Fixed Shop: Game no longer crashes when using shops.
    - Changed Game title from "東亰ザナドゥ" to "Tokyo Xanadu", and LiveArea changed.
    - US Movie ending re-encoded with music.
    - Merged Aksys intro with Falcom.

    Bugs:
    - Some text may run off screen.

    Tools:

    https://github.com/periander/PSArcTool (PSARC extraction tool)
    https://github.com/weaknespase/sen-xanadu-pkg-tool (PKG extract/repack tool for Xanadu/Sen games)
    https://www.romhacking.net/utilities/240/ (Lunar IPS patcher)
     
    Last edited by Vampirex, Aug 15, 2017
    swosho, Glyptofane, Dzago and 2 others like this.


  2. Vampirex
    OP

    Vampirex Dhampir

    Member
    248
    62
    Mar 12, 2008
    Canada
    See above for updates.
     
    Last edited by Vampirex, Jul 23, 2017
    weaknespase, Kazesama and Androu1 like this.
  3. weaknespase

    weaknespase Newbie

    Newcomer
    3
    5
    Jul 22, 2017
    Russia
    I'd make a PKG packer for the game based on unpacker code, so hang on.
     
    Kazesama and Vampirex like this.
  4. Androu1

    Androu1 Member

    Newcomer
    20
    24
    Oct 28, 2016
    Venezuela
    I'm really excited for all this, thank you for sharing
     
  5. weaknespase

    weaknespase Newbie

    Newcomer
    3
    5
    Jul 22, 2017
    Russia
    Ok, here an update:

    PKG tool: https://github.com/weaknespase/sen-xanadu-pkg-tool
    • Packing and unpacking
    • Supports compression
    • CLI
    • Requires node.js (>=6.0)
    Tested on Tokyo Xanadu PKG files, gives byte-exact repacking for unmodified files.

    PS. Seeing something else inside the game worth changing?
     
    Androu1 and Vampirex like this.
  6. Vampirex
    OP

    Vampirex Dhampir

    Member
    248
    62
    Mar 12, 2008
    Canada
    See first post for Updates.
     
    Last edited by Vampirex, Jul 23, 2017
    Androu1 likes this.
  7. weaknespase

    weaknespase Newbie

    Newcomer
    3
    5
    Jul 22, 2017
    Russia
    Interestingly enough, all text for sure is inside of TBL files in text.pkg archive. Another interesting moment is that TBL files structured like compact binary storage for tables, which can include not only text data, for example, `t_se.tbl` contains volume levels for all sound effects (mapping volume to files). I think to be safe only tables with text should be changed, and everything else kept the same.

    I still don't know about 4 bytes before compressed data, I found in some PKG files. Seems like some sort 32bit checksum, not crc (checked), maybe adler, mostly comes for *.dat files. Maybe it is safe to strip, maybe not, but repacker, obviously, doesn't reproduce it atm. Repacking `text.pkg` should be safe though, it doesn't contain it, at least in JAP version.
     
    Androu1 likes this.
  8. Vampirex
    OP

    Vampirex Dhampir

    Member
    248
    62
    Mar 12, 2008
    Canada
    I'm only touching t_text.tbl for now... a working game is my priority at the moment.. I was able to fix the shop and combine by copying the JP code.
    Now I just need to investigate what's causing the break.
     
    Androu1 likes this.
  9. manifestx88

    manifestx88 Newbie

    Newcomer
    1
    0
    Jul 25, 2017
    Canada
    Thank you for the shop fix @Vampirex ; Just so others know, you must uncheck "Register File Type" on Lunar IPS, while patching text.pkg, otherwise you will end up with an error when you start the game.
     
  10. Issac

    Issac I

    Global Moderator
    GBAtemp Patron
    Issac is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,217
    2,310
    Apr 10, 2004
    Sweden
    Sweden
    May I ask what using the English assets with the JP game will achieve? (I've not played it, just curious).
     
  11. Zander1995

    Zander1995 GBAtemp Regular

    Member
    274
    74
    Nov 11, 2015
    United States
    Piracy, so those who aren't on the latest firmware can play the game free of charge.
    That's really the only point to doing stuff like this.
     
    Issac and Abu_Senpai like this.
  12. Issac

    Issac I

    Global Moderator
    GBAtemp Patron
    Issac is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    5,217
    2,310
    Apr 10, 2004
    Sweden
    Sweden
    Ah! Alright, thanks!
     
  13. nOoB3inG

    nOoB3inG Newbie

    Newcomer
    1
    0
    Jul 26, 2017
    India
    Game crashes at Ruin of Abstraction's relic when i try to purchase the items from it. Purchasing from shops works fine.
     
  14. Vampirex
    OP

    Vampirex Dhampir

    Member
    248
    62
    Mar 12, 2008
    Canada
    Relic should work if shop works, they use the same script/code.
     
  15. danyfury

    danyfury Newbie

    Newcomer
    1
    0
    Jan 24, 2013
    Italy
    Thank you very much Vampirex for your guide, i'm very happy because finally i can play this game in english, i need help with pkg unpack tool because i need to do an test but i don't know how to use this pkg tool for Xanadu. Can anyone send me on PM an exactly guide for use this PKG unpacker/repacker pls? Thx in advance!!!! :)
     
  16. boroxs

    boroxs Newbie

    Newcomer
    8
    1
    Jul 14, 2017
    Antarctica
    i stuck on moonlit garden map 2 when got power strike to destroy pillars but after the gate open there are barrier that prevent me for progressing. is it a glitch or am i missing something? because i watched some video walkthrough and there are no barrier like this after the gate was open

    edit: it seems that was a bug from the patch because when i play again using clean jpn version the barrier was gone and i tought the bug barrier was only on that place but it seems its everywhere, even in the room before boss battle
     

    Attached Files:

    Last edited by boroxs, Jul 28, 2017
  17. nahucirujano

    nahucirujano Newbie

    Newcomer
    5
    1
    Jan 25, 2017
    Argentina
    Thanks for doing this possible.
     
    Abu_Senpai likes this.
  18. Vampirex
    OP

    Vampirex Dhampir

    Member
    248
    62
    Mar 12, 2008
    Canada
    hmm that is odd, as all my testers were able to play past ch4 without any issues... might i suggest you re-read my tutorial and make sure you did every step... if you downloaded an pre-built image, then i cannot vouch for the person who built it, as I can't tell if they did it properly, or applied my fix properly?

    anyways, good luck.
     
    Last edited by Vampirex, Jul 28, 2017
  19. nahucirujano

    nahucirujano Newbie

    Newcomer
    5
    1
    Jan 25, 2017
    Argentina
    Game tested and working perfectly, as soon as I finish Trails of Cold Steel 1 (I'm on chapter 7) I'll take Xanadu.
    The first few minutes of game, and the characters were really interesting.
    By the way is it possible to swap the X and O functions like we normally have in western releases?
     
  20. Vampirex
    OP

    Vampirex Dhampir

    Member
    248
    62
    Mar 12, 2008
    Canada
    There's a few things we are trying to fix and correct, and swapping the X and O is one of the things we are trying to do...
    But right now we're mainly focusing on making sure the game works from beginning to end.