DSPTranslationPlugin
Dyson sphere translation plugin! Translations download form crowdin
Screenshots 2 screenshots
About this mod Machine translation
Support my work on Patreon
Dyson sphere translation plugin!
Licence: Project is under CC Attribution 4.0
BREAKING CHANGE
New translation folder location for translation: {Game Directory}\DSPGAME_Data\Translation\{LanguageName}\...
Features
- Adds possibility to add custom languages
- Adds (currently hidden) French language
- Adds the possibility to change Font in game (WORK IN PROGRESS)
- Use custom logo for custom translation
Roadmap
- Refactor code and add documentation
- Add support for adjusting content size of in game UI to fit new text
Installation via Mod manager
Download mod manager
- Press Install with Mod Manager at
- Add translations to
{Game Directory}\DSPGAME_Data\Translation\{LanguageName}\translation_DysonSphereProgram.json.
You can find translations at Crowdin
- Select new translation in Menu of the Game
- Enjoy
Installation Manual
- Download and unpack BepInEx into game root directory
- Download mod files
- Extract zip file
- Paste DLLs under Dyson Sphere Program\BepInEx\plugins\DSPTranslationPlugin
- Add translations to
{Game Directory}\DSPGAME_Data\Translation\{LanguageName}\translation_DysonSphereProgram.json.
You can find translations at Crowdin
- Select new translation in Menu of the Game
- Enjoy
How to add new translations
- Create folder under Dyson Sphere Program\BepInEx\plugins\DSPTranslationPlugin\Translation with the name of your translation eg: Polish
- Run game once - New file settings and translations files will be created.
- Translate
Translation file structure:
{ #CROWDIN
"Click to build": "Click to build",
"Cannot build here": "Cannot build here",
"{NAME}: "{TRANSLATION}",
(...)
}
{ #LEGACY
"TranslationTable": [
{
"IsValid": true, # Does translation exists in the game
"Name": "Click to build", # Name used by the game for translation (READ ONLY)
"Original": "Click to build", # Translation in English
"Translation": "Kliknij, aby zbudować" # Your translation here
},
(...)
]
}
Settings file structure:
{
"Version": "0.1.0.0", # Plugin version
"GameVersion": "0.6.15.5678", # Game version
"OriginalLanguage": "ENUS", # Language in which empty new translation files will be generated, possible values: "ENUS", "FRFR", "ZHCN"
"LanguageDisplayName": "Polish", # Language display name in the game
"ImportFromLegacy": false, # Generate Legacy json format (defualt is Crowdin format)
"CreateAndUpdateFromPlainTextDumpUnsafe": true # Should create and import dump file (more below)
}
Custom images:
Currently in the game there are 2 images that can be changed, they look like a path - UI/Textures/dsp-logo-en. You can use a valid path from resources or valid URL.
URL needs to be a direct png file. Eg:
Internet URI -- "ImageLogo0": "
Local file URI -- "ImageLogo0": "file://C:/Users/Muchaszewski/Documents/Icon.png"
Specific images description:
- ImageLogo0 and ImageLogo1 needs to have aspect ratio that corresponds to 800x300 pixels, otherwise they will be stretched
Build from source
- Download repository
- Edit csproj reference to point to your game location
3.
Run from DSPGAME.exe without steam
In order to start the game without steam launcher create steam_appid.txt file in root game folder with 1366540 in it.
(Steam launcher might be required to run in the background)
Special Thanks to
BepInEx - for mod support
Modified hard fork of SimpleJSON - for simple json parser
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: