Deponia The Complete Journey cxml not found

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
raulpuro
Posts: 62
Joined: Sun Feb 01, 2015 5:31 pm

Re: Deponia The Complete Journey cxml not found

Post by raulpuro »

Hi,

Sorry for reopen this post.

Well I managed the XML version in Spanish/Italian of the first and second games from Deponia, I cleaned the xml and although the texts are not correlated with the Deponia version: the Complete Journey, there are many blocks that are the same, the translation work is greatly simplified, it only cut and paste.

Would it be possible extract the texts from the XML with identical format for the application made for swuforce and aluigi?

If this were possible, would only order the texts. The XML contains two language, Italian and Spanish, I'm only interested in Spanish, these are differentiated, the pattern used in Spanish is T14 = "4", all lines in Spanish contain this pattern.

Also i have texts in Spanish version from Deponia 3 (Goodbye Deponia), I would also like to integrate them into Deponia The Complete Journey, I used script from swuforce, seems to work correctly, but the resulting txt is empty.

http://www.mediafire.com/download/jycnh ... eponia.rar

If this is possible i would be very grateful.

Greetings and thanks.
pejold
Posts: 1
Joined: Tue Jan 26, 2016 5:39 am

Re: Deponia The Complete Journey cxml not found

Post by pejold »

raulpuro wrote:
swuforce wrote:Use unpakke to un/repack the vis files, and try these scripts to export/import the vbin files.
Use both of them on the ogg file.
Do not delete the NULL character frome the end of the line in the txt.



Hi,

Thanks for your scripts swuforce the idea is fantastic, i tested the scripts deponia_tcj_export1.bms and deponia_tcj_import1.bms with data1.vis. Well, the export works correctly, if i use deponia_tcj_import1.bms without modifying the txt file, it works fine. but if i edit the txt file shows an error, in principle I've only changed 4 characters in the txt file, I think I have not removed anything at the end of the row.

I added dustp for broke
Yeah, well yes. But the junk press prueb down.<pa>
This is the original row.
Yeah, well yes. But the junk press broke down.<Pa>

Attached files, log ...

Thanks for your help, greetings.


Hello, I am trying to translate Deponia : The complete journey into my own language so I read this thread but I failed. So I'm asking your help if you could help me.

I used unpekke to unpack data1.vis and got many ogg and png files.
I found one ogg file(00003135.ogg) with vbin header so I used quickbms with 'deponia_tcj_export1.bms' script to that ogg file but it shows an error and generate only one data file. I cannot get any text file from it.

How could you get the text file with that script? Did I miss some steps or did wrong? Please help me.
Thank you in advanced.
GcTaBaL
Posts: 11
Joined: Mon Aug 06, 2018 6:59 pm

Re: Deponia The Complete Journey cxml not found

Post by GcTaBaL »

swuforce wrote:Use unpakke to un/repack the vis files, and try these scripts to export/import the vbin files.
Use both of them on the ogg file.
Do not delete the NULL character frome the end of the line in the txt.


Hello, I used your script and I get an empty .txt file and a .dat file that contains everything. It seems that the game were updated and changes something that breaks your script.

Could you please update it? Because I'm trying to translate the game, and the best way I found it's your script. Thanks!
raulpuro
Posts: 62
Joined: Sun Feb 01, 2015 5:31 pm

Re: Deponia The Complete Journey cxml not found

Post by raulpuro »

GcTaBaL wrote:Hello, I used your script and I get an empty .txt file and a .dat file that contains everything. It seems that the game were updated and changes something that breaks your script.

Could you please update it? Because I'm trying to translate the game, and the best way I found it's your script. Thanks!

Hi,

First you have to use the scrip http://aluigi.altervista.org/bms/visionaire.bms in the * .vis file for the game you want to translate (data1.vis: it's the first game, data2.vis: it's the second one ...)

Then you have to use the script made by swuforce in the file that contains the texts, it is usually the * .dat with the largest size.

