Divinity Banner
Previous Thread
Next Thread
Print Thread
Page 2 of 14 1 2 3 4 13 14
Re: EE pak extractor [Re: PredatorV] #573709
02/11/15 04:13 PM
02/11/15 04:13 PM
Joined: Jan 2015
Posts: 16
D
Did Kokos Offline
stranger
Did Kokos  Offline
stranger
D

Joined: Jan 2015
Posts: 16
Originally Posted By: PredatorV
I have the same problem - when I inserting Localization / English.pak
When i translated into another language, is still loading English texts (I do not know where) - do not take it new file .pak.

Please, solve this problem...

So. I have the same problem.

Re: EE pak extractor [Re: Did Kokos] #573712
02/11/15 04:30 PM
02/11/15 04:30 PM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457
Originally Posted By: Did Kokos
So. I have the same problem.


Well ...
What did you change in English.pak exactly?
How did you recompress the package? (What options did you use, was the input path the same as the output path during decompression?)
If you're sure that you did everything correctly, can you upload a copy of the broken .pak somewhere for inspection?

Re: EE pak extractor [Re: Draba] #573847
03/11/15 08:38 AM
03/11/15 08:38 AM
Joined: Jan 2015
Posts: 16
D
Did Kokos Offline
stranger
Did Kokos  Offline
stranger
D

Joined: Jan 2015
Posts: 16
I edited the file is not English, so I do translation into another language. and I want to leave English as any other edits. But when unpacking any localization file when you start the game it switched to English only. If you replace the default file pak everything is working properly. But even if you edit a purely English localization, the game strangely does not accept the changes. It will display a standard text. WHERE IT TAKES?
Unpacking and packing files made in standard mode.
Here repacked file
I do not know whether I'm doing right or not. Just want to ask how to do it right?

Last edited by Did Kokos; 03/11/15 08:59 AM.
Re: EE pak extractor [Re: Draba] #573937
03/11/15 05:28 PM
03/11/15 05:28 PM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457
You should repack the directory where you unpacked the original .PAK to; otherwise the relative paths inside the .PAK will be incorrect.

Let's take an example:
Extracting Russian.pak to C:\stuff\ will get you:
PAK Localization\Russian\Fonts\fonts.lsx --> Filesystem C:\stuff\Localization\Russian\Fonts\fonts.lsx
PAK Localization\Russian\russian.xml --> Filesystem C:\stuff\Localization\Russian\russian.xml
[etc.]

When you later repack C:\stuff, the prefix of the paths will be stripped, so you'll get:
Filesystem C:\stuff\Localization\Russian\Fonts\fonts.lsx -> PAK Localization\Russian\Fonts\fonts.lsx
Filesystem C:\stuff\Localization\Russian\russian.xml --> PAK Localization\Russian\russian.xml

... however, when you only repack a *subdirectory*, eg. C:\stuff\Localization\Russian, you get:
Filesystem C:\stuff\Localization\Russian\Fonts\fonts.lsx -> PAK Fonts\fonts.lsx
Filesystem C:\stuff\Localization\Russian\russian.xml --> PAK russian.xml

Notice how the relative paths in the PAK are different; the new package has "Fonts\fonts.lsx" instead of the correct "Localization\Russian\Fonts\fonts.lsx", this is why your package doesn't work.

Re: EE pak extractor [Re: Norbyte] #574051
04/11/15 08:48 AM
04/11/15 08:48 AM
Joined: Jan 2015
Posts: 16
D
Did Kokos Offline
stranger
Did Kokos  Offline
stranger
D

Joined: Jan 2015
Posts: 16
Originally Posted By: Norbyte
You should repack the directory where you unpacked the original .PAK to; otherwise the relative paths inside the .PAK will be incorrect.

... however, when you only repack a *subdirectory*, eg. C:\stuff\Localization\Russian, you get:
Filesystem C:\stuff\Localization\Russian\Fonts\fonts.lsx -> PAK Fonts\fonts.lsx
Filesystem C:\stuff\Localization\Russian\russian.xml --> PAK russian.xml

Notice how the relative paths in the PAK are different; the new package has "Fonts\fonts.lsx" instead of the correct "Localization\Russian\Fonts\fonts.lsx", this is why your package doesn't work.


Thank you for the explanation. Everything works.

Re: EE pak extractor [Re: Draba] #574318
05/11/15 08:53 PM
05/11/15 08:53 PM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457
Updated the extractor again.
Changelist for 1.1 -> 1.3:
- Add LSF write support
- Fix TranslatedString serialization for LSF
- Fix conversion of GR2 models that use 16-bit vertex indices
- Add support for v7, v9 and v10 package formats

Re: EE pak extractor [Re: Draba] #574322
05/11/15 09:10 PM
05/11/15 09:10 PM
Joined: Oct 2015
Posts: 14
P
Parkan Offline
stranger
Parkan  Offline
stranger
P

Joined: Oct 2015
Posts: 14
Link?

Re: EE pak extractor [Re: Draba] #574327
05/11/15 09:24 PM
05/11/15 09:24 PM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457

Re: EE pak extractor [Re: Draba] #574347
06/11/15 12:00 AM
06/11/15 12:00 AM
Joined: Nov 2015
Posts: 3
K
Kidling Offline
stranger
Kidling  Offline
stranger
K

