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: 18 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: 2 Size: 34.97kb
WMode_Fix.dll
Hits: 2 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.



Memes gather, and now my watch begins. It shall not end until my death. I shall take no wife, hold no lands, father no children. I shall wear no crowns and win no glory. I shall live and die at my post. I am the sword in the darkness. I am the memer on the walls. I am the shield that guards the realms of memes. I pledge my life and honor to the Meme's Watch, for this meme and all the memes to come.

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.



None.

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



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



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:36 pm]
RdeRenato -- xd
[2020-1-19. : 12:17 am]
Doodan -- :sadwalk:
[2020-1-18. : 7:56 pm]
Wing Zero -- Dying outside is also an option
[2020-1-18. : 1:00 pm]
Moose -- Doodan
Doodan shouted: How will you survive at SEN if you don't play SEN Survivor??? http://www.staredit.net/topic/17954/
joke's on you, I'm already dead inside
[2020-1-18. : 8:41 am]
KrayZee -- Doodan
Doodan shouted: How will you survive at SEN if you don't play SEN Survivor??? http://www.staredit.net/topic/17954/
You don't!
[2020-1-18. : 3:35 am]
Doodan -- How will you survive at SEN if you don't play SEN Survivor??? http://www.staredit.net/topic/17954/
[2020-1-18. : 12:02 am]
lil-Inferno -- ya
[2020-1-17. : 10:07 pm]
jjf28 -- gambling's more an addiction than recreation
[2020-1-17. : 8:30 pm]
Roy -- I'd argue recreation isn't strictly a waste of time.
[2020-1-17. : 8:20 pm]
RdeRenato -- xd
Please log in to shout.


Members Online: Arta(M), Roy, Suicidal Insanity