Page 2 of 2

RE: Units database needed

Posted: Thu Jul 19, 2007 3:13 pm
by Jason Petho
ORIGINAL: Arizonus

Okay then! Thank you very much!

No problem! Good luck!!

Jason Petho

RE: Units database needed

Posted: Thu Jul 19, 2007 3:56 pm
by coralsaw
@Arizonus: Didn't know about this tool, the doc is an eyeopener! Most probably we're ok. [8D]

/coralsaw

RE: Units database needed

Posted: Thu Jul 19, 2007 11:32 pm
by Warhorse
What all is involved to make this utility, I would like to make such a tool available for my Korean War mod, do you remember what all you had to do?

Mike

RE: Units database needed

Posted: Fri Jul 20, 2007 6:37 am
by coralsaw
Warhorse,

I'll let you know once I redo the utility, that'll be easier. Take care.

/coraslaw

RE: Units database needed

Posted: Fri Jul 20, 2007 11:20 am
by Arkady
ORIGINAL: Jason Petho

The oob and obx files are the same, with the exception of the obx files being encrypted. There is no reason to need for the obx files if merely creating a database.

Same with the pdt and pdx files.

Jason Petho

Yes, for database are oob and pdt enough. But game use obx/pdx files thus for viewer should be used encrypted files...it can show new units from mods or future releases without additional work

RE: Units database needed

Posted: Fri Jul 20, 2007 10:38 pm
by Warhorse
Sounds good coralsaw, thank you very much!!

Mike

RE: Units database needed

Posted: Tue Jul 24, 2007 6:08 pm
by coralsaw
Hello,

Short progress report. [:)]

I've already done the code that imports the units data from the files into the database, which was the first milestone. I'm currently trying to import the hardattack/softattack values from the weapon.pdt files and I need some help.

Jason (or anyone), the East Front weapon.pdt file contains many cases of more than one entries for the same unit, e.g. it has 2 entries for the unit P00771 per below.

P00771 0
4 2

I thought that there should be only one entry for each firing unit, at least per Campaign (e.g. East Front). Isn't this correct? Any help is greatly appreciated. It would be a pity to create a dirty dataset, now that I am close to getting this browser done.

EDIT: Added a second question. I've noticed that the platoonXX.oob files contain several cases of more than one entries for the same unit (e.g. P00XXX). Is this right or do the files need fixing?

Thanks

/coralsaw

RE: Units database needed

Posted: Tue Jul 24, 2007 6:14 pm
by Jason Petho
ORIGINAL: coralsaw

Hello,

Short progress report. [:)]

I've already done the code that imports the units data from the files into the database, which was the first milestone. I'm currently trying to import the hardattack/softattack values from the weapon.pdt files and I need some help.

Jason (or anyone), the East Front weapon.pdt file contains many cases of more than one entries for the same unit, e.g. it has 2 entries for the unit P00771 per below.

P00771 0
4 2

I thought that there should be only one entry for each firing unit, at least per Campaign (e.g. East Front). Isn't this correct? Any help is greatly appreciated. It would be a pity to create a dirty dataset, now that I am close to getting this browser done.

Thanks

/coralsaw


You are correct, there should only be one entry per unique P#####... no exceptions

I will correct this and release it with the 1.03 patch.

Jason Petho


RE: Units database needed

Posted: Tue Jul 24, 2007 6:16 pm
by coralsaw
Thanks for your answer Jason. Is there a chance for getting the non-dirty datasets before the next patch so that I can deliver the browser with that patch as well?

/coralsaw

RE: Units database needed

Posted: Tue Jul 24, 2007 6:22 pm
by Jason Petho
ORIGINAL: coralsaw

Thanks for your answer Jason. Is there a chance for getting the non-dirty datasets before the next patch so that I can deliver the browser with that patch as well?

/coralsaw

Yes, that can be arranged. Send me a PM with your email address and I will see about sending you the information this evening.

Jason Petho

RE: Units database needed

Posted: Tue Jul 24, 2007 6:46 pm
by coralsaw
You're a star, PM on its way.

/coralsaw