Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Ys I & II Chronicles

Featured Replies

  • Author
  • Localization

csanchez, posted Fri Aug 21, 2020 8:46 pm (58260)


I would like to know how to manipulate the files of this game and be able to translate it into Spanish.
I'm using the GOG release.

Image

Image
  • Author
  • Localization

csanchez, posted Sat Aug 22, 2020 4:53 pm (58283)


Ah, thank you very much Ekey.

I have managed to extract everything from data_ys1.na, now I can see (I think all) images with text, however I can't find any xso file, that from what I could understand contains all the dialog strings of the game.

Unlike Luigi's video with YS6, where there are only the .na and .ni files, this "Ys I & II Chronicles " have several .dat files and an .nu file also (check first image in the topic).
Image
I wonder what these .ni and .nu files are for.

This is the file list from data_ys1.na extract
https://pastebin.com/4ffwvRkN

File list from release folder
https://pastebin.com/XzTyV9rE
  • Author
  • Localization

csanchez, posted Mon Aug 24, 2020 4:29 pm (58326)


Hi, something? :|
  • Author
  • Localization

Ekey, posted Tue Aug 25, 2020 10:33 am (58337)


Sorry, but I do not know about the files that are inside the archives.
  • Author
  • Localization

csanchez, posted Tue Aug 25, 2020 1:40 pm (58344)


I see, well is ok, I guess I need wait an answer from Luigi.
Thanks Ekey.
  • Author
  • Localization

csanchez, posted Wed Aug 26, 2020 2:06 pm (58367)


Heh, I hadn't noticed before, the .dat files are just the game videos.
  • Author
  • Localization

anakronus, posted Sat Aug 29, 2020 6:02 pm (58414)


I took a look at this, the texts are actually inside [root]/ETC/SCENA.DAT, but each byte of text is XOR'd against 0xA5, the actual format of the file is fairly simple:
Code:
//int = 4 bytes
int line_amount //Amount of lines in the file
int text_size      //Size of the text section file_size - 8 - (line_amount * 4)
int line_lenghts[line_amount] //some lengths are -1 (0xFFFFFFFF), these get ignored

And after that the actual text (XOR with 0xA5 to get the real text), each line delimited by their length
 


Can this be converted with a quickbms script? Atached is the actual SCENA.DAT, for testing.

Also, kinda related, rebuilding the whole data_ys1.na archive with ysext.exe makes the game unable to boot, had to use -a can this be fixed?
  • Author
  • Localization

heraldopkg, posted Mon Jan 03, 2022 1:44 pm (68637)


Hi csanches, did you manage to extract and import the SCENA texts?
  • Author
  • Localization

heraldopkg, posted Tue Jan 04, 2022 2:05 am (68657)


I managed to resolve the issue of texts, now all that's left is to resolve the fonts.
  • Author
  • Localization

cloudyst, posted Thu Jan 06, 2022 12:35 pm (68740)


heraldopkg wrote:
I managed to resolve the issue of texts, now all that's left is to resolve the fonts.


the game is already translated in spanish for a group... in github there is a tool for this game. https://github.com/Darkmet98/AdolTranslator
https://tradusquare.es/ficha.php?ys1-chronicles

for fonts https://github.com/TwnKey/YsIFontConverter
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.