Greetings.
GcTaBaL
Posts: 11
Joined: Mon Aug 06, 2018 6:59 pm

Re: Deponia The Complete Journey cxml not found

Post by GcTaBaL »

raulpuro wrote:Hi,

First you have to use the scrip http://aluigi.altervista.org/bms/visionaire.bms in the * .vis file for the game you want to translate (data1.vis: it's the first game, data2.vis: it's the second one ...)

Then you have to use the script made by swuforce in the file that contains the texts, it is usually the * .dat with the largest size.

Greetings.


Hello! I follow those steps. I used that script with .vbi file, and gets a file named xxxx.dat that contains binnary code and the translations, and an empty .txt with the same name. However, I see that with a previous version the script puts all translations in the .txt file with a NULL character at the end of every line. So I suppose there was a update that is not supported by the script.

I tried with .dat files and it doesn't work.

Thanks for your answer!
raulpuro
Posts: 62
Joined: Sun Feb 01, 2015 5:31 pm

Re: Deponia The Complete Journey cxml not found

Post by raulpuro »

GcTaBaL wrote:
Hello! I follow those steps. I used that script with .vbi file, and gets a file named xxxx.dat that contains binnary code and the translations, and an empty .txt with the same name. However, I see that with a previous version the script puts all translations in the .txt file with a NULL character at the end of every line. So I suppose there was a update that is not supported by the script.

I tried with .dat files and it doesn't work.

Thanks for your answer!


Ah I understand, you can try to use this script for extract the texts of the first game.


Code: Select all

goto 8
get name basename
string name += .dat
get size long
get zsize long
clog name 16 zsize size
open FDSE name
log MEMORY_FILE 0 0
get name basename
string name += .txt
for
findloc offset string "\xff\xff\xff\xff\x06\x00\x00\x00" 0 ""
if offset == ""
get size asize MEMORY_FILE
log name 0 size MEMORY_FILE
cleanexit
endif
math offset -= 4
goto offset
get null long
if null = 0
getdstring d 8
else
getdstring d 8
get size long
savepos pos
get check byte
get check2 byte
get check3 byte
get check4 byte
if check = 0x00 ||  check = 0xff || check2 = 0x00 || check2 = 0xff
elseif check3 != 0x00 &&  check3 != 0xff && check4 != 0x00 && check4 != 0xff
goto pos
getdstring string size
get size long
getdstring string size
get lang long
if lang = 0
get size long
if size != 0
getdstring string size
putdstring string size MEMORY_FILE
put 0x0a0d short MEMORY_FILE
get null byte
endif
endif
endif
endif
next



But I think it's crazy to try to translate the game like that, I think it is necessary that someone with knowledge, can transform the *.dat file into an xml , as they were in the old version of visionaire, and thus be able to add the entries that you want to translate.


Greetings.
GcTaBaL
Posts: 11
Joined: Mon Aug 06, 2018 6:59 pm

Re: Deponia The Complete Journey cxml not found

Post by GcTaBaL »

raulpuro wrote:
GcTaBaL wrote:
Hello! I follow those steps. I used that script with .vbi file, and gets a file named xxxx.dat that contains binnary code and the translations, and an empty .txt with the same name. However, I see that with a previous version the script puts all translations in the .txt file with a NULL character at the end of every line. So I suppose there was a update that is not supported by the script.

I tried with .dat files and it doesn't work.

Thanks for your answer!


Ah I understand, you can try to use this script for extract the texts of the first game.


But I think it's crazy to try to translate the game like that, I think it is necessary that someone with knowledge, can transform the *.dat file into an xml , as they were in the old version of visionaire, and thus be able to add the entries that you want to translate.


Greetings.


Hello, thanks for your script, and I get a bigger .dat with this, but still an empty txt. With a previous version of the game, you obtain a txt with this:

Code: Select all

Kapitel 1 
Kapitel 1
Kapitel 1
Kapitel 1
Kapitel 1
Kapitel 1
Kapitel 1
Kapitel 1
Kapitel 1
<vs=display_achievement_text>
Start new game?
Continue
New Game
Cargar/Guardar
Settings
Bonus
Quit Game
<vs=GameVersion>
<vs=GameVersion> - Developer Mode
<vs=sys_ResolutionMode>
Settings
Credits
These changes will only take effect after rebooting the game.
Subtitles
Full Screen Mode
High-resolution Videos
Window Size
Language


(etc)

So each line of the txt was a line of the translation, and you only have to edit them (without removing a NULL character that was in the end of that line) and recompile again with deponia_tcj_import1.bms. But with a last update of the game, the txt goes empty...

Thanks for your answer.
raulpuro
Posts: 62
Joined: Sun Feb 01, 2015 5:31 pm

Re: Deponia The Complete Journey cxml not found

Post by raulpuro »

Hi,

The script is working correctly for me, I think that you are not doing something correctly.

These are the files you need after using the two scipt, I modified the visionaire script to add the new Deponia Complete Journey key

https://mega.nz/#!IAIQxSJa!lRuEa90-rGvq ... ukYZFhjQsQ

Greetings.
GcTaBaL
Posts: 11
Joined: Mon Aug 06, 2018 6:59 pm

Re: Deponia The Complete Journey cxml not found

Post by GcTaBaL »

raulpuro wrote:Hi,

The script is working correctly for me, I think that you are not doing something correctly.

These are the files you need after using the two scipt, I modified the visionaire script to add the new Deponia Complete Journey key

https://mega.nz/#!IAIQxSJa!lRuEa90-rGvq ... ukYZFhjQsQ

Greetings.


Hello, thanks you!! The problem was that I trying to get the data from data vbin file, and the script seems to only work with data1 vbin. There is any script to work with data.vis vbin? To translate "New Game" etc?

Again, thanks you!!

EDIT: Did you have the scripts for data2.vis and data3.vis too, please? I tried with then and doesn't work either... (I mean, I tried the three scripts with both data2 and data3 vbins and nothing, I get an empty txt too.)
raulpuro
Posts: 62
Joined: Sun Feb 01, 2015 5:31 pm

Re: Deponia The Complete Journey cxml not found

Post by raulpuro »

Hi,

I suppose it is for a translation in Spanish, the data.vis and data3.vis file, you do not need to translate them, I translated them some time ago.

Greetings.
GcTaBaL
Posts: 11
Joined: Mon Aug 06, 2018 6:59 pm

Re: Deponia The Complete Journey cxml not found

Post by GcTaBaL »

raulpuro wrote:Hi,

I suppose it is for a translation in Spanish, the data.vis and data3.vis file, you do not need to translate them, I translated them some time ago.

Greetings.


Oh my god, thanks you so much!! Yeah, I want to do so.

Now, I tried to decompile .vbin from Deponia 1 and only get two line of text. Did you have scripts for the separated games?

I would need english and spanish txt from the individual games, because I'm planning to create a script that compares both english files, and introduce the spanish line that match.

I mean something like this:

Data1.vis from Deponia complete journey:
Line 1: Hello

Data.vis from english Deponia 1:
Line 30: Hello

Data.vis from spanish Deponia 1:
Line 30: Hola

So the script will replace line 1 of Data1.vis with line 30 of spanish Deponia 1.

Thanks again for your help!!
raulpuro
Posts: 62
Joined: Sun Feb 01, 2015 5:31 pm

Re: Deponia The Complete Journey cxml not found

Post by raulpuro »

GcTaBaL wrote:
Oh my god, thanks you so much!! Yeah, I want to do so.

Now, I tried to decompile .vbin from Deponia 1 and only get two line of text. Did you have scripts for the separated games?

I would need english and spanish txt from the individual games, because I'm planning to create a script that compares both english files, and introduce the spanish line that match.

I mean something like this:

Data1.vis from Deponia complete journey:
Line 1: Hello

