WitP Utility

Gary Grigsby's strategic level wargame covering the entire War in the Pacific from 1941 to 1945 or beyond.

Moderators: Joel Billings, wdolson, Don Bowen, mogami

User avatar
Bodhi
Posts: 1267
Joined: Tue Aug 26, 2003 1:36 am
Location: Japan

RE: WitP Utility - update (18/03/2005)

Post by Bodhi »

Yes, that's the latest version. I've just run a previous version and the new one with 2 day turns against the AI with the tutorial scenario. With the previous version the dates are not in the correct order after the first turn (from day 3 onwards). With the latest version the dates are all correctly stored. What problems are you seeing?
Bodhi
User avatar
Bodhi
Posts: 1267
Joined: Tue Aug 26, 2003 1:36 am
Location: Japan

RE: WitP Utility - update (18/03/2005)

Post by Bodhi »

OK, I think I know what's happening. The new version corrects the problem, but the data you have already was made with an older version, so the date information is still out of order. Any new turns processed with the new version will be correct, but the existing data won't be corrected. You can either wait until the old data becomes too old to display, or go into the existing com_***.txt files and copy/paste the daily sections so that they're in the correct order. I may add a check routine for the com_***.txt files in a future version to automatically correct this sort of error.
Bodhi
erstad
Posts: 1953
Joined: Mon Aug 02, 2004 11:40 pm
Location: Midwest USA

RE: WitP Utility - update (18/03/2005)

Post by erstad »

That's probably it. Thanks.

User avatar
scout1
Posts: 3110
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

RE: WitP Utility - update (18/03/2005)

Post by scout1 »

Bodhi,

As usual, very sweet indeed. This tool is with the intel and Op reports moving me around the map is VERY helpful in utilizing this information. Before, it was always a game of memorization as the game turn processed. I really love the ability to track the last X number of turns as well. Makes putting the progressing picture together really, really clean.

One question, what impact will there be for people who start playing the CHS map ? Or more specifically, when people are running different games with different maps. Since you utility can be run independently, doesn't this pose a potential issue with a player running Game #1 with the CHS and Game #2 with the original ? For example, if I have some time at lunch to kill and want to use your tool to look at two current games, each using different maps, how can this be handled ?
User avatar
Bodhi
Posts: 1267
Joined: Tue Aug 26, 2003 1:36 am
Location: Japan

RE: WitP Utility - update (18/03/2005)

Post by Bodhi »

ORIGINAL: scout1

Bodhi,

As usual, very sweet indeed. This tool is with the intel and Op reports moving me around the map is VERY helpful in utilizing this information. Before, it was always a game of memorization as the game turn processed. I really love the ability to track the last X number of turns as well. Makes putting the progressing picture together really, really clean.

One question, what impact will there be for people who start playing the CHS map ? Or more specifically, when people are running different games with different maps. Since you utility can be run independently, doesn't this pose a potential issue with a player running Game #1 with the CHS and Game #2 with the original ? For example, if I have some time at lunch to kill and want to use your tool to look at two current games, each using different maps, how can this be handled ?

Brad (bradfordkay) raised this issue earlier in the thread. Yes, there's a potential issue here, but, unfortunately, I can't think of a way of handling all possible situations, and there are some that couldn't be handled automatically. This being the case, I don't envisage making any changes to the way it's handled at the moment. This is by allowing the user to specify the paths to the main WitP folder (and hence the SCEN/SAVE sub folders and pwhex.dat file) and the map tile folder (the map tile bitmaps). If anyone has any suggestions as to how to handle all possible cases please post as I'm willing to consider implementating a solution.

Bodhi
User avatar
scout1
Posts: 3110
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

RE: WitP Utility - update (18/03/2005)

Post by scout1 »

Bodhi,
Just wanted to let you know that I am no longer a Japan Fanboy. I'm a Bodhi's utility Fanboy. I don't even watch any aspect of the turn replay anymore. Just let it go so I can track things down with your utility. I ignored features such as intel. No more.
I can't imagine playing this game anymore without it.

Now I REALLY want 2x3 to open up the in turn game states. This would be a killer utility then, but alas I am but a small voice in the wind.......
User avatar
Bodhi
Posts: 1267
Joined: Tue Aug 26, 2003 1:36 am
Location: Japan

RE: WitP Utility - update (18/03/2005)

Post by Bodhi »

