Divinity Banner
Previous Thread
Next Thread
Print Thread
Page 3 of 14 1 2 3 4 5 13 14
Re: EE pak extractor [Re: Norbyte] #575174
11/11/15 03:19 PM
11/11/15 03:19 PM
Joined: Dec 2013
Posts: 245
Aenra Offline
enthusiast
Aenra  Offline
enthusiast

Joined: Dec 2013
Posts: 245
Originally Posted By: Norbyte
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...


woot!

My thanks in advance (again), regardless of outcome smile

Last edited by Aenra; 11/11/15 03:21 PM.

Pride, honour and purity
Re: EE pak extractor [Re: MrWoof] #575539
15/11/15 11:33 PM
15/11/15 11:33 PM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457
Originally Posted By: MrWoof
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!


Added XML pretty printing and batch conversion in v1.4.

Re: EE pak extractor [Re: Draba] #575608
16/11/15 10:57 PM
16/11/15 10:57 PM
Joined: Aug 2014
Posts: 1,143
Baardvark Offline
old hand
Baardvark  Offline
old hand

Joined: Aug 2014
Posts: 1,143
A lot more usable with readable files and batch conversion, yay! And only one Convert button instead of save/loading LSBs. Great work Norbyte.

And I noticed you can unpack story files now? That's probably not very useful without the ability to recompile the story, though, right? Gotta wait for the editor to really start scripting?

Re: EE pak extractor [Re: Draba] #575661
17/11/15 06:24 PM
17/11/15 06:24 PM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457
Thats a WIP feature, I'm hoping to add some additional stuff (like compilation) later.

Re: EE pak extractor [Re: Draba] #576049
22/11/15 09:56 PM
22/11/15 09:56 PM
Joined: Aug 2014
Posts: 1,143
Baardvark Offline
old hand
Baardvark  Offline
old hand

Joined: Aug 2014
Posts: 1,143
Just to clarify, the Pak extractor only extracts SOME files? I just don't understand where a lot of stuff is stored (e.g., talent effects), and I assume they must be in some files that your extractor just doesn't touch because they're Larian-specific files or something that we just can't open?

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

Joined: Apr 2013
Posts: 457
No, it extracts everything.
Talent effects are hardcoded in EoCApp.exe.

Re: EE pak extractor [Re: Draba] #577648
27/12/15 04:52 AM
27/12/15 04:52 AM
Joined: Dec 2015
Posts: 5
O
Obbu Offline
stranger
Obbu  Offline
stranger
O

Joined: Dec 2015
Posts: 5
Norton really does not like this program at all.

edit: you need to add an exception to your sonar etc for the whole folder to get it to work.

Last edited by Obbu; 27/12/15 05:08 AM.
Re: EE pak extractor [Re: Draba] #578849
30/01/16 10:32 PM
30/01/16 10:32 PM
Joined: Dec 2013
Posts: 245
Aenra Offline
enthusiast
Aenra  Offline
enthusiast

Joined: Dec 2013
Posts: 245
Norton has no issue with this.
Got a 22.5.5.15 NIS (bought and paid for) and have never had any trouble. Are your sonar settings perhaps at an overly high level?

Which by the way, you do not need. Sonar 'on', all its subcategories to 'off' is good enough


Pride, honour and purity
Re: EE pak extractor [Re: Draba] #581560
19/04/16 09:29 AM
19/04/16 09:29 AM
Joined: Apr 2016
Posts: 2
K
Keldian Offline
stranger
Keldian  Offline
stranger
K

Joined: Apr 2016
Posts: 2
Hi i am having trouble with the LSF files from the MainLSF.pak. When i try to convert them (eg properties.lsf) to the LSX Format i get this error.



Converting existing lsx to lsf and back works fine. Do they use a new serialization or am i doing something wrong?

Re: EE pak extractor [Re: Draba] #581577
20/04/16 12:51 AM
20/04/16 12:51 AM
Joined: Jun 2013
Posts: 853
SniperHF Offline

old hand
SniperHF  Offline

old hand

Joined: Jun 2013
Posts: 853
Had the same issue here.

Re: EE pak extractor [Re: Draba] #581612
21/04/16 12:36 AM
21/04/16 12:36 AM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457
I'll investigate and add support for the new LSF format asap smile

