About
This is a template for creating your own X4 extensions.
It contains an install command that will attempt to install to default steam directory on the C drive.
It also contains a publish and update command for steam workshop that requires X Tools to be installed from steam. Can be found for install under Library ---> Tools in steam. Assumes it is installed in the default steam install location on the C drive.
It also contains a CC0 license file. This will put the extension into the public domain and allow anyone else to use it in any manner they wish. If you think this is to permissive change the license file to something else, possible like MIT.
Preparation
Install X Tools if you haven't already. You can install this via steam under Library ----> Tools.
Install git for windows https://git-scm.com/download/win if you haven't already
Sign up for github if you don't already have an account.
Set up SSH keys for github. A guide I used is (https://vladmihalcea.com/tutorials/git/ ... to-github/)
To Use
Clone down this repo.
Run the init.cmd with the argument being the name of the ext all lower case with no spaces.
It will create a folder as a sibling folder to the cloned repo and switch you to the new directory.
In the git command window run ```git init .``` to init your new git repo.
Add the files you want to add and commit them.
Create a free public repo on github and follow instruction to push your local repo to the remote on github.
Purpose Of The Commands
To install into your local X4 run the install.cmd.
To publish to steam workshop run the publish.cmd with the first argument being the preview image.
To update on steam workshop run the update.cmd with the first argument being the change text.
Why Host The Source on Github?
It is free to host a public repo on Github and the repo will never expire or be purged. You can not only host the raw files for the extension in the repo, but you can also host the release as an actually release file also.
Github also has an industry leading system for managing issues and pull requests which encourages issue reporting and collaboration.
Why do you suggest a CC0 Licence?
No modder owns X4. For instance no modder owns the idea that bombers in X4 are missing something. Just because I published a mod that attempts to fix bombers doesn't mean that I own that issue, or hold dominion.
In this spirit I personally attach a CC0 licence to all my mods so that everyone else in the community can use and build upon any mod I release. If someone else comes along and figures out a better way to improve bombers using my mod as a starting point with CC0 they are free to do so. May the best mod win, not the first mod.
Links
Github
History
1.00 Release Version
[Tool][Windows] X4 Extensions Template With Helpful Commands
The place to discuss scripting and game modifications for X4: Foundations.
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
1 post
• Page 1 of 1
-
- Posts: 1466
- Joined: Wed, 16. Nov 11, 18:37
1 post
• Page 1 of 1
Return to “X4: Foundations - Scripts and Modding”
Jump to
- English Forums
- ↳ X4: Foundations
- ↳ X4: Foundations - Spoilers
- ↳ X4: Foundations - Technical Support
- ↳ X4: Foundations - Scripts and Modding
- ↳ Construction Community
- ↳ X Wiki Discussion
- ↳ X Rebirth Universe
- ↳ X Rebirth VR Edition
- ↳ X Rebirth - Technical Support
- ↳ X Rebirth - Scripts and Modding
- ↳ X³: Farnham's Legacy
- ↳ X³: Farnham's Legacy - Scripts and Modding
- ↳ X Trilogy Universe
- ↳ X³: Terran Conflict / Albion Prelude / Farnham's Legacy - Technical Support
- ↳ X³: Terran Conflict / Albion Prelude - Scripts and Modding
- ↳ X³: Reunion, X²: The Threat, X-T and X-BTF - Technical Support
- ↳ X³: Reunion - Scripts and Modding
- ↳ X²: The Threat - Scripts and Modding
- ↳ Creative Universe
- ↳ Off Topic English
- Deutschsprachige Foren
- ↳ X4: Foundations
- ↳ X4: Foundations - Spoilers
- ↳ X4: Foundations - Technische Unterstützung
- ↳ X4: Foundations - Scripts und Modding
- ↳ X Rebirth Universum
- ↳ X Rebirth VR Edition
- ↳ X Rebirth - Technische Unterstützung
- ↳ X Rebirth - Scripts und Modding
- ↳ X³: Farnham's Legacy
- ↳ X³: Farnham's Legacy - Scripts und Modding
- ↳ X Trilogie Universum
- ↳ X³: Terran Conflict / Albion Prelude / Farnham's Legacy - Technische Unterstützung
- ↳ X³: Terran Conflict / Albion Prelude - Scripts und Modding
- ↳ X³: Reunion, X²: Die Bedrohung, X-T und X-BTF - Technische Unterstützung
- ↳ X³: Reunion - Scripts und Modding
- ↳ X²: Die Bedrohung - Scripts und Modding
- ↳ Kreative Zone
- ↳ Off Topic Deutsch
- Forum Français
- ↳ X4: Foundations
- ↳ Support et Aide pour X4: Foundations
- ↳ Script et Modding pour X4: Foundations
- ↳ L'Univers X Rebirth
- ↳ Support et Aide pour X Rebirth
- ↳ Script et Modding pour X Rebirth
- ↳ Support et Aide pour la Trilogie X
- ↳ L'Univers de la Trilogie X
- ↳ Script et Modding pour la Trilogie X
- ↳ Off Topic Français
- Forum Italiano
- ↳ X4: Foundations
- ↳ Supporto Tecnico per X4: Foundations
- ↳ Script e Modding per X4: Foundations
- ↳ L'Universo di X Rebirth
- ↳ Script e Modding per X Rebirth
- ↳ Supporto Tecnico per X Rebirth
- ↳ L'Universo della Trilogia di X
- ↳ Script e Modding per la Trilogia di X
- ↳ Supporto Tecnico per la Trilogia di X
- ↳ Off Topic Italiano
- Polskie Fora
- ↳ Polskie / Polish X-Forum
- ↳ Polskie / Polish Off Topic
- Other Languages
- ↳ Česky / Czech X-Forum
- ↳ Dansk / Danish X-Forum
- ↳ Español / Spanish X-Forum
- ↳ Nederlands / Dutch X-Forum
- ↳ Português / Portuguese X-Forum
- ↳ Русский / Russian X-Forum
- DevNet: General
- ↳ MSCI Reference
- DevNet: X4: Foundations
- DevNet: X Rebirth
- ↳ XR - Technical Troubleshooting