PDA

View Full Version : hadvs2txt and txt2shadvs programs


zeith71
03-20-2016, 12:40 PM
Hello.
I would like to do Polish language in the game Death to Spies . (Alekhine's Gun).I miss shadvs2txt programs and txt2shadvs.Where can I find them?
Very much I ask for the help and the reply.
Sorry for my English. write very little English so I use the translator.
Thank you very much.

Liz Shaw
03-20-2016, 03:18 PM
Hello,

The programs can be used for the first two Death to Spies games, but sadly don't work for Alekhine's Gun. Used to be, you just have to PM hykao and give him your email so he can send them to you. Unfortunately, he's no longer active here. You can find him on Facebook though (under the name Gunther Henrik), but even then, probably won't get a response from him.

I can send them to you if you want, but it has to be via email. PM if you're interested.

zeith71
03-20-2016, 05:24 PM
Thank you for your answer.
This is my email : zenith71@interia.pl
Please send me these programs.
Thank you with all my heart.

Liz Shaw
03-21-2016, 12:22 AM
Okay, the email has been sent.

zeith71
03-21-2016, 07:22 AM
Thank you very much.
I have a problem. These programs will not open.(windows 8 ).
I tried compatibility mode and as an administrator, and nothing.
Cmd window appears for a moment and immediately disappears.
Please help.

Liz Shaw
03-21-2016, 08:10 AM
What you have to do is drag the shadvs file onto shadvsKi.exe. This will write the file as a text. Then when you're done, you have to drag the text file into shadvsBe.exe. This will overwrite the original shadvs file.

Note: Make sure the numbers at the top read like this:

100
0

Or else the file will not be overwritten.

I haven't experimented with them on Windows 8, however. If you still have problems, sorry, I can't help you out.

zeith71
03-21-2016, 08:37 AM
Unfortunately, when you drag a file program has stopped working

The same way in Windows 7

Liz Shaw
03-21-2016, 09:41 AM
I don't have these problems on Windows 7.

zeith71
03-21-2016, 09:45 AM
You are checked Run as administrator?
Are there any changes in the properties of the program?

Liz Shaw
03-21-2016, 09:49 AM
Wait a moment, I know what you're trying to do now. As I said before, the programs do NOT work for Alekhine's Gun, only for the first two games. If you want to translate the game's files into Polish, you're going to have to use a hex editor. I use HxD.

zeith71
03-21-2016, 09:54 AM
Right. I use a hex editor neo.But I can not enter more words than there specified.
Can it be changed?

Liz Shaw
03-21-2016, 10:03 AM
Right. I use a hex editor neo.But I can not enter more words than there specified.
Can it be changed?

Yes, you need to insert more bytes and then change the number on the byte preceding to sentence to match the new length. May need to try it one byte at a time first up.

Also, I currently can't figure out how to add new strings into a shadvs file without screwing it up. So you're going to have to replace another language option already in the game with your Polish texts.

zeith71
03-21-2016, 10:08 AM
But how to put more bytes, and then change the number to byte before sentencing, to fit the new length.
I'm sorry but I do not know how to do it.

Liz Shaw
03-21-2016, 10:14 AM
I'm not familiar with the program you're using, so I don't know how it works. I use HxD.

https://mh-nexus.de/en/hxd/

zeith71
03-21-2016, 10:27 AM
And how to do this program? ( HxD )

Liz Shaw
03-21-2016, 10:40 AM
Left window shows the bytes, right shows the text. What you need to do is click on where you want to place the extra bytes, go to Edit and click Insert bytes. Type any number (such as 1) in the bytecount and click OK.

Then you have to find the byte preceding the string you're working on. Go to the left window and click on it from there. Change the number (for example, if it's "F1" type "F2" if you've increased the string by one byte).

zeith71
03-21-2016, 11:05 AM
I did the first options.
I do not understand how to change this number.

zeith71
03-21-2016, 11:09 AM
2

Liz Shaw
03-21-2016, 11:21 AM
Okay, you need to replace "0C" with "0D". The byte determining the size of the string is located four bytes before the actual string.

If the size of the string manages to exceed the byte number "FF" (maximum number", the number has to reset to 00 after that and you have to put 01 on the byte after it (for example, for longer sentences you may encounter something like "54 03" or "00 02". If that happens, just replace it with "55 03" and "01 02" respectively.

zeith71
03-21-2016, 12:07 PM
For what do I have to replace if I have number 10?

It is all right now.Number 10 swapped for 11 and everything works.

You helped me a lot. Thank you very much for everything.

Liz Shaw
03-21-2016, 12:29 PM
Just remember, the order of the numbers go like this:

1 2 3 4 5 6 7 8 9 A B C D E F

After that it goes to 10 and the process repeats up until you get to FF.

You really should submit the Polish translations to Steam and the Haggard Games forum. Maybe they'll include them in future patches.:grin:

Stefan Berthold
03-21-2016, 02:27 PM
Hello Liz
You can send these programs? I am interested in modding.
dmialexd@gmail.com
Thank you.

zeith71
03-21-2016, 03:57 PM
What should I enter instead of the number 14, if I want to add 10 letters?

Liz Shaw
03-21-2016, 04:13 PM
What should I enter instead of the number 14, if I want to add 10 letters?

It's the same as the normal maths equation 14 + 10: 24.

If you're unsure how much bytes you have to increase, type the bytes on a NotePad document. Like have on one line:

01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10

And have below it:

15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24

I do this trick every time I want to add a new function to a level's SWD file.

zeith71
03-22-2016, 08:00 AM
How can I make Polish font in the game?
( ą,ć,ę,ł,ń,ó,ś,ż,ź-Ą,Ć,Ę,Ł,Ń,Ó,Ś,Ż,Ź ).
Is it at all possible?
In the game are the files that correspond to the font.

Liz Shaw
03-22-2016, 08:04 AM
Perhaps you should search Google for keyboard shortcuts for symbols like that.

zeith71
03-22-2016, 08:10 AM
I think that was enough to edit the Russian, but I do not know how to do it.

Liz Shaw
03-22-2016, 08:22 AM
The fonts are stored in the ui.shadvs file. Problem is, as I said, I currently can't figure out how to add new strings to the shadvs file using HxD without messing it up.

zeith71
03-22-2016, 08:32 AM
So, I have a problem. :-)

ArtekXDPL
03-27-2016, 11:18 AM
Can Im can please about programs to convert/decompiled/uncrypted files shadvs to txt, and txt to shadvs?

My email: artek.ryzak94@gmail.com

ArtekXDPL
03-27-2016, 07:42 PM
Sorry for double post and my weak english.

zeith71 sprawdź swoje PW.

ArtekXDPL
05-20-2016, 02:26 PM
Refresh, Im need program to translate this game! Can you send message to creator to decrypt files SHADVS?

Liz Shaw
05-25-2016, 03:03 PM
Refresh, Im need program to translate this game! Can you send message to creator to decrypt files SHADVS?

Are you wanting to translate Alekhine's Gun or the other two games? If the former, the programs do not work for it, you'll have to do it via HxD.