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.
[12:30 am]
ClansAreForGays -- When you join a pub lobby because you see 7/8 players, but then realize host is bating you with computers. :flamer: :flamer:
[2024-10-30. : 11:48 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-10-30. : 6:24 pm]
Ultraviolet -- :wob:
[2024-10-29. : 4:33 pm]
Vrael -- :wob:
[2024-10-29. : 1:32 pm]
Zoan -- :wob:
[2024-10-28. : 5:21 pm]
Ultraviolet -- :wob:
[2024-10-27. : 4:34 pm]
jjf28 -- :wob:
[2024-10-27. : 9:01 am]
Zycorax -- :wob:
[2024-10-27. : 3:31 am]
RIVE -- :wob:
[2024-10-26. : 7:12 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: Roy, RIVE