Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Tips on using WITPchk

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945 >> Scenario Design >> Tips on using WITPchk Page: [1]
Login
Message << Older Topic   Newer Topic >>
Tips on using WITPchk - 5/17/2006 11:52:22 PM   
pad152

 

Posts: 2871
Joined: 4/23/2000
Status: offline
Tips on using WITPchk

WITPchk is a scenario database checker created by user michaelm, see thread for details.
http://www.matrixgames.com/forums/tm.asp?m=734060

Once you download and installed "WIPTchk", available from spookys http://www.mathubert.free.fr

Don't forget to read the documentation.

Create a batch file forget the typing!

Create a batch file for testing scenario 15
1. Inside the witpchk directory, open notepad and type
witpchk /i /s15 > s15.txt
then save as witp15.bat inside the witpchk directory.
2. You can now run witpchk by clicking on the witp15.bat file.
3. When run it will generate the report rept015.txt and s15.txt inside the witpchk directory.
6. rept015.txt will show what errors are found.
7. s15.txt fill will show what files WITPchk has tested.

Create a batch file for scenario 155
You can now change a *.bat file for any other scenario by editing the witp15.bat and changing the /s15 to /s155 or any other scenario number, then save as witp155.bat. This will alow you to have multiple batch files for all scenarios you want to test. When run it will create a rept155.txt.

Hope this helps!












Post #: 1
RE: Tips on using WITPchk - 5/18/2006 2:23:02 AM   
Andrew Brown


Posts: 5007
Joined: 9/5/2000
From: Hex 82,170
Status: offline
quote:

ORIGINAL: pad152

Tips on using WITPchk

WITPchk is a scenario database checker created by user michaelm, see thread for details.
http://www.matrixgames.com/forums/tm.asp?m=734060


Let me say here that I find WITPchk very very very very very very very very very very very very very very very very very very very very very very very very very very very very very useful!

Did I say that it is very useful?

A BIG thanks to Michael for providing this tool. I use it a lot.

Andrew

(in reply to pad152)
Post #: 2
RE: Tips on using WITPchk - 5/19/2006 12:42:55 AM   
el cid again

 

Posts: 16922
Joined: 10/10/2005
Status: offline
OK - where do you find it?

(in reply to Andrew Brown)
Post #: 3
RE: Tips on using WITPchk - 5/19/2006 1:08:42 AM   
Mifune


Posts: 787
Joined: 4/28/2005
From: Florida
Status: offline
cid you can find WITPchk at spooky's site

_____________________________

Perennial Remedial Student of the Mike Solli School of Economics. One day I might graduate.

(in reply to el cid again)
Post #: 4
RE: Tips on using WITPchk - 5/19/2006 4:19:45 AM   
pad152

 

Posts: 2871
Joined: 4/23/2000
Status: offline
quote:

OK - where do you find it?


I just sent you a copy!

(in reply to el cid again)
Post #: 5
RE: Tips on using WITPchk - 5/25/2006 5:46:49 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Darn.

You didn't find it useful^30.

Michael
quote:

ORIGINAL: Andrew Brown

quote:

ORIGINAL: pad152

Tips on using WITPchk

WITPchk is a scenario database checker created by user michaelm, see thread for details.
http://www.matrixgames.com/forums/tm.asp?m=734060


Let me say here that I find WITPchk very very very very very very very very very very very very very very very very very very very very very very very very very very very very very useful!

Did I say that it is very useful?

A BIG thanks to Michael for providing this tool. I use it a lot.

Andrew


(in reply to Andrew Brown)
Post #: 6
RE: Tips on using WITPchk - 5/27/2006 9:35:34 AM   
turkey1

 

Posts: 25
Joined: 12/10/2005
From: Melbourne Australia
Status: offline
pad152

Have played with this utility trying to get it to run.

I haven't put the installation in the default directory

So after going into DOS and running the thing from there I'm now getting an "Access Denied" message.

I dont have witp running --- any suggestions ?????

(in reply to pad152)
Post #: 7
RE: Tips on using WITPchk - 5/27/2006 1:01:08 PM   
Iron Duke


Posts: 529
Joined: 1/7/2002
From: UK
Status: offline
Hi,

I've several installs of witp [stock , chs mod and my own mod] and found it better to install the wiptchk.exe file in the Scen folder of each seperate install and then put in a batch file also in the Scen folder[notepad -change extension to .bat with the line

witpchk /s52

this creates the report in the scen folder as reptxxx - xxx = scen number

note. batch file was somebody else's idea.



_____________________________

"Bombers outpacing fighters - you've got to bloody well laugh!" Australian Buffalo pilot - Singapore

(in reply to turkey1)
Post #: 8
RE: Tips on using WITPchk - 5/27/2006 3:21:29 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Can you post exactly what you are getting?
eg
quote:

C:\matrix games\war in the pacific\extras>witpchk /s1
WITP database checker utility - Version 1.25
Loading File .\cam001.dat
Trouble opening campaign file
: No such file or directory


Could be several reasons for such a message?

Michael

quote:

ORIGINAL: turkey1

pad152

Have played with this utility trying to get it to run.

I haven't put the installation in the default directory

So after going into DOS and running the thing from there I'm now getting an "Access Denied" message.