Joined: Nov 2015
Posts: 3
1000x Thanks Norbyte!! Working great, just did the movement speed increase mod :)

Re: EE pak extractor [Re: Draba] #574745
08/11/15 06:03 AM
08/11/15 06:03 AM
Joined: Nov 2015
Posts: 2
C
Corgan Offline
stranger
Corgan  Offline
stranger
C

Joined: Nov 2015
Posts: 2
Awesome tool, been using it to change up some dialog options, but it looks like the LSX->LSF writing seems break when it encounters a <children> element in the LSX xml tree. Any <node> elements within the <children> tags are being added to the parent's DOM level, and breaks dialog completely :(

You can reproduce this with any of the LSF files in Mods\Main\Story\Keywords from within MainLSF.pak

The particular file I was tinkering with was JAH_Default.lsf, if it helps.

What I did was converted the file from LSF->LSX, LSX->LSF, and then LSF->LSX again, comparing the original LSX to the "processed" LSX.

Any way you could add support for the children tags so that it'll output properly?

Last edited by Corgan; 08/11/15 06:07 AM.
Re: EE pak extractor [Re: Draba] #574778
08/11/15 09:16 AM
08/11/15 09:16 AM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457
LSX loading is now fixed in v1.3.1 smile

Re: EE pak extractor [Re: Draba] #574815
08/11/15 02:31 PM
08/11/15 02:31 PM
Joined: Dec 2013
Posts: 245
Aenra Offline
enthusiast
Aenra  Offline
enthusiast

Joined: Dec 2013
Posts: 245
Thanks again for all the work Norbyte smile

You ever, erm, find the time or need for some extra work..well..i don't suppose we'd mind if you brouth the save game editor up to date as well ^^


Pride, honour and purity
Re: EE pak extractor [Re: Draba] #574861
09/11/15 12:07 AM
09/11/15 12:07 AM
Joined: Nov 2015
Posts: 2
C
Corgan Offline
stranger
Corgan  Offline
stranger
C

Joined: Nov 2015
Posts: 2
Nice, thanks Norbyte. That fixed it!

http://i.imgur.com/wzt04vL.png smile

Re: EE pak extractor [Re: Aenra] #574945
09/11/15 06:51 PM
09/11/15 06:51 PM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457
Originally Posted By: Aenra
Thanks again for all the work Norbyte smile

You ever, erm, find the time or need for some extra work..well..i don't suppose we'd mind if you brouth the save game editor up to date as well ^^


Well I'll take a look at it, but no guarantees...

Re: EE pak extractor [Re: Draba] #574973
09/11/15 09:57 PM
09/11/15 09:57 PM
Joined: Nov 2015
Posts: 11
M
MrWoof Offline
stranger
MrWoof  Offline
stranger
M

Joined: Nov 2015
Posts: 11
Norbyte, I'm using v1.3.1 and I had two questions.

1. Is there a way that the program can output a readable file? As in, line breaks? Example shown in the picture:
Click to reveal..


2. Is it possible to have a batch way to convert lsf files to lsx? I really want to get a look at changing some things but having to convert one file at a time when there are hundreds of them is unrealistic.

No matter the answer, thank you for your program and time!

Re: EE pak extractor [Re: Draba] #575009
10/11/15 07:44 AM
10/11/15 07:44 AM
Joined: Nov 2015
Posts: 2
T
thechosen1 Offline
stranger
thechosen1  Offline
stranger
T

Joined: Nov 2015
Posts: 2
MrWoof, You can use notepad++ with the XML tools plugin. (you need to add the plugin).
Just press CTRL+ALT+SHIFT B and it will show it with all of the line breaks.

Re: EE pak extractor [Re: thechosen1] #575047
10/11/15 02:55 PM
10/11/15 02:55 PM
Joined: Nov 2015
Posts: 11
M
MrWoof Offline
stranger
MrWoof  Offline
stranger
M

Joined: Nov 2015
Posts: 11
OMG thank you!

Re: EE pak extractor [Re: Draba] #575134
11/11/15 03:20 AM
11/11/15 03:20 AM
Joined: Nov 2015
Posts: 11
M
MrWoof Offline
stranger
MrWoof  Offline
stranger
M

Joined: Nov 2015
Posts: 11
Hey Norbyte, after today's patch (11/10) I'm unable to fully unpack Main.pak. A ways in, this message box appears:
Click to reveal..
I'm guessing something on their end changed? Thanks for taking a look!

Re: EE pak extractor [Re: Draba] #575148
11/11/15 06:30 AM
11/11/15 06:30 AM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457
Both Main.pak and Materials.pak (the files patched yesterday) extract successfully for me.
Can you "Verify local files" on Steam to make sure that your Main.pak is OK?

Re: EE pak extractor [Re: Draba] #575150
11/11/15 07:10 AM
11/11/15 07:10 AM
Joined: Nov 2015
Posts: 11
M
MrWoof Offline
stranger
MrWoof  Offline
stranger
M

Joined: Nov 2015
Posts: 11
Thanks, that seems to have worked. I probably screwed something up previously with it. Sorry about that! Thanks for the reply!

Page 2 of 14 1 2 3 4 13 14

Powered by UBB.threads™ PHP Forum Software 7.6.2