Divinity Banner
Page 3 of 13 < 1 2 3 4 5 ... 12 13 >
Topic Options
#575174 - 11/11/15 09:19 AM Re: EE pak extractor [Re: Norbyte]
Aenra Offline
enthusiast

Registered: 12/24/13
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


Edited by Aenra (11/11/15 09:21 AM)
_________________________
Pride, honour and purity

Top
#575539 - 11/15/15 05:33 PM Re: EE pak extractor [Re: MrWoof]
Norbyte Offline
addict

Registered: 04/14/13
Posts: 454
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.

Top
#575608 - 11/16/15 04:57 PM Re: EE pak extractor [Re: Draba]
Baardvark Offline
old hand

Registered: 08/09/14
Posts: 1143
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?
_________________________
Bard Mod for D:OS2

Top
#575661 - 11/17/15 12:24 PM Re: EE pak extractor [Re: Draba]
Norbyte Offline
addict

Registered: 04/14/13
Posts: 454
Thats a WIP feature, I'm hoping to add some additional stuff (like compilation) later.

Top
#576049 - 11/22/15 03:56 PM Re: EE pak extractor [Re: Draba]
Baardvark Offline
old hand

Registered: 08/09/14
Posts: 1143
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?
_________________________
Bard Mod for D:OS2

Top
#576077 - 11/23/15 12:27 AM Re: EE pak extractor [Re: Draba]
Norbyte Offline
addict

Registered: 04/14/13
Posts: 454
No, it extracts everything.
Talent effects are hardcoded in EoCApp.exe.

Top
#577648 - 12/26/15 10:52 PM Re: EE pak extractor [Re: Draba]
Obbu Offline
stranger

Registered: 12/26/15
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.


Edited by Obbu (12/26/15 11:08 PM)

Top
#578849 - 01/30/16 04:32 PM Re: EE pak extractor [Re: Draba]
Aenra Offline
enthusiast

Registered: 12/24/13
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

Top
#581560 - 04/19/16 04:29 AM Re: EE pak extractor [Re: Draba]
Keldian Offline
stranger

Registered: 04/19/16
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?

Top
#581577 - 04/19/16 07:51 PM Re: EE pak extractor [Re: Draba]
SniperHF Offline

old hand

Registered: 06/29/13
Posts: 853
Had the same issue here.

Top
#581612 - 04/20/16 07:36 PM Re: EE pak extractor [Re: Draba]
Norbyte Offline
addict

Registered: 04/14/13
Posts: 454
I'll investigate and add support for the new LSF format asap smile

Top
#581630 - 04/21/16 06:14 AM Re: EE pak extractor [Re: Draba]
Aenra Offline
enthusiast

Registered: 12/24/13
Posts: 245
Someone give him a medal laugh
_________________________
Pride, honour and purity

Top
#581695 - 04/23/16 10:07 AM Re: EE pak extractor [Re: Draba]
Norbyte Offline
addict

Registered: 04/14/13
Posts: 454
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.

Top
#581699 - 04/23/16 12:43 PM Re: EE pak extractor [Re: Draba]
Aenra Offline
enthusiast

Registered: 12/24/13
Posts: 245
Thank you for the umpteenth time Norbyte, much obliged! laugh
_________________________
Pride, honour and purity

Top
#581755 - 04/25/16 03:54 AM Re: EE pak extractor [Re: Aenra]
Keldian Offline
stranger

Registered: 04/19/16
Posts: 2
Thanks for the first time, its working great.

Top
#581947 - 05/01/16 06:31 AM Re: EE pak extractor [Re: Draba]
tobi1449 Offline
stranger

Registered: 05/01/16
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.

Top
#581960 - 05/01/16 03:04 PM Re: EE pak extractor [Re: tobi1449]
devonsoft Offline
stranger

Registered: 05/01/16
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


Top
#581983 - 05/02/16 11:30 AM Re: EE pak extractor [Re: Draba]
Norbyte Offline
addict

Registered: 04/14/13
Posts: 454
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.

Top
#582010 - 05/04/16 01:00 AM Re: EE pak extractor [Re: Draba]
Tampa2 Offline
stranger

Registered: 05/03/16
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!

Top
#582071 - 05/06/16 10:35 AM Re: EE pak extractor [Re: Draba]
Norbyte Offline
addict

Registered: 04/14/13
Posts: 454
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.


Edited by Norbyte (05/06/16 10:38 AM)

Top
Page 3 of 13 < 1 2 3 4 5 ... 12 13 >