Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Ghost of Moscow: Death to Spies (http://forum.fulqrumpublishing.com/forumdisplay.php?f=178)
-   -   hadvs2txt and txt2shadvs programs (http://forum.fulqrumpublishing.com/showthread.php?t=229662)

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

Quote:

Originally Posted by zeith71 (Post 712802)
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

1 Attachment(s)
I did the first options.
I do not understand how to change this number.

zeith71 03-21-2016 11:09 AM

1 Attachment(s)
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

1 Attachment(s)
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.


All times are GMT. The time now is 06:43 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.