Edit: Perhaps I should Note, I am using Pack File Manager, not just randomly trying to read the Pack File by it's self. If there is a better place to ask questions in regards to this, please re-direct me.
Hello,
First off, Truly sorry if this is the wrong section to post this.
Basically I'm a complete novice to Empire Modding...but I figured if I found a readme. or tutorial, that I'd have no real issues with Pack File. (None seemed to appear, aside of one showing how to re-pack the edited changes back into a usable file for Empire)
After setting it all up, I'm already stumped as to how I open and/or edit the files them selves.
I get as far as opening the program, going to the section I wish to edit,(DB/Unit_tables/Units) and from there, ether I assume it 'should' show the information on the right, or I'm to open the file to edit the lines I can.
Apparently no program my computer has is capable of reading the file(s), and I figured .NET Framework 2.0. would be the key, sadly...after installing it,(mine claims it's 3.5) I can't figure out how to use/run the feature. The folder has many files, but none seem to be a "open/use" icon of which to test my theory.
Granted, I am a complete moron when it comes to this kinda stuff, though I got all the other Total War Modding basics down; was hoping I could do the same for Empire.
Thanks in advance for any help you could offer.
Last edited by RationalThought; June 16, 2009 at 11:11 AM.
Reason: Topic title was misleading, *Trouble with Pack File Manager*
Well don't ask me because i know nothing about modding but what I do (do you have the pack file manager?) is go to file, up the top in the Pack File manager and open the file u want for example the main.pack and then click on the db folder in the pack and then say click on the unit_tables and units and change something like the gun range but you have to do this again in the patch.pack files so go back to file, click open and on the patch.pack and press open and do the same prosess.
I hope this works but remember to make a copy of the main.pack and patch.pack first. Good luck then play ETW and see if it works
This is just an example.
Formally known as 'Marshal Beale' - The Creator the Napoleon TW mods - 'Napoleon Order of War' and 'Revolution Order of War'
Unfortunately, this is no new information for me, although it makes me wonder if I worded my original question wrong.
Yes, I do have Pack File Manager.
I run the program and the file I open to is;
SteamApps/common/Empire total War/data/patch
From there, I did as you said...but after I get as far as clicking Units in the units_table tab, my computer shows me this message.
Spoiler Alert, click show to read:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadUInt32()
at Common.DBFile.getFieldValue(BinaryReader reader, FieldInfo field)
at Common.DBFile.addFields(BinaryReader reader, List`1 entry, Int32 startIndex, Int32 endIndex)
at Common.DBFile..ctor(PackedFile packedFile, TypeInfo type)
at PackFileManager.DBFileEditorControl.Open(PackedFile packedFile)
at PackFileManager.PackFileManagerForm.packTreeView_AfterSelect(Object sender, 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.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 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.
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.
Would seem that a program is missing on my end to read the file, or I need to somehow open/run the feature...yet unsure how. Least that's my best guess.
Last edited by RationalThought; June 16, 2009 at 11:06 AM.
Unfortunately, this is no new information for me, although it makes me wonder if I worded my original question wrong.
Yes, I do have Pack File Manager.
I run the program and the file I open to is;
SteamApps/common/Empire total War/data/patch
From there, I did as you said...but after I get as far as clicking Units in the units_table tab, my computer shows me this message.
Spoiler Alert, click show to read:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadUInt32()
at Common.DBFile.getFieldValue(BinaryReader reader, FieldInfo field)
at Common.DBFile.addFields(BinaryReader reader, List`1 entry, Int32 startIndex, Int32 endIndex)
at Common.DBFile..ctor(PackedFile packedFile, TypeInfo type)
at PackFileManager.DBFileEditorControl.Open(PackedFile packedFile)
at PackFileManager.PackFileManagerForm.packTreeView_AfterSelect(Object sender, 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.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 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.
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.
Would seem that a program is missing on my end to read the file, or I need to somehow open/run the feature...yet unsure how. Least that's my best guess.
You either don't have the most recent version of PFM or you need .NET 2.0 or better. If you're only having trouble with the units table, then you need the new PFM.
You either don't have the most recent version of PFM or you need .NET 2.0 or better. If you're only having trouble with the units table, then you need the new PFM.
So simple, yet surprisingly effective -_-
Would appear I clicked one of the older download links on the main PFM page,
Everything seems in order now. /facepalm - such a waste of time/thread...but truly thank you for that bit of information