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



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)?



Humanity first. No matter the cost.

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.



Who am I, and why should I care?

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:39 pm]
Corbo -- I wouldn't go to say it's unbelieveable but silly it definitely is
[11:39 pm]
Corbo -- but yes, the plot is silly
[11:38 pm]
Corbo -- don't hate
[11:38 pm]
Corbo -- Salazar was great
[11:25 pm]
KrayZee -- The President of the United States only sending only 1 man equipped with a pistol to rescue his daughter? Then Leon has to deal with midget Napoleon, how can you take that seriously? :P
[11:23 pm]
KrayZee -- The plot in Resident Evil 4? It's just too silly.
[11:07 pm]
Corbo -- You don't find that believeable?
[07:38 pm]
Wing Zero -- I played 6 for a bit but wasn't too happy with it. Haven't played another one since then though.
[2019-12-14. : 8:18 am]
KrayZee -- If Resident Evil 4 is getting a remake, they better make the plot believable. Like actually send an entire team to rescue the President's daughter but the team was ambushed and all equipment were lost. Leon is the only survivor and only kept a handgun. Later he would hitchhike and get picked up. He then asked to be dropped off the nearest town.
[2019-12-14. : 4:01 am]
RIVE -- The significance is lessened by the probability of future RE titles ignoring either conclusion in favor of a rewrite anyway.
Please log in to shout.


Members Online: Roy, bghty1, Liuaq30