Nevermind, I think it's working either way.
Nevermind, I think it's working either way.
Ah, I'll rest now, yes? The endless dream calls to me... but before I close my eyes, I must know - what will become of my children? They were madmen before I found them and freed them from the prisons of their own minds... *sigh* and with my death, madmen they again will be. It's not what I believe. It's what I know.
so with opening every db file you gt the error?
hmm...
Divide and conquer...
Get an error here also after clicking on the unit_stats_land db. This is what I get as error msg
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileNotFoundException: Could not find file 'D:\Program Files\Steam\steamapps\common\empire total war\data\DBFileTypes.txt'.
File name: 'D:\Program Files\Steam\steamapps\common\empire total war\data\DBFileTypes.txt'
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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path, Encoding encoding)
at System.IO.File.ReadAllLines(String path, Encoding encoding)
at PackFileManager.DBFileEditorControl.getTypeMapFromFile(String filepath)
at PackFileManager.DBFileEditorControl..ctor(PackedFile packedFile)
at PackFileManager.PackFileManagerForm.packTreeView_AfterSelect(Object sender, TreeViewEventArgs e)
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Fra...7/mscorlib.dll
----------------------------------------
PackFileManager
Assembly Version: 1.0.0.0
Win32 Version: 1.3
CodeBase: file:///D:/Program%20Files/Steam/ste...ileManager.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...dows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...em.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL...System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Maybe it helps in finding the error.
Strange thing is it refers to framework v2.0 while I'm almost sure I have framework 3.5 (any way I can check this?)
Z.
@Porphyr
Thanks mate! That's the one. I downloaded only the bin file from sourceforge because I had a crc problem with the zip. Just d/l-ed the txt file and placed it in the same dir. as the packfilemanager.exe and it works like a charm now.
Thanks again.
Z.
Oh yippy, it finally decided to work. I didn't move anything, change anything, it just started to work...
I attached a copy of the zip file to this post. This one works on my computer.
Maybe you want to calculate the checksum of your file to see whether it is corrupted. You can pick any one of the following. The checksum of your file should be equal to the following numbers.
MD5: 4033E9A11C7B689860609713BF55AEA3
SHA1: 25578AF316A8B0DB4321F846E0A5260E9D3B02D9
RipeMD256: D01C1CB317EE4826F9F192B9D6EDEA1F2920D16EE95648C32E0C7894D9B2A49A
CRC32: 1380E3E7
May I ask you to verify something for me?
If you select one of the five files that are implemented so far, it should work fine. But if you click on any other file, you should get an error saying "The given key was not present in the dictionary". This means that the structure of the file you selected is not yet implemented into the DBFileTypes file.
Go to http://etw-mod-tools.svn.sourceforge...mod-tools/bin/
Choose PackFileManager.exe
Download the "Revision 5" version - this version works (I think it is the 1.2 version)
Can you add the ability to change the relative path? Same I'm working off of my mod directory called mod1, when I add my files they include "mod1\" directory path. Thanx, man!
"The shape of you, the shape of me, the shape of everything I see.."