Giter Site home page Giter Site logo

hk4e-emu's Introduction

hk4e-emu

HK4E Emulators

Build binaries

Quick start

Setup your golang environment, then run the following commands to build binaries.

$ mkdir -p $GOPATH/src/github.com/teyvat-helper
$ cd $GOPATH/src/github.com/teyvat-helper
$ git clone https://github.com/teyvat-helper/hk4e-emu.git
$ cd hk4e-emu
$ go build -trimpath -ldflags "-s -w" -o bin/client cmd/client/main.go
$ go build -trimpath -ldflags "-s -w" -o bin/server cmd/server/main.go
# the binaries are in bin/ directory.

Alternatively, use the go work command to replace hk4e-proto module with your own version.

$ mkdir -p $GOPATH/src/github.com/teyvat-helper
$ cd $GOPATH/src/github.com/teyvat-helper
$ git clone https://github.com/teyvat-helper/hk4e-emu.git
# Place your hk4e-proto directory in the same directory as hk4e-emu.
$ go work init
$ go work use hk4e-emu
$ go work use hk4e-proto
$ cd hk4e-emu
$ go build -trimpath -ldflags "-s -w" -o bin/client cmd/client/main.go
$ go build -trimpath -ldflags "-s -w" -o bin/server cmd/server/main.go
# the binaries are in bin/ directory, with your hk4e-proto.

Note: The go work command is only available in Go 1.17 or later.

Warning

This project has successfully implemented login functionality on PC, where it receives valid JSON data responses. After initial adaptation, it has also passed login testing on the Android platform without encountering any login-related bugs so far. However, it has not been tested on PS4, PS5, or iOS, so it is unknown whether it can successfully implement login functionality on those platforms.

Action artifacts(Please note that these ready-made binary files have returned a 404 error.)

Choose one of the artifacts from the nightly.link for GitHub:

Platform Arch Artifact
macOS Intel Chip darwin/amd64 hke4-emu_darwin_amd64.zip
macOS Apple Silicon darwin/arm64 hke4-emu_darwin_arm64.zip
Linux 32 bit linux/386 hke4-emu_linux_386.zip
Linux 64 bit linux/amd64 hke4-emu_linux_amd64.zip
Linux ARM linux/arm hke4-emu_linux_arm.zip
Linux ARM 64 linux/arm64 hke4-emu_linux_arm64.zip
Windows 32 bit windows/386 hke4-emu_windows_386.zip
Windows 64 bit windows/amd64 hke4-emu_windows_amd64.zip
Windows ARM windows/arm hke4-emu_windows_arm.zip
Windows ARM 64 windows/arm64 hke4-emu_windows_arm64.zip

Configuration

License

Apache License 2.0

Copyright 2022 Teyvat Helper Team and contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

hk4e-emu's People

Contributors

acgkiss avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

heyang1743

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.