Thanks for the kind words. I agree, if we could access the current game state somehow, the possibilities for display and management of the data would be endless. The way the utility works at the moment is fairly simple, just aggregating the text output the game gives and displaying it on the map. If the actual unit information was available, I'm sure better minds/programmers than me would be able to provide some amazing programs. Currently, I'm at a bit of a crossroads with the program. It now does just about everything I'd planned initially. The question is do I take it any further? There are some things I think I could try, but, as the game state isn't accessible, most seem to involve the user inputting various amounts of data. I'm not sure that I'd want to do that on a regular basis.

I think I mentioned before in a thread that Ted has some ideas for an invasion planner. He's started on it, and will probably be using part of my utility, a map control, to display the map. The map control is actually open to anyone who wants to try their hand at developing an add-on for WitP, but of course use of one of the .NET Framework languages is required. I doubt there's much interest, but if you, or anyone else, is interested just drop me an email.

On small word of warning, watch out for some info displayed/given in the replays that doesn't make it to the text files. One item in the combatreport.txt that comes to mind is the adjusted odds, another is the "Radio raise command ...." audible warning (see this thread). There may be others.

Anyway, glad you're enjoying using the utility. If you have any ideas please let me know.
Bodhi
User avatar
scout1
Posts: 3110
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

RE: WitP Utility - update (18/03/2005)

Post by scout1 »

One item in the combatreport.txt that comes to mind is the adjusted odds, another is the "Radio raise command ...." audible warning

The first they are hopefully orking on adding for v1.5 (no reason not too), what's the second ?
User avatar
Bodhi
Posts: 1267
Joined: Tue Aug 26, 2003 1:36 am
Location: Japan

RE: WitP Utility - update (18/03/2005)

Post by Bodhi »

ORIGINAL: scout1
One item in the combatreport.txt that comes to mind is the adjusted odds, another is the "Radio raise command ...." audible warning

The first they are hopefully orking on adding for v1.5 (no reason not too), what's the second ?

The thread has it all, but these are the key posts by Mike Wood:
ORIGINAL: Michael Wood
I rewrote the sound code in version 1.20, so that the "Main Body" and "Enemy carriers spotted" messages would only play for large, surface task forces and carrier task forces, respectively. There is still a bit of FOW build into the routine. So, if you are playing with 1.20 or later, you will hear the wireless telegraph sound unless the task force is thought a really important one.

Question: Is there any way to determine the difference between large, surface task forces and carrier task forces in the operationsreport.txt file?
ORIGINAL: Michael Wood
Nope.
Bodhi
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitP Utility - update (18/03/2005)

Post by Nomad »

I downloaded your utility and it looks great. But, in the base display I think you have a problem. I was looking at Bativia which has 100 oil and 600 resources. Your utility shows daily values of 100 oil, 17 fuel, 600 resources and 600 supply. But it should show 600 oil, 100 fuel, 750 resources and 600 supply for daily values.
User avatar
Bodhi
Posts: 1267
Joined: Tue Aug 26, 2003 1:36 am
Location: Japan

RE: WitP Utility - update (18/03/2005)

Post by Bodhi »

ORIGINAL: Nomad

I downloaded your utility and it looks great. But, in the base display I think you have a problem. I was looking at Bativia which has 100 oil and 600 resources. Your utility shows daily values of 100 oil, 17 fuel, 600 resources and 600 supply. But it should show 600 oil, 100 fuel, 750 resources and 600 supply for daily values.

Which scenario?

Where did you get the 600 oil, 100 fuel, 750 resources and 600 supply for daily values?
Bodhi
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitP Utility - update (18/03/2005)

Post by Nomad »

Oops, sorry, should read my posts. Senario 15, Batavia has 100 oil and 600 resources with 0 in storage for each. Run one turn and there are 600 oil and 750 resources in storage. [:)] Also, my numbers would agree with the manual.
User avatar
Bodhi
Posts: 1267
Joined: Tue Aug 26, 2003 1:36 am
Location: Japan

RE: WitP Utility - update (18/03/2005)

Post by Bodhi »

As the manual says the "the production system is unique".[:D] To be honest, I find it confusing and obscure, or maybe it's just me. [:D]

