Staredit Network > Forums > Modding Assistance > Topic: Swapping campaign files
Swapping campaign files
Apr 18 2019, 12:10 pm
By: UEDCommander  

Apr 18 2019, 12:10 pm UEDCommander Post #1

Sic Semper Tyrannis

Im investigating replacement of vanilla/BW original campaign maps with custom ones. Obvious solution of exporting map as .chk from SCMDraft and importing it in correct path seems to lead only to map not launching, to the point where intro "green text" or loading screen doesn't even pop up. Can anybody provide insight on the correct process, and maybe point out some hardcoded limitations (excluding the ones with briefing interface)?




Apr 25 2019, 10:06 am IlyaSnopchenko Post #2

The Curious

Extract the .chk files and import them into the MPQ / SAMASE container under the correct path. Say...

Campaign\ExpZerg\Zerg01\Staredit\Scenario.chk

...replaces the first mission of the BW Zerg campaign. Sounds are to be imported under the Campaign\ExpZerg\Zerg01\Staredit\Wav\ virtual folder in this example. To replace the vanilla missions, you'd obviously skip the "Exp" prefix. But I'm not sure any of the BW assets work if placed in a vanilla map - say, the Stukov unit got deleted from the map when a tester accidentally played one of my maps under the vanilla game.

Campaign\ExpZerg\Bonus\Staredit\scenario.chk replaces the Brood War bonus mission.

In-game the missions can be invoked in any order through the use of "Set Next Scenario" action inside the map (but you cannot edit the number of missions in a campaign, this looks hardcoded). The format example is "Race##.scx" (say, "Zerg02.scx").

You will also need to edit both the pre-briefing splash screens and the campaign screen mission list - they are located under Rez\ virtual folder (or its locale-specific expy, in the case of the English version it'd be Locales\EnUS\Assets\Rez\). The splash screens are stored as EstR##X.txt (where R is race - P/T/Z, ## is the mission number, X is if the map is for Brood War, and add _HD suffix to the file name to denote a Remastered-specific version with interstitial videos and whatnot, if you're creating one). The mission list is GluHist.tbl / GluHist.xml for versions < 1.16 and > 1.18 respectively. All this shiznit is independent of each other, and mission name and description as set in StarEdit are ignored.

Yes it's all supposed to work because I've done this many times both now and in the early 00s. :)

Attachments:
winmpq_screenshot.JPG
Hits: 1 Size: 271.72kb

Post has been edited 2 time(s), last time on Apr 25 2019, 10:14 am by IlyaSnopchenko.



Trial and error... mostly error.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:19 am]
Linekat -- cool
[01:56 am]
Oh_Man -- cool bit of history, spellsword creator talking about the history of EUD ^
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[2024-4-19. : 1:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
Please log in to shout.


Members Online: IlyaSnopchenko