Bobbyclue / Console-Command-Runner-SF

An SFSE plugin for Starfield that can automatically run console commands
GNU General Public License v3.0
11 stars 9 forks source link

Console Command Runner SF

C++23 [Platform]() [Game version]() Test build

Setup

There are a few housekeeping tasks to do before you get started developing your plugin.

Automatic

A python script, project_setup.py, is provided which automates the steps in the section below (requires Python 3.12+)*. To run the script:

  1. Run cd .\CLibSFPluginTemplate\
  2. Run py .\project_setup.py
  3. Enter your project name (in CamelCase)

*NOTE: If you're using Python 3.11 or below, change onexc=onexc to onerror=onexc in lines 31 and 33 in project_setup.py

Manual

  1. Clone the repository
  2. Set the "name" and "version-semver" fields in vcpkg.json
  3. Update the "baseline" entries to the latest commits in both registries in vcpkg.json
    • Follow the links in the "repository" fields and copy-paste the hash of the latest commit in each repository
  4. Set the name and version of your plugin in CMakeLists.txt
  5. Change "AuthorName" in CMakeLists.txt to your name
  6. Set the name of contrib/Config/PluginName.ini to the name of your plugin
  7. Edit the ini.LoadFile() call in src/Settings.cpp to load the renamed ini from step 6

Building your project

Build configs

Dependencies