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.
[04:28 pm]
Ultraviolet -- yeah I don't disagree
[01:19 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: :megathink: nice
I just wish those were actual pixel graphics, and not so blurry. They just don't fit in.
[01:16 pm]
NudeRaider -- Roy
Roy shouted: Moose is one of the most veteran members of the site that I can think of: if he isn't doing well, that's a premonition of the site as a whole. Moose, as a community, what can we do to improve your disposition? Please keep in mind the fate of the administration, moderation, and general outlook of the site is reliant on this answer.
Moose even brought Roybot back!
[09:18 am]
Zycorax -- :O
[03:46 am]
Ultraviolet -- I knew big changes were coming this year :doubt:
[03:45 am]
Ultraviolet -- :megathink: nice
[01:52 am]
Moose -- :lolxd:
[01:43 am]
lil-Inferno -- :lolxd:
[01:42 am]
lil-Inferno -- :megaya:
[12:36 am]
Moose -- :wacko:
Please log in to shout.


Members Online: lil-Inferno, BarleyOats, Roy