I dont have witp running --- any suggestions ?????


(in reply to turkey1)
Post #: 9
RE: Tips on using WITPchk - 5/27/2006 8:23:04 PM   
Herrbear


Posts: 883
Joined: 7/26/2004
From: Glendora, CA
Status: offline
DELETED - Found answer to my question

< Message edited by Herrbear -- 5/27/2006 8:31:04 PM >

(in reply to michaelm75au)
Post #: 10
RE: Tips on using WITPchk - 5/28/2006 6:01:50 AM   
Zeta16


Posts: 1199
Joined: 11/20/2002
From: Columbus. Ohio
Status: offline
OK after reading all of this, with some one with limited computer skills this seems well out of my leauge. It seems complex like DOS ( I wish DOS would go away in every game to me it's a nightmare ) and batch files, what are these? So am I reading to much into this and is it rally that hard?

_____________________________

"Ours was the first revolution in the history of mankind that truly reversed the course of government, and with three little words: 'We the people.' 'We the people' tell the government what to do, it doesn't tell us." -Ronald Reagan

(in reply to Herrbear)
Post #: 11
RE: Tips on using WITPchk - 5/28/2006 7:53:58 AM   
turkey1

 

Posts: 25
Joined: 12/10/2005
From: Melbourne Australia
Status: offline
Many Thanks

That works fine.

Such a small exe is fine to duplicate in all of my installations

Now I'll look forward to trying to understand the output file

eg
1) Location ID:1129 (Camranh Bay Base Force) - changes in 0 months to a non-Command Organisation HQ (JAPANESE HQs/1)

2) and whats the issue with Japanese and allied Sound detectors

Location ID:1126 (Maloelop Base Force) - device in weapon slot #10 does not show in Replacement Pool (Sound Detector (J))

3) and whats a suffix for these units
Location ID:1478 (1st NLF) - LCU does not have a suffix set

( is this message for all units loaded on transports ???


4) Device ID: 209 (800 kg AP Bomb) - defined but not referenced in database
Class ID: 187 (Renown) - defined but not referenced in database

This last group lots of them look to be issues and this is stock scenario 15


Words of wisdom from someone who knows please. !


Anyway whoever wrote this utility is great !!

(in reply to Iron Duke)
Post #: 12
RE: Tips on using WITPchk - 5/28/2006 11:34:53 AM   
Iron Duke


Posts: 529
Joined: 1/7/2002
From: UK
Status: offline
Hi,

This is my take on some of the reports
not all report lines mean there is a problem , read the line then look at the reported location in the editor and usually you can see straight away if its a problem.
the program reports false positives ie if a ship upgrades to a different class this will show as an error report . eg in my mod i've AMC upgrading to LSI's this gets reported - i just ignore

1 not sure

2 not sure but they appear to work in game and upgrade to radar devices [ both sides ]
you can put devices above slot 517 but they do not appear in replacement pools but you can add them to units ?

3 some units have there full title in the unit id field and therefore don't require a 'suffix' or the selection of predefined 'suffix's' don't cover the units description

4 devices/classes in the data base that have not been assigned to a on-map unit or rienforcement show up like this , but the device may be an upgrade to an excisting device

5 leaders/pilots not available- they have had there delay set to '9999' so i think they wil never appear.

as said most are pretty easy to understand , if you have any other problems understanding any just post I'm sure somebody will know the answer

hope this helps

cheers

_____________________________

"Bombers outpacing fighters - you've got to bloody well laugh!" Australian Buffalo pilot - Singapore

(in reply to turkey1)
Post #: 13
RE: Tips on using WITPchk - 5/31/2006 2:08:08 PM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
Not everything reported is an error.
Things are reported that could be wrong, also. Sometimes the scenario designer will specifically set something that will be reported. An example of this could be the class a ship upgrades to. It may not have a similar Class name.

1) Location ID:1129 (Camranh Bay Base Force) - changes in 0 months to a non-Command Organisation HQ (JAPANESE HQs/1)
According to the editor, values in the airfield and port in the LCU allow the AI to change Hq after some many months. The values in these fields of the editor point to an invalid HQ.

2) and whats the issue with Japanese and allied Sound detectors
Location ID:1126 (Maloelop Base Force) - device in weapon slot #10 does not show in Replacement Pool (Sound Detector (J))

The Sound Detector devices are not in the range of devices that show up the Replacement Pool, although they do have a Replacement rate defined in the Editor. Seems to have been an oversight in setting up scenarios. These devices ungrade to radar almost at once for Allies.

3) and whats a suffix for these units
Location ID:1478 (1st NLF) - LCU does not have a suffix set

Suffix are normally sub-types of units and they help identify units. Also are used for leader selection also. Units don't have to have a suffix, but this may cause the unit to get the wrong type of random leader.

4) Device ID: 209 (800 kg AP Bomb) - defined but not referenced in database
Class ID: 187 (Renown) - defined but not referenced in database

These are devices that have entries in the scenario file but are not used.
No planes are specified as using 800kg bombs, although they are used in special cases in the game (attack on PH).
There are no ships based on class 187 in the scenario.

There should be readme or such in the ZIP file containing witchk

Michael

(in reply to Iron Duke)
Post #: 14
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945 >> Scenario Design >> Tips on using WITPchk Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.000