Table of Contents
This is a launcher for Brick Hill designed for CrossOver or other Wine bottles.
Using this, the game is fully playable on Mac and Linux under Wine without needing a web browser.
The launcher is written in Rust and gtk-rs. This is actually the first project I have written in Rust, so the code might not be the neatest.
Before you continue, make sure CrossOver is installed on your Mac or Linux device.
- Go to the Brick Hill website and either log into or register your account.
- Go to the download page highlighted in the below photo.
- On the download page, download the legacy client.
- Open CrossOver, then go to Bottle -> New Bottle and name it something along the lines of "Brick Hill".
- Install the legacy client onto the newly created bottle.
- If you are on an Apple Silicon device and the installer quits immediately, you can open cmd on the bottle, put the path to the installer, and press enter.
- Go to the releases page and download the latest version's zip file.
- Extract the launcher to the virtual C drive of your bottle.
- Click Run Command and browse to "BrickHillCrossoverLauncher.exe", then click on "Save Command as a Launcher".
- Double click the launcher from the bottle's app list.
- When the launcher opens, click the "Launch Game" button to create the config file.
- Using a cookie editor (such as EditThisCookie), get and copy your entire Brick Hill session cookie.
- Do NOT share this cookie with anyone, as it can be used to access your account.
- Open the "config.json" file in the launcher's folder in your favorite text editor.
- Replace "INSERT_YOURS_HERE" with your copied cookie.
- Close the launcher.
- Find a game you want to play on the Brick Hill website and copy the URL.
- Double click the launcher from the bottle's app list.
- Paste (or manually enter) the link into the launcher and click "Launch Game".
- If successful, Brick Hill will open up. Have fun!
- Launch a Node-Hill server.
- Double click the launcher from the bottle's app list.
- Enter
localhost
into the launcher and click "Launch Game". - If successful, Brick Hill will open up into your local server. Happy developing!
You will need the following in order to build the launcher:
- A Windows VM or machine
- An install of MSYS2 with GTK4 and Rust.
- Clone this repository to an easy to remember folder.
- Open a MSYS2 MingW-w64 shell and cd into the project folder.
- Run
cargo b --release
to build the executable. - If you can't run the built program out of the gate, move the executable into a new folder and copy all of the .dll files found in msys2/mingw64/bin.
- Cleaning up the code.
- Figure out a better way to get the session cookie.
- Add localhost support (for node-hill development)
- Add a favorite games list feature.
See the open issues for a full list of proposed features (and known issues).
Any contributions you make are greatly appreciated.
If you have a suggestion that would improve this project, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star if you find this useful! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the BSD-3 License. See LICENSE.txt
for more information.
My Brick Hill username is ComradeNC; if you see me on a game, feel free to say hi!
If you want to add me on Discord, my username is @unity3d. Friending you back is not guaranteed however.
Project Link: https://github.com/ComradeNapCali/BrickHillCrossoverLauncher
- Mooshimity, for making Brick Hill itself.
- Rust, for being a beloved programming language.
- CodeWeavers, for making CrossOver, and supporting Wine development.