| | 
 
| 
| 
|  |  
| addict |  
|   addict Joined:  Apr 2013 | 
Hey,
 Savegame editing is a complex thing and it would take quite a lot of time to implement properly. I'm quite busy this time of the year so I can't really work on it in the immediate future, sorry.
 
 |  |  |  
| 
| 
|  |  
| stranger |  
|   stranger Joined:  Sep 2016 | 
I am using the GR2 Converter (LSLib1.6.3) to modify Divinity EE files (GoG ver.).
 I have no problem opening and extracting the Main.Pak and MainLSF.pak. However, when I try to convert the LSF files, I receive this error:
 
 --------------------------------------------------------------------------------------------------------------------
 Conversion Failed
 Internal Error!
 
 System.UnauthorizedAccessException: Access to the path 'C:\dbg.bin' is denied.
 at System.IO._Error.WinIOError(Int32 errorCode, String maybeFullPath)
 at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
 FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
 at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 buffersize, FileOptions options, String msgPath, Boolean bFromProxy)
 at System.IO.FileStream..ctro(String path, FileMode mode)
 at LSLib.LS.LSF.LSFReader.Read()
 at LSLib.LS.ResourceUtils.LoadResource(String inputPath, ResourceFormat format)
 at ConverterApp.MainForm.resourceConvertBtn_Click(Object sender, EventArgs e)
 --------------------------------------------------------------------------------------------------------------------
 
 This happens when trying to Convert LSX / LSV/ LSF single files AND Batch Convert...
 
 I have .Net 4.5, Running Windows 10.
 
 I am at a loss, any help is much appreciated :)
 
 Thanks!
 |  |  |  
| 
| 
|  |  
| enthusiast |  
|   enthusiast Joined:  Jun 2015 | 
Have you tried running the program as administrator ? Helped me with several access exceptions.
 Norbyte will know more.
 
 |  |  |  
| 
| 
|  |  
| addict |  
|   addict Joined:  Apr 2013 | 
dbg.bin is a debug leftover that really shouldn't have been left there. Its already removed in v1.6.5, but until that version is released running as administrator is the only workaround. |  |  |  
| 
| 
|  |  
| addict |  
|   addict Joined:  Apr 2013 | 
v1.6.5 is out! Link: https://s3.eu-central-1.amazonaws.com/nb-stor/dos/ExportTool-v1.7.2.zip This version needs the 2015 version of Visual C++ runtime (32-bit!): https://www.microsoft.com/en-us/download/details.aspx?id=48145 Changes:  * GR2: Add batch GR2/DAE conversion feature  * GR2: Add support for animation DaKeyframes32f curves  * GR2: Add PWNGBDT3433342 and PWNGBTT3433322 vertex formats  * GR2: Fix dummy skeleton build when source GR2 has no models (only skeleton)  * GR2: Fix dummy model generation when model has no mesh bindings  * GR2: Fix a bug where models were sometimes duplicated in the output  * GR2: Fix multiple issues with export of animation transforms  * GR2: Fix twitching when exporting rotation anim curves  * Remove LSF exporter leftover debug code
Last edited by Norbyte; 07/10/16 07:36 PM. Reason: Updated download links
 |  |  |  
| 
| 
|  |  
| enthusiast |  
|   enthusiast Joined:  Jun 2015 | 
Thanks for your work !      Hope you can continue with Original Sin 2 once it's released ... because a lot of stuff is impossible without it ;-) |  |  |  
| 
| 
|  |  
| addict |  
|   addict Joined:  Apr 2013 | 
v1.7.0 is out! Link: https://s3.eu-central-1.amazonaws.com/nb-stor/dos/ExportTool-v1.7.2.zip Changes:  * Add support for D:OS 2 (LSFv3 format)  * GR2: Interpolate missing orientation/position/scale keyframes during export  * GR2: Fix incorrect animation duration when no rotation is applied
Last edited by Norbyte; 07/10/16 07:37 PM. Reason: Updated download links
 |  |  |  
| 
| 
|  |  
| veteran |  
|   veteran Joined:  Jun 2014 |  |  |  |  
| 
| 
|  |  
| journeyman |  
|   journeyman Joined:  Jul 2016 | 
Its amazing to see how you keep updating the tool and add new features. Awesome work man. Thanks to the addition of support for DOS 2, I guess mods for DOS 2 are on their way. |  |  |  
| 
| 
|  |  
| stranger |  
|   stranger Joined:  Sep 2016 | 
Hello, I've downloaded the newest version of the ExportTool-v1.7.0, but I haven't found a guide on how to use it. When I try to unpack with it I only either encounter errors, or nothing comes out.  Here's a screenshot of it ![[Linked Image]](https://i.sli.mg/FMBA1H.png) |  |  |  
| 
| 
|  |  
| stranger |  
|   stranger Joined:  Sep 2016 | 
Sometime I also get the could not load or assembly "lslibnative.dll" error, and I haven't been able to extract anything yet. |  |  |  
| 
| 
|  |  
| stranger |  
|   stranger Joined:  Sep 2016 | 
This worked, thank you   |  |  |  
| 
| 
|  |  
| stranger |  
|   stranger Joined:  Sep 2016 | 
I was trying to convert the lsf from dos:2 to lsx file but I got the following error message, I currently have both the x86 and x64 visual C++ libraries installed. and I am running in the converter in administrator mode. is there any solution for this issue?
 ---------------------------
 Conversion Failed
 ---------------------------
 Internal error!
 
 System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
 
 Parameter name: index
 at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
 at LSLib.LS.LSF.LSFReader.ReadNode(NodeInfo defn, Node node, BinaryReader attributeReader)
 at LSLib.LS.LSF.LSFReader.ReadRegions(Resource resource)
 at LSLib.LS.LSF.LSFReader.Read()
 at LSLib.LS.ResourceUtils.LoadResource(String inputPath, ResourceFormat format)
 at LSLib.LS.ResourceUtils.ConvertResources(String inputDir, String outputDir, ResourceFormat inputFormat, ResourceFormat outputFormat)
 at ConverterApp.MainForm.resourceBulkConvertBtn_Click(Object sender, EventArgs e)
 ---------------------------
 
 
Last edited by Orinx; 30/09/16 03:45 PM.
 |  |  |  
| 
| 
|  |  
| addict |  
|   addict Joined:  Apr 2013 | 
Hi Orinx,
 Which LSF file are you trying to convert?
 |  |  |  
| 
| 
|  |  
| stranger |  
|   stranger Joined:  Sep 2016 | 
I was trying to convert the savename_main.lsf I also tried the batch convert on all .lsf files from the same on the folder they were output into  (global.lsf , meta.lsf , levelcache/savename_main.lsf , sys_character_creation_a.lsf) and I got the same error. |  |  |  
| 
| 
|  |  
| enthusiast |  
|   enthusiast Joined:  Sep 2016 | 
That works fine for DOS 2 now, thanks. |  |  |  
| 
| 
|  |  
| stranger |  
|   stranger Joined:  Oct 2016 | 
Savegame.lsb & SocialStats.lsb still cant be converted. |  |  |  
| 
| 
|  |  
| addict |  
|   addict Joined:  Apr 2013 | 
Hmm, my savegames don't have any of the files you mentioned. Where did you find them? |  |  |  
 Moderated by  Bvs , ForkTong , gbnf , Issh , Kurnster , Larian_QA , LarSeb , Lar_q , Lynn , Monodon , Raze , Stephen_Larian | 
 |