October 9th, 2010 Should work on both 32bit and 64bit versions of Windows (XP, Vista and 7) 3D icon file name is now displayed as a tooltip when you hover mouse over icon.

July 4th, 2008 JTCS Unit Viewer is patch 1.04 compliant

3D icon file name is now displayed as a tooltip when you hover mouse over icon.

There was some talks about unit viewer for Campaign Series. As PLTNDATA.HLP and WPNDATA.HLP files in current game are obsolete, its hard to find stats for all units. And in the game viewer (F2 key) is limited only to your side.

So I made Unit Viewer for John Tiller's Campaign Series. All data are read dynamically from game directory and they are always up to date.

Work with viewer ---------------- After start you se only one combo box, select game (EF, WF, or RS) - Change Path button allows you select different path if you have more than one version installed. Selected Path is stored and program use it next time Now you have another choice, you can select nation (list depends on platoonXX.obx files in game directory) If you pick a nation, list with all available platoons/units appear, now just click unit in the list and you will see all details about the unit. Additional you can see game counters with NATO symbol and Graphical icon , 3d graphic for unit (you can rotate unit, display base for better visibility and switch to alternative camo if available). Full description from unittext.txt is on screen and you can open weapons chart too. Movement and weapons sound can be played for each unit. Some values for units (different background color in table) are explained in tool tip if you hover your mouse over this value (Targeting, Indirect Fire, Digging, Carry/Tow, Unit Type) If you pick Weapons Chart, new window shows you chart for attack values against hard and soft target. Table with all values is displayed below the chart. You can assign up to four units for comparison with Compare/Remove button. If one or more units are selected then new tab appear and you will find comparison tables there. Additionally, you cna save this comparison to PDF file for future use. Selected game can be directly launched from the utility - press "Play Game" button

Issues ------ If you encounter any problem with JTCS Unitviewer, cotact me with description and I'll help you.

- no 3D graphic displayed for some units: corresponding bmp files are missing, report to Matrix Games - no unit picture available: corresponding picture files are missing, report to Matrix Games - no unit text displayed: corresponding entry in unittext.txt is missing, report to Matrix Games - 2D graphic not aligned: bitmaps in icons2d files are not centered in the grid, report to Matrix Games - not corresponding sound files: my fault , I'm not sure how exactly are data from obx files tied to weapon and movement sound files.

most units are assignes with weapn and movement sound 0 or 1 in obx files. for example there are several variations of 0weaponX.ogg and I'm not sure how those variations are tied to unit, so for all those unit I use 0weapon0.ogg

With sound files a unit with a sound file 1 assigned selects at random from the choices under 1Weapon .ogg files. If there are three ie. : 1Weapon0.ogg, 1Weapon1.ogg or 1Weapon2.ogg, it will run one of the three at random.

most units are assignes with weapn and movement sound 0 or 1 in obx files. for example there are several variations of 0weaponX.ogg and I'm not sure how those variations are tied to unit, so for all those unit I use 0weapon0.ogg

no worries...still a fantastic piece of software...

It's pretty cool to see all the new toys we'll get to play with some day...

did notice an error when opening United States for WF.....error on line 70 or something like that....

With sound files a unit with a sound file 1 assigned selects at random from the choices under 1Weapon .ogg files. If there are three ie. : 1Weapon0.ogg, 1Weapon1.ogg or 1Weapon2.ogg, it will run one of the three at random.

ok, so I use it right, except my viewer play always only first file for selected range (for example 1weapon0.ogg)

It's pretty cool to see all the new toys we'll get to play with some day...

did notice an error when opening United States for WF.....error on line 70 or something like that....

yes, there is an error in platoon10.obx file two spaces betwen end month and front armor values

it should be fixed in CS patch 1.03

I managed to fix this by removing the space and using the CS encryption utility to fix the .obx file. However, there also appears to be an error (platoo09.obx, line 64) in the the U.K. file. Again, this is nothing to do with the unit viewer utility but I can't fathom out what the problem is with this one.

1. In a platoon .oob how do the numbers for unit type relate to the game? That's the 21st number to the right or no. 33 in the above example.

2. How does the game know which picture to show for each unit? I'm talking about the small black and white photograph, of each unit, the one that appears in the bottom left of Arkadys unit viewer utility?

3. I read somewhere that there was a limit, at least initially, of 23 slots corresponding to a national army (national code 01 for Germany, 10 for the United States etc) Has this changed? as I can see there are thirty or so platoon##.oob's

With sound files a unit with a sound file 1 assigned selects at random from the choices under 1Weapon .ogg files. If there are three ie. : 1Weapon0.ogg, 1Weapon1.ogg or 1Weapon2.ogg, it will run one of the three at random.