You are correct, the results displayed aren't quite correct. Initially I only displayed the daily values for supply, fuel, oil and resource from the scenario database files. However, these don't give the correct picture. Each "oil point" from the scenario database file, actually results in 6 oil points in storage and 1 fuel point. Also each scenario "resource point" results in 1.25 resource points in storage and 1 supply point. (Then again, these assume that the oil and resource centres aren't damaged, something the utility has no way of knowing. )

The problem is that the results displayed in the utility are still in the scenario database file units. To get the values as displayed in game, both fuel and oil need to multiplied by 6 and resources by 1.25. I'll probably update the next version. However, I don't pay that much attention to the production system as I don't feel it's a good design. All I'm interested in is where are the major oil and resource producing centres.

Thanks for the heads-up. Maybe you can explain the whole production system to me one day.[;)]


Bodhi
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitP Utility - update (18/03/2005)

Post by Nomad »

Not a big thing as long as you know it. Just thought I would bring it up to you. [:)]

If I ever figure out the wierd production system, I'll tell you all about. [:D]

Really a very good utility, too bad something like it wasn't includes as an itegral part of the game. [&:]
User avatar
Bodhi
Posts: 1267
Joined: Tue Aug 26, 2003 1:36 am
Location: Japan

WitP Utility - what's next

Post by Bodhi »

While waiting for the 1.5 patch, I've been working a bit more on the utility.

After feedback, I've now implemented a listing of all active combat reports, similar to the listing of all intel and ops reports. The list only really shows the date of combat, type of combat and location. Clicking on any row in the list jumps the map to that location and displays the detailed combat report tab with all the combat reports for that hex.

Not finished yet (see the screenshot for a clue what's still in the pipeline [;)]), but I'll post when the update is ready.

Image
Attachments
combatlist1.jpg
combatlist1.jpg (76.36 KiB) Viewed 252 times
Bodhi
User avatar
Herrbear
Posts: 883
Joined: Sun Jul 25, 2004 9:17 pm
Location: Glendora, CA

RE: WitP Utility - what's next

Post by Herrbear »

You are amazing. Thanks a lot.
User avatar
scout1
Posts: 3110
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

RE: WitP Utility - what's next

Post by scout1 »

While waiting for the 1.5 patch, I've been working a bit more on the utility.

As always, you are truely amazing.

Looking very sweet. Now I can go back to being lazy and depending on your utility to capture and present in a very user friendly manner, what my opponents just did to me.
[;)]
tc464
Posts: 126
Joined: Fri Feb 27, 2004 4:33 pm
Location: Sodom on Potomac

RE: WitP Utility - what's next

Post by tc464 »

ORIGINAL: Bodhi

While waiting for the 1.5 patch, I've been working a bit more on the utility.

Bodhi mentioned a while back that I was working on a planner/calendar. Well, we have finally moved past the screaming, pleading, and late night drinking binges, and I am well into the coding this thing. Bodhi has been kind enough to reserve the F10 key on his utility [&o]

I thought I would post a quick note on features, and a screen shot. I deliberately kept it simple, so I could incorporate feedback into any future updates. Basically, this thing has the following:

A sizeable window with a calendar, category, note and event section.

The calendar is in sync with the game date on Bodhi's utility.

Notes are always available, and can be linked to categories. Notes are simply a title and an unlimited size notepad. They will always appear in the notes section.

Events are basically notes as well, but are linked to a date, or series of dates. Events can also be tied to categories, including the same ones you linked the notes to. The events will appear in the events section on every date you specify. You won't be limited to just the game date, you will be able to navigate freely around the calendar.

On the screen shot, the categories act as a filter. There will be a separate window for a category you request, which will display a listing of every note/event tied to it, with a text area underneath. As you click on each note/event, the text area will display whatever you put there.

[>:] Asleep yet ? Ok, here's the screen shot.

Ideas, comments, feedback welcomed.



Image
Attachments
screen2.jpg
screen2.jpg (85.41 KiB) Viewed 252 times
Roger Neilson
Posts: 899
Joined: Sat Oct 27, 2001 8:00 am
Location: England

RE: WitP Utility - what's next

Post by Roger Neilson »

WOW.............................

This could be the answer to my overheated brain cells - so I can basically note down what i want to do, with what and when and be able to retrieve it??????

Repeat - WOW[&o][&o][&o][&o][&o][&o][&o][&o][&o][&o][&o][&o][&o][&o][&o][&o][&o][&o][&o]

Roger
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitP Utility - what's next

Post by Nomad »

Is it ready yet? [:D]

Looks great, just what is needed( what should have shipped with WitP). [8D]
Post Reply

Return to “War In The Pacific - Struggle Against Japan 1941 - 1945”