Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nobonobo/easportswrc
Telemetry Packer Encoder and Decoder for EA Sports™ WRC
https://github.com/nobonobo/easportswrc
Last synced: 22 days ago
JSON representation
Telemetry Packer Encoder and Decoder for EA Sports™ WRC
- Host: GitHub
- URL: https://github.com/nobonobo/easportswrc
- Owner: nobonobo
- Created: 2024-06-04T01:41:34.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-05T13:41:19.000Z (7 months ago)
- Last Synced: 2024-06-19T03:13:29.759Z (6 months ago)
- Language: Go
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# easportswrc
## environment var
`EASPORTSWRC_DOC_ROOT`:
WRC document root folder path
Default: `%USERPROFILE%\Documents\My Games\WRC`
## usage
```go
import "github.com/nobonobo/easportswrc/packet"func main() {
pkt := packet.New()
if err := pkt.UnmarshalBinary([]byte{...}); err != nil {
panic(err)
}
pkt.GameMode = 2
b, err := pkt.MarshalBinary()
if err := nil {
panic(err)
}
fmt.Printf("%x", b)
}
```