Here's a rough V1 RELEASE.
https://archive.org/download/AltWars...V1_Release.zip
I had to upload it to my Internet Archive Test Location because it wouldn't let me attach it to this post, despite ZIP being a supported file format.
=======================
BIG NOTE
=======================
I have to halt development of this until the 7 April; so don't expect any support from me or posts, due to personal commitments.
=======================
Here's the readme runthrough:
===========
Guide:
Here is the order you run things in:
================================================== =====
0_SPCONVERT_MAP_v3.html
this converts/dumps SP1/SP2 maps; as well as dumps the scenario in question into your /DOWNLOADS directory.
To use, you can load either individual SP1/SP2 DAT files, or load them from a ZIP pack (i.e. from the following Hapschott compilations):
https://generalstaff.org/Games/SP/Hapshott_sp1_scen.zip
https://generalstaff.org/Games/SP/Hapshott_sp2_scen.zip
It will automatically detect the format of the DAT file:
SP1, SP2 Uncompressed, or SP2 Compressed.
You select the Output Filename Number, then click on:
CONVERT & DOWNLOAD
Button
Your web browser may ask you if you want to allow/download multiple files. Say yes.
Inside your /DOWNLOADS directory will be:
spmap998.dat (or whatever # you chose)
Original Scenario DAT
Original Scenario CMT (if present)
Original Scenario TXT (if present)
================================================== =====
Place our new map (spmap998.dat or whatever # you chose) into the MAPS folder of either SPWW2 or SPMBT and open the game in question.
Select EDITOR.
Select CUSTOM MAP
Load the map that we just "downloaded" with 0_SPCONVERT_MAP_v3.html
Save the scenario (don't touch anything else) as an appropriate number, something like scenario 999 or whatever.
================================================== =====
Now we got to dump the original SP1/SP2 scenario information.
Load up
1_SP_READER_v16.htm
and within it, load the DAT file in question (either by clicking on the screen or dragging a DAT file onto the browser window).
A successful load will show you a lot of information like:
Filetype:
SP1
SP2 Uncompressed
SP2 Compressed
Location, date, battle type, etc etc etc etc.
In the upper right corner there will be a button labelled
"⬇ DUMP JSON"
Hit that.
Do "Allow multiple files download" again.
In /DOWNLOADS you'll find:
[name].JSON
[name]_OOB.txt
The JSON file has all the useful data (so far) from the scenario extracted into a format that can be read by other programs; and the _OOB.txt file has useful stuff like:
Quote:
────────────────┠€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â ”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
SIDE A / P1 — USA
────────────────┠€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â ”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
Formation A (4 units) (US Hmv Tac Cp/3, US HMV Tac Cp/4, US M2 HQ/Trp F, US M2 TAC CP/2)
Formation B (3 units) (3x M551 Sheridan)
Formation C (3 units) (3x M966 TOW HMMWV)
Formation D (4 units) (4x M3A1 Bradley)
Formation E (4 units) (4x M3A1 Bradley)
Formation F (4 units) (4x M3A1 Bradley)
Formation G (2 units) (2x M2A1 Bradley)
TOTAL: 24 units in 7 formations
|
As well as giving you a warning if one side is totally entrenched (to remind you to entrench in the scenario editor).
====================================
Now we need to import that data into our blank SPWW2/SPMBT scenario.
Load 2_SP_EDITOR_SPCAMO_v48.htm
and load the blank scenario you created with the custom map in SPWW2/SPMBT.
You'll see a lot of information, but the things that really concern us are the multiple buttons below "Import SP1 / SP2"
IMPORT SCENARIO PARAMETERS (JSON)
IMPORT VICTORY LOCATIONS (JSON)
IMPORT UNITS / LEADERS (JSON)
IMPORT ENTRENCHMENT (JSON)
Click on each one in turn, and select the JSON dump that we made earlier in your DOWNLOADS directory; this will pull the data from the JSON and put it into the scenario.
Yes, I know it's tiresome clicking/loading each set of parameters one by one, but this approach let me "modularize" loading each individual section of the scenario dump into a SPCAMO game file; so I could work on one thing at a time.
The IMPORT UNITS / LEADERS (JSON) one will bring up a pop up menu with suggestions for which SPCAMO unit to select for a converted unit -- I dumped the databases for SPWW2 and SPMBT into
SPCAMO_UnitsMBT.js
SPCAMO_Icons_MBT.js
SPCAMO_UnitsWW2.js
SPCAMO_Icons_WW2.js
Unfortunately, I don't have the time at the moment to work up a COMPLETE translation list -- the translations are contained in:
SPCAMO_UnitImport_Names.js
This early version will have to do (for now) as a "proof of concept", but I do have most of Germany in SP1 set up for automatic translations, as well as I think the SP1 Russians.
Once all of the JSONs have been imported; click on the
"⬇ DOWNLOAD"
button in the upper right corner.
Your modified .DAT will be in your DOWNLOADS directory. Load it in SPWW2 or SPMBT and play away.
====================================
KNOWN ISSUES:
Entrenchments (sandbags or foxholes) aren't automatically done. You'll have to remember to load it up in the scenario editor and hit the ENTRENCHMENT button for that side.
====================================
EXTRAS/TOOLS:
====================================
0_OBAT_String_Dumper_v6.html -- this extracts text strings from OBATs into a form that is usable in SPCAMO_UnitImport_Names.js -- designed to help future development.