Ys I & II Chronicles+

How to translate the files of a game
csanchez
Posts: 11
Joined: Fri Dec 27, 2019 3:56 am

Ys I & II Chronicles+

Post by csanchez »

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
csanchez
Posts: 11
Joined: Fri Dec 27, 2019 3:56 am

Re: Ys I & II Chronicles+

Post by csanchez »

Heh I found the ysext_xsoext in the site, however I can't found any download link :(

http://aluigi.altervista.org/video.htm

Also I found a "YSO Stuff V0.3", but also there are no download links to this :(

https://seldane.proboards.com/thread/55 ... stuff-v0-3
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Ys I & II Chronicles+

Post by Ekey »

csanchez
Posts: 11
Joined: Fri Dec 27, 2019 3:56 am

Re: Ys I & II Chronicles+

Post by csanchez »

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
csanchez
Posts: 11
Joined: Fri Dec 27, 2019 3:56 am

Re: Ys I & II Chronicles+

Post by csanchez »

Hi, something? :|
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Ys I & II Chronicles+

Post by Ekey »

Sorry, but I do not know about the files that are inside the archives.
csanchez
Posts: 11
Joined: Fri Dec 27, 2019 3:56 am

Re: Ys I & II Chronicles+

Post by csanchez »

I see, well is ok, I guess I need wait an answer from Luigi.
Thanks Ekey.
csanchez
Posts: 11
Joined: Fri Dec 27, 2019 3:56 am

Re: Ys I & II Chronicles+

Post by csanchez »

Heh, I hadn't noticed before, the .dat files are just the game videos.
anakronus
Posts: 17
Joined: Thu Mar 26, 2020 12:38 am

Re: Ys I & II Chronicles+

Post by anakronus »

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: Select all

//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?
heraldopkg
Posts: 5
Joined: Sun Jan 02, 2022 1:34 am

Re: Ys I & II Chronicles+

Post by heraldopkg »

Hi csanches, did you manage to extract and import the SCENA texts?
heraldopkg
Posts: 5
Joined: Sun Jan 02, 2022 1:34 am

Re: Ys I & II Chronicles+

Post by heraldopkg »

I managed to resolve the issue of texts, now all that's left is to resolve the fonts.
cloudyst
Posts: 17
Joined: Tue Feb 09, 2021 11:55 am

Re: Ys I & II Chronicles+

Post by cloudyst »

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
bqio
Posts: 2
Joined: Thu Feb 03, 2022 8:20 am

Re: Ys I & II Chronicles+

Post by bqio »

Hi. How can I make glyph height larger for my language?

Screenshot:
https://imgur.com/cnEbSqP