Re: EE pak extractor [Re: Draba] #581630
21/04/16 11:14 AM
21/04/16 11:14 AM
Joined: Dec 2013
Posts: 245
Aenra Offline
enthusiast
Aenra  Offline
enthusiast

Joined: Dec 2013
Posts: 245
Someone give him a medal laugh


Pride, honour and purity
Re: EE pak extractor [Re: Draba] #581695
23/04/16 03:07 PM
23/04/16 03:07 PM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457
I've added support for v2 LSF files.
I haven't worked out all the details yet, so some files may fail to load unfortunately.

Re: EE pak extractor [Re: Draba] #581699
23/04/16 05:43 PM
23/04/16 05:43 PM
Joined: Dec 2013
Posts: 245
Aenra Offline
enthusiast
Aenra  Offline
enthusiast

Joined: Dec 2013
Posts: 245
Thank you for the umpteenth time Norbyte, much obliged! laugh


Pride, honour and purity
Re: EE pak extractor [Re: Aenra] #581755
25/04/16 08:54 AM
25/04/16 08:54 AM
Joined: Apr 2016
Posts: 2
K
Keldian Offline
stranger
Keldian  Offline
stranger
K

Joined: Apr 2016
Posts: 2
Thanks for the first time, its working great.

Re: EE pak extractor [Re: Draba] #581947
01/05/16 11:31 AM
01/05/16 11:31 AM
Joined: May 2016
Posts: 2
T
tobi1449 Offline
stranger
tobi1449  Offline
stranger
T

Joined: May 2016
Posts: 2
I'm getting this when trying to convert the globals.lsf to a lsx file
http://imgur.com/zd4Ygmn

I'm using the latest GoG version.

Re: EE pak extractor [Re: tobi1449] #581960
01/05/16 08:04 PM
01/05/16 08:04 PM
Joined: May 2016
Posts: 1
D
devonsoft Offline
stranger
devonsoft  Offline
stranger
D

Joined: May 2016
Posts: 1
I am getting the same error on my globals.lsf System.OutOfMemoryException: Array dimensions exceeded supported range.

Here is a link to the file https://www.dropbox.com/s/012kzqs8e5dp7rk/globals.lsf?dl=0


Re: EE pak extractor [Re: Draba] #581983
02/05/16 04:30 PM
02/05/16 04:30 PM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457
Yeah, this is a known issue at the moment with larger LSF files, sadly frown
I'm trying to find out why these files decompress incorrectly, but haven't found the root cause yet.

Re: EE pak extractor [Re: Draba] #582010
04/05/16 06:00 AM
04/05/16 06:00 AM
Joined: May 2016
Posts: 1
T
Tampa2 Offline
stranger
Tampa2  Offline
stranger
T

Joined: May 2016
Posts: 1
I believe I know what the problem could be. Would you be willing to post the source code here so I could take a look at it? It's written in C# or VB right? The problem I think is that the maximum amount of items in an array is limited by the maximum integer size. I think since the files are so large the maximum integer limit is being reached.

If you would be willing to post the source code I would be extremely grateful!

Re: EE pak extractor [Re: Draba] #582071
06/05/16 03:35 PM
06/05/16 03:35 PM
Joined: Apr 2013
Posts: 457
N
Norbyte Offline
addict
Norbyte  Offline
addict
N

Joined: Apr 2013
Posts: 457
Here it is:
https://github.com/Norbyte/lslib/tree/master/LSLib

The prolematic part starts here:
https://github.com/Norbyte/lslib/blob/master/LSLib/LS/LSFReader.cs#L483

The problem is that the LSFv2 format introduced chunked compression, where the LZ4 stream is split into multiple parts. However, simply putting the chunks together corrupts the output stream subtly, ie. some output bytes become consistently different while most of the others stay the same. Because of this, streams over 0x8000 bytes (that are chunked) will probably decompress incorrectly. This is what causes the out of memory error (array sizes becoming impossibly large as the decompressed length values are corrupted).
I don't really know why it could be, but I'll experiment with it a bit when I have some time.

Last edited by Norbyte; 06/05/16 03:38 PM.
Page 3 of 14 1 2 3 4 5 13 14

Powered by UBB.threads™ PHP Forum Software 7.6.2