Staredit Network > Forums > Modding Discussion > Topic: Play any mod in windowed mode
Play any mod in windowed mode
Jul 9 2017, 7:41 pm
By: Neiv  

Jul 9 2017, 7:41 pm Neiv Post #1



I was wondering how difficult would it be to create a tool that launches mods in windowed mode even when the mod didn't originally support it. Turns out that it wasn't that bad =)

How to use
Drag and drop a mod .exe to chainwmode.exe. It should work with any kind of mod loader, or anything that launches starcraft. But to be fair, I didn't bother testing Memgraft/Stargraft/Stardraft mods. Alternatively you can run it from command line like 'chainwmode.exe "C:\mods\cool mod.exe"'

Attachments:
chainwmode.exe
Hits: 35 Size: 960.5kb

Post has been edited 1 time(s), last time on Jul 18 2017, 3:12 am by Neiv.



None.

Jul 9 2017, 7:46 pm Pr0nogo Post #2



Good stuff. This will help make older mods playable. Thanks for the tool!

edit: if you have issues getting it to work, make sure you have wmode.dll and wmode_fix.dll in your starcraft 1.16.1 directory. I've attached them here.

Attachments:
WMode.dll
Hits: 11 Size: 34.97kb
WMode_Fix.dll
Hits: 8 Size: 26kb

Post has been edited 1 time(s), last time on Jul 17 2019, 8:41 am by Pr0nogo.




Jul 10 2017, 2:13 am Corbo Post #3

ALL PRAISE YOUR SUPREME LORD CORBO

This is an amazing addition. Thank you very much!



fuck you all

Jul 10 2017, 2:15 am Black_Overseer Post #4



Great work!




Jul 10 2017, 2:45 am Pr0nogo Post #5





:bang:

(Wanted to see if it would force w-mode exes to w-mode even if you hit no. It does!)




Jul 15 2017, 3:04 am Dem0n Post #6

ᕕ( ᐛ )ᕗ

Not sure if it's an issue with the program or something I'm doing wrong, but this only worked once. Every time I try it now, the console shows up for a split second and then goes away, and nothing happens. Tried re-downloading but still getting the same results.




Jul 18 2017, 3:18 am Neiv Post #7



It definitely should work more than once.. The one possiblity that is not a bug in the program is that the first starcraft process was still running when you tried again.

Anyways, if you still have the problem, I updated the exe to be a bit better at reporting errors. Though due to technical reasons, some errors don't appear in the console window but get logged to a file in directory "%TEMP%\chainwmode_0" instead.



None.

Dec 17 2019, 9:07 pm UndeadStar Post #8



I was wondering if it would work the way I expected, and it did! :)
Modifying the Starcraft shortcut by adding the full path of chainwmode.exe before the full path of starcraft.exe (without a mod) do work.

I had added "" around the 2 paths initially, but Windows 10 removed them...maybe it's safer to still try to put them, it is more likely to fix things than break them.




Jan 8 2020, 9:19 am UndeadStar Post #9



Is there a way (command line parameter?) to start directly in 2x size?




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:24 pm]
Vrael -- CUT IT OUT
[05:24 pm]
Vrael -- HEY STOP BEING NICE
[05:01 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: actually I am mad after all, looks like you're gonna have to follow through
didn't I by posting the note?
[04:59 pm]
Ultraviolet -- actually I am mad after all, looks like you're gonna have to follow through
[04:59 pm]
Ultraviolet -- :lol:
[04:46 pm]
NudeRaider -- damn, and here I was prepared and got chatgpt to rephrase it a bunch of times for more people to join the bandwagon. :D https://anotepad.com/notes/7fk84xef
[04:33 pm]
Ultraviolet -- lol it's fine, I was just being sassy :P
[03:19 pm]
Vrael -- maybe my browser window didnt update or something funky
[03:19 pm]
Vrael -- lol sry UV, I must not have read that? I couldve sworn I was the next person to say something after CAFG but clearly based on timestamps I was 4 hours later
[03:18 pm]
Vrael -- :teach:
Please log in to shout.


Members Online: Zincoshine