sc-keybind-extract

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: MIT Imports: 7 Imported by: 0

README

sc-keybind-extract

Simple tool to extract all Star Citizen keybinds to a CVS file

Usage

Before You start

  • download and install unp4k utils written by Peter Dolkens from https://github.com/dolkensp/unp4k
  • locate game data file Data.p4k
    you can find the complete file location in the Star Citizen Laucher menu
    Settings -> Games -> Star Citizen - LIVE

Extract and prepare data

Lets assume what the game data located at C:\Program Files\Star Citizen\LIVE

unp4k.exe C:\Program Files\Star Citizen\LIVE\Data.p4k *.ini
unp4k.exe C:\Program Files\Star Citizen\LIVE\Data.p4k *.xml

That will create folders Data and Engine in the current directory.

Now we have to unpack compressed xml data.

unforge.exe Data\Libs\Config\defaultProfile.xml
unforge.exe Data\Libs\Config\keybinding_localization.xml 

Build CSV export for keybinding

sc-keybind-extract --profile Data\Libs\Config\defaultProfile.xml --localization Data\Localization\english\global.ini > kbd.csv

ENJOY!

Install

Build from scratch (go version 1.22 or more required)

go install -v github.com/GlebYaltchik/sc-keybind-extract@latest 

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
kbd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL