# Grim Dawn

Install `winetricks` and `wine-staging`

## Grim Dawn

Create individual bottle, enable `staging -> CSMT`:

```shell
env WINEARCH=win32 WINEPREFIX=${HOME}/.local/share/wine/grimdawn winecfg
```

Install requirements:

```shell
env WINEARCH=win32 WINEPREFIX=${HOME}/.local/share/wine/grimdawn winetricks \
    vcrun2010 vcrun2012 xact xinput d3dx9
```

Download Windows Installer and run:

```shell
env WINEARCH=win32 WINEPREFIX=${HOME}/.local/share/wine/grimdawn wine \
    ${HOME}/.local/share/wine/grimdawn/drive_c/users/john/Downloads/SteamSetup.exe
```

After installing, install Grim Dawn in steam. If errors occur with `steamwebui`, run `winecfg` and set ONLY steam to run in XP mode. If errors stull occur use `-no-cef-sandbox`.

Now grim dawn should start with:

```shell
env WINEDEBUG=-all WINEARCH=win32 WINEPREFIX=${HOME}/.local/share/wine/grimdawn wine \
    "${HOME}/.local/share/wine/grimdawn/drive_c/Program Files/Steam/steamapps/common/Grim Dawn/Grim Dawn.exe" -no-cef-sandbox
```

Create a desktop file in linux to start Grim Dawn.

```shell
nano "${HOME}/.local/share/applications/Grim Dawn.desktop"
```

```shell
[Desktop Entry]
Exec=env WINEDEBUG=-all WINEARCH=win32 WINEPREFIX=${HOME}/.local/share/wine/grimdawn wine "${HOME}/.local/share/wine/grimdawn/drive_c/Program Files/Steam/steamapps/common/Grim Dawn/Grim Dawn.exe" -no-cef-sandbox
GenericName=Dark fantasy ARPG with fast paced combat and massive exploration.
Icon=${HOME}/.local/share/wine/grimdawn/drive_c/Program Files/Steam/steam/games/889a02bbebe088f7bd4f011ae641732481b1b3d6.ico
Name=Grim Dawn
NoDisplay=false
Path[$e]=
StartupNotify=true
Terminal=0
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ramsdenj.com/introduction-1/introduction/grimdawn.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
