JTCS Unit Viewer
Moderators: Jason Petho, Peter Fisla, asiaticus, dogovich
JTCS Unit Viewer
! NEW !
UPDATE - 2.01.1
https://sites.google.com/site/jtcsunitviewer
March 9th 2014
- Added validation for wrong icon files
- Unit picture box (unit photo) supports larger images
- Tool version displayed as part of utility title bar
! NEW !
2.00.1
January 29th 2014
- Update to conform with new JTCS Patch 2.0
- Wider screen to allow display of ful unit name sin nation's unit list
- Icon index numbers displayed
1.04.3
November 7th 2011
- Indication of nation allegiance (Axis/Allies) upon selection
- Minor bug fixes
- Sound library upgrade
- Code enhancement for future upgrades
November 18th, 2013
Compatability tested - Windows 8 and Windows 8.1 (32 and 64 bits versions)
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.
Installation and usage is very simple, see below
Installation
------------
Step 1: Download - http://sites.google.com/site/jtcsunitviewer/
Step 2: Unzip archive to destination by your choice (three files in zip archive, keep them together)
Step 3: Run JTCS_UnitViewer.exe
Enjoy It!
Requirements
------------
- John Tiller's Campaign Series properly installed on your machine
- .NET Framework 2.0 or better (if you are not sure about this just run the viewer and if you receive error message you'll need download and install .NET Framework from Microsoft. It is free, size is 22.4 MB - http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5)
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.
I hope that someone find this utility useful
Arkady
UPDATE - 2.01.1
https://sites.google.com/site/jtcsunitviewer
March 9th 2014
- Added validation for wrong icon files
- Unit picture box (unit photo) supports larger images
- Tool version displayed as part of utility title bar
! NEW !
2.00.1
January 29th 2014
- Update to conform with new JTCS Patch 2.0
- Wider screen to allow display of ful unit name sin nation's unit list
- Icon index numbers displayed
1.04.3
November 7th 2011
- Indication of nation allegiance (Axis/Allies) upon selection
- Minor bug fixes
- Sound library upgrade
- Code enhancement for future upgrades
November 18th, 2013
Compatability tested - Windows 8 and Windows 8.1 (32 and 64 bits versions)
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.
Installation and usage is very simple, see below
Installation
------------
Step 1: Download - http://sites.google.com/site/jtcsunitviewer/
Step 2: Unzip archive to destination by your choice (three files in zip archive, keep them together)
Step 3: Run JTCS_UnitViewer.exe
Enjoy It!
Requirements
------------
- John Tiller's Campaign Series properly installed on your machine
- .NET Framework 2.0 or better (if you are not sure about this just run the viewer and if you receive error message you'll need download and install .NET Framework from Microsoft. It is free, size is 22.4 MB - http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5)
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.
I hope that someone find this utility useful
Arkady

RE: JTCS Unit Viewer
Arkady, This is a work of genius !!
-
- Posts: 1156
- Joined: Wed Apr 27, 2005 5:10 am
- Location: Los Osos, CA
RE: JTCS Unit Viewer
ORIGINAL: flying scotsman
Arkady, This is a work of genius !!
I'll second that!
However....
Movement and weapon sounds don't change.....[:(]
"If you want peace, prepare for war."
RE: JTCS Unit Viewer
Good job! The movements and weapons sounds work great here. Thank you very much! Now you need an About box so you can get proper credit. Back to Visual Studio you go... [&o] [:)] [;)]
-
- Posts: 19
- Joined: Thu May 31, 2001 8:00 am
- Location: Germany (bavaria)
RE: JTCS Unit Viewer
Wonderfull!!!
Thanks a lot!
Thanks a lot!
RE: JTCS Unit Viewer
most units are assignes with weapn and movement sound 0 or 1 in obx files.ORIGINAL: Juggalo
ORIGINAL: flying scotsman
Arkady, This is a work of genius !!
I'll second that!
However....
Movement and weapon sounds don't change.....[:(]
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

RE: JTCS Unit Viewer
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.
-
- Posts: 1156
- Joined: Wed Apr 27, 2005 5:10 am
- Location: Los Osos, CA
RE: JTCS Unit Viewer
no worries...still a fantastic piece of software...ORIGINAL: Arkady
most units are assignes with weapn and movement sound 0 or 1 in obx files.ORIGINAL: Juggalo
ORIGINAL: flying scotsman
Arkady, This is a work of genius !!
I'll second that!
However....
Movement and weapon sounds don't change.....[:(]
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
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....[&:]
"If you want peace, prepare for war."
RE: JTCS Unit Viewer
Ooh, it works like a charm. Cool [:D]
RE: JTCS Unit Viewer
yes, there is an error in platoon10.obx fileIt'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....[&:]
two spaces betwen end month and front armor values
it should be fixed in CS patch 1.03

RE: JTCS Unit Viewer
ok, so I use it right, except my viewer play always only first file for selected range (for example 1weapon0.ogg)ORIGINAL: asiaticus
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.

RE: JTCS Unit Viewer
ORIGINAL: Arkady
yes, there is an error in platoon10.obx fileIt'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....[&:]
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.
P09232 3 1 2 33 0 0 40 25 4 1 1 1 10 0 1 14 66 P09232 3 33 0 1 8 8 41 2 43 12 2 1 1 Loyd AT Carriers , AT Carriers ,
Also have a couple of quick questions if any one can help?
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
RE: JTCS Unit Viewer
ORIGINAL: Arkady
ok, so I use it right, except my viewer play always only first file for selected range (for example 1weapon0.ogg)ORIGINAL: asiaticus
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.
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.
RE: JTCS Unit Viewer
in oob is everything correct but in obx file there is an error, wrong encryptedORIGINAL: flying scotsman
ORIGINAL: Arkady
yes, there is an error in platoon10.obx fileIt'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....[&:]
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.
P09232 3 1 2 33 0 0 40 25 4 1 1 1 10 0 1 14 66 P09232 3 33 0 1 8 8 41 2 43 12 2 1 1 Loyd AT Carriers , AT Carriers ,
I already reported all found errors in obx in Support forum, first thread - tm.asp?m=1495862
IMO unit type is related to movement restriction and/or combat modifiersAlso have a couple of quick questions if any one can help?
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.
there is a Picture subdirectory for each game - unit number = unit picture2. 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?
currently 35 nationality slots
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

RE: JTCS Unit Viewer
ORIGINAL: flying scotsman
ORIGINAL: Arkady
ok, so I use it right, except my viewer play always only first file for selected range (for example 1weapon0.ogg)ORIGINAL: asiaticus
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.
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


RE: JTCS Unit Viewer
omg, I'm stupid [:'(]
everything is ok, I read all data correctly but finally for weapon sound I assigned number of movement sound instead (copy and paste can speed your coding but you need check variables later [8D] )
Update ready
download again from http://arkady.cz/utilities/JTCS_Unitviewer.zip
unpack and replace your old files
I apologize
everything is ok, I read all data correctly but finally for weapon sound I assigned number of movement sound instead (copy and paste can speed your coding but you need check variables later [8D] )
Update ready
download again from http://arkady.cz/utilities/JTCS_Unitviewer.zip
unpack and replace your old files
I apologize


RE: JTCS Unit Viewer
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.
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.
RE: 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.
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.
RE: JTCS Unit Viewer
ORIGINAL: 1925frank
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. [:)]
- Jason Petho
- Posts: 17489
- Joined: Tue Jun 22, 2004 10:31 am
- Location: Terrace, BC, Canada
- Contact:
RE: JTCS Unit Viewer
ORIGINAL: LarryP
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. [:)]
I wonder how that works for multiple installs?
Jason Petho