Data.vis from english Deponia 1:
Line 30: Hello

Data.vis from spanish Deponia 1:
Line 30: Hola

So the script will replace line 1 of Data1.vis with line 30 of spanish Deponia 1.

Thanks again for your help!!


Hi,

I'm sorry, but that does not work:

The individual games use different engines, the texts are in a cxml file, the scripts do not work, the texts of the xml could be extracted in a txt, but they are disordered, even in the same xml where several languages are used for the same game the entries of the different languages are messy.

That is the first idea that was attempted. but it does not work.

The * .dat file is really an xml, the only way to do it would be for someone with advanced knowledge to convert the dat to xml file, insert the entries by id and then transform it back into * .dat to package it.

Greetings.

P.D (deponia_tcj_export0.bms for export data.vis, (deponia_tcj_export1.bms for export data1.vis...... deponia_tcj_import0.bms for import data.vis..... )
GcTaBaL
Posts: 11
Joined: Mon Aug 06, 2018 6:59 pm

Re: Deponia The Complete Journey cxml not found

Post by GcTaBaL »

raulpuro wrote:
Hi,

I'm sorry, but that does not work:

The individual games use different engines, the texts are in a cxml file, the scripts do not work, the texts of the xml could be extracted in a txt, but they are disordered, even in the same xml where several languages are used for the same game the entries of the different languages are messy.

That is the first idea that was attempted. but it does not work.

The * .dat file is really an xml, the only way to do it would be for someone with advanced knowledge to convert the dat to xml file, insert the entries by id and then transform it back into * .dat to package it.

Greetings.

P.D (deponia_tcj_export0.bms for export data.vis, (deponia_tcj_export1.bms for export data1.vis...... deponia_tcj_import0.bms for import data.vis..... )


Hello again! Well, it's not a big deal actually. I get the xml with the ANB and I see that spanish lines are the ones that have T27="4". If the english lines (T27="1") are the same that the txt file of each game on Complete journey, the script could work. If there is a new english translation then won't work.

Thanks one more time!
Steve_Doido
Posts: 5
Joined: Wed May 22, 2019 12:38 am

Re: Deponia The Complete Journey cxml not found

Post by Steve_Doido »

Hi, I've been following the steps on this board to translate the game to my own language but unfortunately I don't seem to be able to insert back the .vis files.
I've tried the version of the script with The Complete Journey's Key and got this error for every single file:

- open input file C:\Users\Rodolfo\Documents\Traduções\Deponia\VISExt\bin\restricted\data1\.\00000c3f.vbi
- open script C:\Users\Rodolfo\Documents\Traduções\Deponia\VISExt\bin\restricted\visionaire.bms
- set output folder C:\Users\Rodolfo\Documents\Traduções\Deponia\VISExt\bin\restricted

offset filesize filename
--------------------------------------

- signature of 3 bytes at offset 0x00000000 doesn't match the one
expected by the script:

this one: ""
a6 83 9c ...

expected: "VIS"
56 49 53 VIS

- 0 files reimported in 0 seconds
coverage file 0 25% 1151828 4607284 . offset 00000000
coverage file -1 0% 3 1151821 . offset 00000003

Can I get help?
Steve_Doido
Posts: 5
Joined: Wed May 22, 2019 12:38 am

Re: Deponia The Complete Journey cxml not found

Post by Steve_Doido »

Nevermind my last post, all I had to do was to do it via command-line and it worked!
Steve_Doido
Posts: 5
Joined: Wed May 22, 2019 12:38 am

Re: Deponia The Complete Journey cxml not found

Post by Steve_Doido »

Now there is a new problem: swuforce's tool doesn't work with the files for Deponia 3.
It uncompresses the file but it produces no .txt one.
ghylard
Posts: 77
Joined: Wed Oct 08, 2014 1:03 pm

Re: Deponia The Complete Journey cxml not found

Post by ghylard »

If you want to translate Deponia - The complete Journey, I advise you to use the tools you will find https://zenhax.com/viewtopic.php?f=12&t=7391&hilit=vbin.
I have just tested it and it extracts the texts to be translated without any problems.
In the same way, you will be able to reinsert the translated texts.
I used these tools to translate Edna & Harvey: Harvey's New Eyes and The Four Last Things. :D
You will find in attached file the English text extracted from file 03135.vbin of data3.vis with these tools.
Steve_Doido
Posts: 5
Joined: Wed May 22, 2019 12:38 am

Re: Deponia The Complete Journey cxml not found

Post by Steve_Doido »

ghylard wrote:If you want to translate Deponia - The complete Journey, I advise you to use the tools you will find https://zenhax.com/viewtopic.php?f=12&t=7391&hilit=vbin.
I have just tested it and it extracts the texts to be translated without any problems.
In the same way, you will be able to reinsert the translated texts.
I used these tools to translate Edna & Harvey: Harvey's New Eyes and The Four Last Things. :D
You will find in attached file the English text extracted from file 03135.vbin of data3.vis with these tools.

Unfortunately, the tools don't run properly on my computer. I'm not sure what to do.
Image
ghylard
Posts: 77
Joined: Wed Oct 08, 2014 1:03 pm

Re: Deponia The Complete Journey cxml not found

Post by ghylard »

Don't use the tools on the vbi file obtained with the aluigi script.
You should only use the tools I mentioned to you.

Check before you start that the vis_key file in the tools has the correct key for the game (I have attached the file I used to extract)

Example for translating the vbin file from data3.vis
0) Put the data3.vis file in a directory containing the tools previously mentioned

1) use extract_vis on vis file

