Homeworld 2 Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

Multiple Run Options

Ok, This might sound picky, but hell...

I am one of those awkward people who would like the option to be able to run the game in a window, OR in Fullscreen.
So with all my other Crossover Games, i managed to create a secondary shortcut to each game with an argument to allow it to run in a window, (e.g. -windowed, or -w)
However for Homeworld 2, when running in a window, there is no window border, so it is stuck in the top-left corner of the screen.

I found a workaround for this by enabling the Emulate a Virtual Desktop, which works perfectly.. However, Then the Fullscreen shortcut then also runs in a window.
I tried copying the EXE file and setting up Per-Application settings, but Crossover seems to ignore them and just use the default settings for every app.

Finally, I found what appeared to be my answer, running this: (obviously changing out the text where appropriate)

explorer /desktop=TitlebarName,1024x768 "/path/to/your/game.exe"

However i would get this in response:

"Unable to run Homeworld2, Administrative access to this folder is required."

and im completely stumped. If I run the explorer command to create a Virtual Desktop, and run Explorer INSIDE that, browse to the game and run it, It works...
If i run the game without the explorer application, it works... but when i try to run it like that it wont.

Can you shed any light on this?

The method I used to resolve the issue:

Created a second bottle called HW2-Windowed,

Went into "/Users/myuser/Library/Application\ Support/CrossOver\ Games/Bottles/HW2-Windowed" and deleted the 'drive_c' folder, then created a Symlink of the 'drive_c' folder from the previous Homeworld 2 bottle i'd made and placed it where the one i'd just deleted is...

Then just configured this bottle to run with a virtual desktop,

opened the Run program dialog and configured the game to use a custom resolution the size of the desktop window and saved it to the program menu.

[EDIT]
I did also find that for Crossover to remember the different resolution settings (e.g. homeworld2.exe -w 1680 -h 1050), i had to copy the homeworld2 exe and name it something like homeworld2win.exe and specify the parameters with each seperately.. e.g.


"homeworld2.exe -w 1680 -h 1050"        -> Homeworld 2 Bottle
"homeworld2win.exe -w 1280 -h 800"      -> HW2-Win Bottle
``` otherwise crossover seemed to forget what resolution i wanted it to be run at for each...

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM2MzczNjgxLCJjc3JmX3Rva2VuIjoibjg5Y3Eya3drY0FrSDJDcSIsImdkcHIiOjB9