Staredit Network > Forums > SC1 Mapping Tools > Topic: Tool to launch Starcraft with a map from command line
Tool to launch Starcraft with a map from command line
May 11 2019, 4:56 pm
By: sethmachine  

May 11 2019, 4:56 pm sethmachine Post #1



Hi,

I am looking for a way to launch Starcraft with a path to a .scm/.scx file, so that Starcraft will just load up this file and play it immediately rather than going through the start screen or map selection menu, etc.

E.g. something like: "$ starcraft.exe --map Hunters.scm --windowed=True" would launch a Starcraft process that immediately plays the Hunters.scm map in windowed mode.

This exists for Warcraft 3, so there's a good chance it's possible with Starcraft.

See this example for Warcraft 3: https://github.com/sethmachine/pyw3x/blob/master/pyw3x/wc3_runner.py

Warcraft 3 executable actually accepts CLI arguments (so no modded executable) and loads a map using the -loadfile parameter.



None.

May 12 2019, 11:02 pm O)FaRTy1billion[MM] Post #2

👻 👾 👽 💪

I don't know if loading a specific map is fully functional yet, but this may be useful:
http://www.staredit.net/topic/16489/



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

May 13 2019, 12:31 am jjf28 Post #3

Cartography Artisan

I never wrote the run map portion; I have 1.16.1 code to launch StarCraft, run a map, then kill the program entirely and repeat... but I never mapped out hiscore/create game screens and such.

I could write some code to terminate StarCraft if running and run a map automatically from there in a few hours, if that sounds useful to you.



TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: lil-Inferno, Vrael, Roy