Code: Select all

extract_vis data3.vis ORIG_DATA_3

2) use read_vbin on the vbin file to extract the text

Code: Select all

read_vbin ORIG_DATA_3\03135.vbin -l 1 -t 03135_1_ref.txt

3) translate the resulting txt file 03135_1_ref.txt
Attention! Don't overwrite the original text. The translated text must be in one of the columns next to the original text.

4) use modify_vbin to create a new vbin file

Code: Select all

modify_vbin ORIG_DATA_3/03135.vbin VBIN_NEW/03135.vbin -t "03135_1_ref"

5) use replace_vis to create a new vis file

Code: Select all

replace_vis "data3.vis" "data3_new.vis" VBIN_NEW

6) Replace the data3.vis file of your game by the data3_new.vis file you just created after renaming it to data3.vis
Steve_Doido
Posts: 5
Joined: Wed May 22, 2019 12:38 am

Re: Deponia The Complete Journey cxml not found

Post by Steve_Doido »

ghylard wrote:Don't use the tools on the vbi file obtained with the aluigi script.
You should only use the tools I mentioned to you.

Check before you start that the vis_key file in the tools has the correct key for the game (I have attached the file I used to extract)

Example for translating the vbin file from data3.vis
0) Put the data3.vis file in a directory containing the tools previously mentioned

1) use extract_vis on vis file

Code: Select all

extract_vis data3.vis ORIG_DATA_3

2) use read_vbin on the vbin file to extract the text

Code: Select all

read_vbin ORIG_DATA_3\03135.vbin -l 1 -t 03135_1_ref.txt

3) translate the resulting txt file 03135_1_ref.txt
Attention! Don't overwrite the original text. The translated text must be in one of the columns next to the original text.

4) use modify_vbin to create a new vbin file

Code: Select all

modify_vbin ORIG_DATA_3/03135.vbin VBIN_NEW/03135.vbin -t "03135_1_ref"

5) use replace_vis to create a new vis file

Code: Select all

replace_vis "data3.vis" "data3_new.vis" VBIN_NEW

6) Replace the data3.vis file of your game by the data3_new.vis file you just created after renaming it to data3.vis

THANK YOU! It works now!
Editing the file is a little cumbersome, though. (I have to make sure I use the first space after the original line, not the last one).
To cap it of, would you recommend me an editor for the job?