ok, so I use it right, except my viewer play always only first file for selected range (for example 1weapon0.ogg)

F.Y.I. Arkady, most armour in the utility seem to be using the 1weapon#.ogg sound file. Acording to the Cs sounds.doc (found in the special directory of the West Front folder) this is the sound for an SMG. Should this perhaps be 10weapon#.ogg instead? Just a thought.

It's pretty cool to see all the new toys we'll get to play with some day...

did notice an error when opening United States for WF.....error on line 70 or something like that....

yes, there is an error in platoon10.obx file two spaces betwen end month and front armor values

it should be fixed in CS patch 1.03

I managed to fix this by removing the space and using the CS encryption utility to fix the .obx file. However, there also appears to be an error (platoo09.obx, line 64) in the the U.K. file. Again, this is nothing to do with the unit viewer utility but I can't fathom out what the problem is with this one.

2. How does the game know which picture to show for each unit? I'm talking about the small black and white photograph, of each unit, the one that appears in the bottom left of Arkadys unit viewer utility?

there is a Picture subdirectory for each game - unit number = unit picture

quote:

3. I read somewhere that there was a limit, at least initially, of 23 slots corresponding to a national army (national code 01 for Germany, 10 for the United States etc) Has this changed? as I can see there are thirty or so platoon##.oob's

With sound files a unit with a sound file 1 assigned selects at random from the choices under 1Weapon .ogg files. If there are three ie. : 1Weapon0.ogg, 1Weapon1.ogg or 1Weapon2.ogg, it will run one of the three at random.

ok, so I use it right, except my viewer play always only first file for selected range (for example 1weapon0.ogg)

F.Y.I. Arkady, most armour in the utility seem to be using the 1weapon#.ogg sound file. Acording to the Cs sounds.doc (found in the special directory of the West Front folder) this is the sound for an SMG. Should this perhaps be 10weapon#.ogg instead? Just a thought.

I'll probably make test, I'll left only one variation for each sound and I replace it with my own sound to exactly identify what is played, then I run game and I will see :)

I'm sorry, but I don't understand. This is due to my limitations, not due to any lack of clarity on your part. I can see others are following your instructions successfully.

I create a folder within JTCS? I download these files into that folder within JTCS, and I execute? I don't have to download it into a specific subfolder? Or I don't even have to create a folder? I can drop it directly into JTCS, the first and main folder from which all the subfolders flow?

I don't understand how you access the information. Do you access it with the F2 during the game? Can you access it during the game? Or do you access it on the initial screen that asks you which game you want to play, and, instead of going into a game, you hit a new button that takes you into your JTCS Unit Viewer? You effectively can't access it during the game itself?

I think there's another thread where you posted an example of the Unit Viewer and said you were going to working on the project. I'm impressed you got it done this quickly. There are a lot of units, and each unit has a lot of information.

Thank you in advance for your help, and thank you for creating the JTCS Unit Viewer.

WOW! Arkady, Many thanks for the excellent information. In the other post you mention, what do you mean by "West Front platoon09 - unit number P09232 - in obx file are wrong delimiters after fire cost and concealment values"

What are "delimiters"

1925frank - I don't think you need to create a new folder in the JTCS folder. You can run the unit viewer utility from anywhere (I run it from the desk top) It's seperate from the game itsself.

I'm sorry, but I don't understand. This is due to my limitations, not due to any lack of clarity on your part. I can see others are following your instructions successfully.

I create a folder within JTCS? I download these files into that folder within JTCS, and I execute? I don't have to download it into a specific subfolder? Or I don't even have to create a folder? I can drop it directly into JTCS, the first and main folder from which all the subfolders flow?

I don't understand how you access the information. Do you access it with the F2 during the game? Can you access it during the game? Or do you access it on the initial screen that asks you which game you want to play, and, instead of going into a game, you hit a new button that takes you into your JTCS Unit Viewer? You effectively can't access it during the game itself?

I think there's another thread where you posted an example of the Unit Viewer and said you were going to working on the project. I'm impressed you got it done this quickly. There are a lot of units, and each unit has a lot of information.

Thank you in advance for your help, and thank you for creating the JTCS Unit Viewer.

Frank;

This viewer reads the path to the files it needs through the Resistry of XP. Put it anywhere you want and run it. It will find what you need by itself. Hope that helps.

WOW! Arkady, Many thanks for the excellent information. In the other post you mention, what do you mean by "West Front platoon09 - unit number P09232 - in obx file are wrong delimiters after fire cost and concealment values"

What are "delimiters"

values are separated by spaces, I call them delimiters

It is probably my deformation as everything that separate data is delimiter to me (commas, spaces, tabs, semicolons etc. )