Equipment\FX\Campaign Editor - New version 0.9.0
Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design
-
- Panzer Corps Moderator
- Posts: 2119
- Joined: Tue Jun 03, 2008 9:32 am
Ok, are you running the app from a directory contained in "program files"? If so, I will need to save the file somewhere different as the security features in Windows Vista or 7 won't allows writing to a folder in that path. If your stll using XP, can you let me know because that means it's a different problem.El_Condoro wrote:Just confirming I was using the Quit button. No settings.txt file, either.For now, the app will remember directories as long as you use the "Quit" button.......
Cheers
Mark
-
- Major-General - Tiger I
- Posts: 2312
- Joined: Thu Jul 07, 2011 12:56 pm
- Location: Northeast, USA
Windows 7 and here is where i have mine placed.mgarnett wrote:Ok, are you running the app from a directory contained in "program files"? If so, I will need to save the file somewhere different as the security features in Windows Vista or 7 won't allows writing to a folder in that path. If your stll using XP, can you let me know because that means it's a different problem.El_Condoro wrote:Just confirming I was using the Quit button. No settings.txt file, either.For now, the app will remember directories as long as you use the "Quit" button.......
Cheers
Mark
C:\Users\Mark\Documents\My Games\Slitherine\Equipment Editor
-
- Panzer Corps Moderator
- Posts: 2119
- Joined: Tue Jun 03, 2008 9:32 am
Thanks, I'll create the settings file during load rather than when quiting. I'll make some changes and post a new version. Are you guys able to confirm that the debug.txt file gets created? It gets created using the same procedure, so if see that but not the settings file then it will help to track down the cause.El_Condoro wrote:I have the editor files all in My docs\My games\Panzer Corps folder. Just checked - definitely no settings file of any sort there.
Cheers
Mark
-
- Major-General - Tiger I
- Posts: 2312
- Joined: Thu Jul 07, 2011 12:56 pm
- Location: Northeast, USA
Yes sir, it does.mgarnett wrote:Thanks, I'll create the settings file during load rather than when quiting. I'll make some changes and post a new version. Are you guys able to confirm that the debug.txt file gets created? It gets created using the same procedure, so if see that but not the settings file then it will help to track down the cause.El_Condoro wrote:I have the editor files all in My docs\My games\Panzer Corps folder. Just checked - definitely no settings file of any sort there.
Cheers
Mark
I deleted it -- opened the editor -- closed it -- debug file is back.
Hope it helps

-
- Panzer Corps Moderator
- Posts: 2119
- Joined: Tue Jun 03, 2008 9:32 am
Somehow missed this. Yes, the debug.txt file is created when the editor is opened. I had the folder open and could see it appear when the editor displayed.mgarnett wrote:Are you guys able to confirm that the debug.txt file gets created? It gets created using the same procedure, so if see that but not the settings file then it will help to track down the cause.
Values not being saved
Editor in this directory C:\Users\Z\Documents\Editor
copied equipment.pzeqp into same directory to test it
opened PzCEdit.exe
opened equipment.pzeqp
just clicked "ok" when it asks me to choose graphics directory
selected country germany
naval unit destroyer
changed Range to 2
saved
selected schnellbotte
selected destroyer
Range still 0
Please explain how to permanently change unit stats.
Thanks
copied equipment.pzeqp into same directory to test it
opened PzCEdit.exe
opened equipment.pzeqp
just clicked "ok" when it asks me to choose graphics directory
selected country germany
naval unit destroyer
changed Range to 2
saved
selected schnellbotte
selected destroyer
Range still 0
Please explain how to permanently change unit stats.
Thanks
Maybe just as a tip. Use LINQ and requery the data via queries when selecting different units. Here's a quick example which might help: http://msdn.microsoft.com/en-us/library/bb397914.aspx
Advantage is to use XML to save and later reload.
For modding while many prefer ascii files, XML files are easier to read and can handle much more data base stuff IMHO
But thanks for the work on the Editor. I had also the idea to start working on such a 'beast' but was happy to see that someone else started!
Hopefully the creators will change the way the main files are handled to make it easier to create new campaigns without needing to 'backup/protect' the games core files.
Advantage is to use XML to save and later reload.
For modding while many prefer ascii files, XML files are easier to read and can handle much more data base stuff IMHO

But thanks for the work on the Editor. I had also the idea to start working on such a 'beast' but was happy to see that someone else started!
Hopefully the creators will change the way the main files are handled to make it easier to create new campaigns without needing to 'backup/protect' the games core files.
Re: Values not being saved
Hi Shinyhalo,shinyhalo wrote:Editor in this directory C:\Users\Z\Documents\Editor
copied equipment.pzeqp into same directory to test it
opened PzCEdit.exe
opened equipment.pzeqp
just clicked "ok" when it asks me to choose graphics directory
selected country germany
naval unit destroyer
changed Range to 2
saved
selected schnellbotte
selected destroyer
Range still 0
Please explain how to permanently change unit stats.
Thanks
To save a unit "over the top" of the currently selected unit, just change the stats to whatever you like and then click the "Commit Unit" button. To add a new unit at the end of the database, just change the currently selected unit to whatever stats you like then select "Add Unit"
Cheers
Mark
Thanks for the tip berndN.berndN wrote:Maybe just as a tip. Use LINQ and requery the data via queries when selecting different units. Here's a quick example which might help: http://msdn.microsoft.com/en-us/library/bb397914.aspx
Advantage is to use XML to save and later reload.
For modding while many prefer ascii files, XML files are easier to read and can handle much more data base stuff IMHO
But thanks for the work on the Editor. I had also the idea to start working on such a 'beast' but was happy to see that someone else started!
Hopefully the creators will change the way the main files are handled to make it easier to create new campaigns without needing to 'backup/protect' the games core files.
I'm actually using this project to teach myself dotNet. I'm a Delphi developer mainly, so the features of the dotNET environment are still pretty new to me. If the source data was in XML, I would certainly have kept it that way, but as it is in plain text, I made the decision to store information internally as plain text as well.
Cheers
Mark
-
- Major-General - Tiger I
- Posts: 2312
- Joined: Thu Jul 07, 2011 12:56 pm
- Location: Northeast, USA
You must have just done that. It was .6 when I came in here.... True I came in to this thread walked away for awhile, came back and posted.mgarnett wrote:New version uploaded, please see first post.

Last edited by Xerkis on Fri Aug 19, 2011 1:53 pm, edited 1 time in total.
Don't forget to bring your Action Man (European version of G.I. Joe). I've always loved my "Deep Sea Diver" suit. He looked wonderful in my bathtub filled with water. His voice was never the same after that, but he looked nice.mgarnett wrote:
Hi Xerkis,
I hope to have it finished this weekend assuming I don't get roped into playing Barbies with my daughter!!!
Cheers
Mark
http://www.actionmanhq.co.uk/pages/sold ... diver.html