mistralys / x4-core
Core files for all X4 tools.
0.0.6
2023-06-06 15:36 UTC
Requires
- php: ^7.4
- ext-dom: *
- ext-json: *
- ext-mbstring: *
- ext-simplexml: *
- components/jquery: ^3.5.1
- fortawesome/font-awesome: ^5.15.3
- mistralys/application-localization: ^1.4.1
- mistralys/application-utils: ^2.3.2
- thomaspark/bootswatch: ^v5.1.3
- twbs/bootstrap: ^v5.1.3
Requires (Dev)
- phpstan/phpstan: >=1.6.1
- phpunit/phpunit: >=9.5.20
- roave/security-advisories: dev-latest
README
X4 database and utility classes written in PHP.
This package is used by my X4 tools:
Configuration
- Unpack the game's data files (howto).
- Clone the repository.
- Copy
dev-config.php.dist
todev-config.php
. - Edit the file to set the correct paths.
Database update
To update the bundled database, the extraction scripts must be run:
- Translations:
bin/extract-translations.php
- Modules:
bin/extract-modules.php
This will update the JSON files in the data
folder.
NOTE: The language JSON files are not included in the repository, as they are too large. They are only used when extracting data.