Skip to content

Release as English single player campaign #157

@tdauth

Description

@tdauth

Create one English single player campaign but keep the German translations in the scripts and German voice recordings. This will simplify the whole release and install process but remove the multiplayer.
See also https://us.forums.blizzard.com/en/warcraft3/t/1-31-mod-folder/6490
At the moment there is no support for the "War3Mod.mpq" folder anymore. Warcraft Reforged might get the feature of mod files again.
We cannot even use our custom tilesets or soundsets at the moment when opening the World Editor.

Advantages:

  • Single campaign object data which might be overwritten by certain maps.
  • No translations of object data from German to English per map.
  • No War3Mod.mpq folder/mod installer.
  • The World Map can always be used.
  • Imported resources are available in the World Editor (campaign).
  • Multiplayer bugs are not that important anymore.
  • Drop the Arena map.
  • Drop all the release Batch scripts.
  • The whole release process gets much simpler.

Disadvantages:

  • No multiplayer support.
  • Trigger data support has to be used with "Allow Local Files" in the registry.
  • Custom unit soundset support?
  • No optimization of the maps.

However, leave the code as it is so it would be possible to play the modification in multiplayer.

Required steps:

  • Create a git branch for the release. See branch "campaign".
  • DONE: Import Talras object data into the English campaign.
  • DONE: Add all maps into the campaign.
  • Remove the custom object data of all the maps except necessary one which is not shared with the other maps.
  • DONE: Drop the Arena map.
  • Import all archive/... resources into the campaign. Check if custom soundsets etc. do still work. Maybe we can write a tool for this. Manual imports seem rather complicated.
    I've asked on HiveWorkshop: https://www.hiveworkshop.com/threads/import-a-folder-into-a-custom-campaign.319349/
    Writing the manual tool requires the usage of StormLib to modify the campaign file.
    The specification of the import file format is:
++
"war3map.imp" The
imported file list++
Header:
int: file format version
int: number "n" of imported files
Data:
1byte: tells if the path is complete or needs "war3mapImported\" (5 or 8=
standard path, 10 or 13: custom path) (thx PitzerMike)
String["n"]: the path inside the w3m of each imported file (like
"war3mapImported\mysound.wav")
Note: Any file added in the W3M and added in the .imp will NOT be removed by the World Editor each time you save your map.
This file can also be found in Warcraft campaign files with the name
war3campaign.imp with the only difference that the standard path for
imported files is "war3campaignImported\".

The tool has to open the campaign file, add the imported files and modify the war3campaign.imp file.

  • Translate the object data and map descriptions into English (use existing translations for Talras). We use the English language by default now.
  • DONE: Drop all the release scripts etc.
  • DONE: Write into the documentation how the custom trigger data can be enabled using "Allow Local Files" in the registry. Custom trigger data is necessary for maps such as "The North".

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions