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.
[2021-7-29. : 6:54 pm]
RdeRenato -- xd
[2021-7-29. : 5:10 pm]
IlyaSnopchenko -- that, or they should've instead made the probes to fly somehow, so all the workers were equally capable :)
[2021-7-29. : 5:09 pm]
IlyaSnopchenko -- Maybe they'll get around to fix flying drones after they've fixed the flying SCVs
[2021-7-29. : 4:06 am]
Dem0n -- and hope they never touch it again
[2021-7-29. : 12:34 am]
Oh_Man -- Look every1 blizz updated SC without breaking everything. Let's give them a round of applause!
[2021-7-28. : 9:53 am]
NudeRaider -- MTiger156
MTiger156 shouted: The management is pure evil, yes. BUT there is still some good left in the employees. They are starting a massive on-site protest tomorrow (7/28), the number of participants is supposedly in the thousands. CHANGE WILL COME!
That's not what I meant. I can see internal company culture changing, but I have zero hopes that Blizzard will go back to caring about their customers. A good rep just isn't as profitable as milking. I would say once a company becomes a stock company they cannot be the humble good guys anymore they have a duty to make as much money as possible.
[2021-7-28. : 8:39 am]
NudeRaider -- Vrael
Vrael shouted: NudeRaider whoaoaoaoaoaoaoaoa what? is this just in germany? I'm sure the U.S. has some equally asinine rules too but
I'm only aware of Germany, but I would be very surprised if they didn't try this shit in other countries too. Disclaimer: I actually have no idea how responsibly that agency is using their right to veto. Maybe they do it fine but I don't trust them. They are supposed to regulate the market and keep net neutrality. But in the past they failed to prevent shit like Stream On. It's an option for phone flatrates where Youtube etc. are making contracts with Telekom that you can continue using it even if you used up all the GBs of your volume flatrate. And even if that agency does it properly, it's just not right they can do it without a court.
[2021-7-28. : 4:11 am]
O)FaRTy1billion[MM] -- Oh_Man
Oh_Man shouted: sweet jaysus... i remember attending the midnight launch at King George Square. Some dude dressed up as a pylon XD
"Some dude dressed up as a pylon" :megathink:
[2021-7-28. : 12:55 am]
Vrael -- NudeRaider
NudeRaider shouted: Oh_Man idd. I had switched a long time ago out of privacy concerns. Only by chance I realized that with that I also circumvented their website bans. I find that disgusting as well. I mean I have no problem with them banning sites when court decided they are illegal and police can't take them down because server is somewhere they have no jurisdiction at. But recently they went a step further. No court needed anymore. A collection of a few dozen copyright owners, the providers decided. And some federal agency can veto, but they most likely wave it all through. And nobody is talking about it. Private firms censoring the Internet. :( It's a shame. And yes, I'm not affected. Still mad.
whoaoaoaoaoaoaoaoa what? is this just in germany? I'm sure the U.S. has some equally asinine rules too but
Please log in to shout.


Members Online: DevanEdwards, Wing Zero, Roy, LillianlFarley