Coder Social home page Coder Social logo

lemonpaka / snowbreaklauncher-dotnet-chinamainland Goto Github PK

View Code? Open in Web Editor NEW

This project forked from leayal/snowbreaklauncher-dotnet

3.0 0.0 0.0 621 KB

A custom launcher for 'SnowBreak: Containment Zone' game ChinaMainland Ver, written in C# of .NET8

License: MIT License

Shell 0.49% C# 98.38% Batchfile 1.14%

snowbreaklauncher-dotnet-chinamainland's Introduction

SnowBreakLauncher-Dotnet

A custom launcher for SnowBreak: Containment Zone, written in C# of .NET8.

Notes

  • Currently, this is a hobby project: The launcher can check for game's update, install game client, update the game client and start the game. I can only maintain it in free time and I'll prioritize bug-fixing over feature-adding.
  • The launcher has no self-update function. In order to update the launcher, you will need to re-download the launcher by yourself and overwrite the old files.
  • Regarding playing on Linux OSs: tl;dr: Play at your own risk. While this launcher supports downloading and launching the game on Linux-based platforms, the game itself is not designed to support Linux natively. Playing the game via third-party emulations or translation layers (such as Wine or Proton) has risks of banning (as the emulators/layers may cause false-positive detect from the game's anti-cheat).

Usage:

You can download the binaries and use it in Release page

Or you can build the whole thing from source:

  • Requirements:
  • After installing the SDK, you can compile by running one of the build script files (if you're building it for personal use, I recommend building dependent one):
    • build-rel-win-standalone.bat file: For 64-bit Windows OSs, the binaries will be portably standalone and requires no dependencies to run.
    • build-rel-win-dependent.bat file: For 64-bit Windows OSs, the binaries will be portable but requiring .NET Runtime installed on the user's system to run.
    • crossbuild-rel-linux-standalone.bat file: For 64-bit Windows OSs, the binaries will be portably standalone which is for running on Linux OSs. In the nutshell, this is Building it on Windows, running it on Linux.
    • crossbuild-rel-linux-dependant.bat file: For 64-bit Windows OSs, the binaries will be portable but requiring .NET Runtime installed on the user's system to run.
    • build-rel-linux-standalone.sh file: For 64-bit Linux OSs, the binaries will be portably standalone and requires no dependencies to run. This is recommended if you are to distribute your binaries to other users.
    • build-rel-linux-dependent.sh file: For 64-bit Linux OSs, the binaries will be portable but requiring .NET Runtime installed on the user's system to run.
  • After the build is completed successfully, all the compiled binaries can be found in release directory.

Why are there multiple build script files:

  • Scripts with standalone in the name was meant to build binaries which you can give to others.
  • Scripts with build was meant to implies the script "should" produce the same kernel-targeting binaries as the OS invoked the script. Crossbuild means the opposite, produce different kernel-targeting binaries from the OS invoked the script.
  • Scripts with rel means building release binaries (meant to be distributed). rel-<OS> means release to be run on the target OS, for instance, rel-linux means binaries are for running on Linux-based OSs.

The .NET SDK includes all runtimes so you don't need to install .NET Runtime if you already have the SDK installed.

Development

As of writing this, I'm using Visual Studio 2022 IDE with. However, you can use any IDEs you like as long as it can deal with .NET C#.

Third-party libraries

  • CsWin32: A source code generator which generates Windows platform's P/Invoke functions "easily" (as sometimes you have to deal with pointers, aliased types and their haywires).
  • Avalonia: A cross-platform UI framework.
  • MessageBox.Avalonia: MessageBox for Avalonia.

snowbreaklauncher-dotnet-chinamainland's People

Contributors

leayal avatar lemonpaka avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.