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: 22 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: 3 Size: 34.97kb
WMode_Fix.dll
Hits: 3 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.
[2020-10-19. : 7:29 am]
C(a)HeK -- sraw531
sraw531 shouted: GGmano just fyi, might be a good idea in the future to link to the thread in the shoutbox when you reference a new thread
here it is - http://www.staredit.net/topic/18132/unread/#special
[2020-10-19. : 7:19 am]
sraw531 -- GGmano
GGmano shouted: i made a topic about it if anyone knows something about this please check the topic
just fyi, might be a good idea in the future to link to the thread in the shoutbox when you reference a new thread
[2020-10-19. : 4:46 am]
C(a)HeK -- SiberianTiger
SiberianTiger shouted: C(a)HeK yes correct it is a multiplayer map
Unfortunately, I don't have free time for multiplayer
[2020-10-18. : 10:06 pm]
SiberianTiger -- C(a)HeK
C(a)HeK shouted: GGmano I answered you as best I could
yes correct it is a multiplayer map
[2020-10-18. : 9:12 pm]
GGmano -- thanks c(a)hek
[2020-10-18. : 9:05 pm]
lil-Inferno -- mad AF
[2020-10-18. : 8:57 pm]
*KrayZee angrily uses a pen and fills in the circle for Joe Biden*
[2020-10-18. : 4:59 pm]
C(a)HeK -- GGmano
GGmano shouted: i made a topic about it if anyone knows something about this please check the topic
I answered you as best I could
[2020-10-18. : 2:01 pm]
GGmano -- i made a topic about it if anyone knows something about this please check the topic
[2020-10-18. : 2:00 pm]
GGmano -- hi all does anyone knows what difference save files does??
Please log in to shout.


Members Online: Voyager7456, Roy, jun3hong