Skip to content

Commit

Permalink
Update Migration.md (CnCNet#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
Crimsonum authored and SadPencil committed Oct 4, 2024
1 parent 779d508 commit 3df3cb3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Docs/Migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Migrating from older versions

- Updater DLL filename has been changed from `DTAUpdater.dll` to `ClientUpdater.dll` and second-stage updater from `clientupdt.dat` to `SecondStageUpdater.dll` for .NET 8 / `SecondStageUpdater.exe` for .NET 4.8 and has been moved from base folder to `Resources\Updater`.

- **Note:** If you want end-users to be able to update via the old client, it is necessary to preserve a copy of the old second-stage updater (`clientupdt.dat`) in the client base directory. In other words, *don't* modify or delete `clientupdt.dat` with either of the [update server scripts](https://github.com/CnCNet/xna-cncnet-client/blob/develop/Docs/Updater.md).

- Second-stage updater is now maintained as a separate project. Download the latest release [here](https://github.com/CnCNet/cncnet-client-updater/releases) (select `SecondStageUpdater-<version_number>.zip`), and extract its contents to the client's `Resources\Updater` folder.

- To support launching the game on Linux the file defined as `UnixGameExecutableName` (defaults to `wine-dta.sh`) in `ClientDefinitions.ini` must be set up correctly. E.g. for launching a game with wine the file could contain `wine gamemd-spawn.exe $*` where `gamemd-spawn.exe` is replaced with the game executable. Note that users might need to execute `chmod u+x wine-dta.sh` once to allow it to be launched.
Expand Down

0 comments on commit 3df3cb3

Please sign in to comment.