TUXDB - LINUX GAMING AGGREGATE
made by: NuSuey
NEWSFEED
▪️ GAMES
▪️ STEAM DECK ▪️ DEALS ▪️ CROWDFUNDING ▪️ COMMUNITY
tuxdb.com logo
Support tuxDB on Patreon
Currently supported by 9 awesome people!

🌟 Special thanks to our amazing supporters:


✨ $10 Tier: [Geeks Love Detail]
🌈 $5 Tier: [Benedikt][David Martínez Martí]

Steam ImageSteam ImageSteam ImageSteam ImageSteam Image
Stardeus
Kodo Linija Developer
Paradox Arc Publisher
2022-10-12 Release
Game News Posts: 19
🎹🖱️Keyboard + Mouse
🕹️ Partial Controller Support
🎮 Full Controller Support
Very Positive (1249 reviews)
Public Linux Depots:
  • [0 B]
Stardeus Modding Enhancements and Guide

[previewyoutube=GcNtN17O0JU;full][/previewyoutube] Hey, Space Travelers! Stardeus has received a major modding upgradeJSON patching. This method allows modifications to core JSON files without overwriting them. Mods using this approach will be more reliable and compatible with future updates. Even better, multiple mods can patch the same core file, eliminating override issues. The rest of this update post is a tutorial on how to create your own mods. If you're interested, keep reading! If not, just know that mods support will be even better going forward!

Stardeus Modding Guide


What is JSON


JSON stands for JavaScript Object Notation, a human-readable plain text format. If you want to learn more about JSON, heres a good resource: https://www.w3schools.com/js/js_json_intro.asp However, JSON is so simple that you can easily understand it just by looking at a few examples.

How Stardeus uses JSON files


In Stardeus, behaviors are defined in C# code, which you can also mod but it requires programming knowledge and significantly more effort. Content and various parameters are defined in JSON files that the game loads at runtime. To illustrate this, lets examine a device.
This is a Charge Station. It has various properties and behaviors. The game recognizes the Charge Station because it loads a JSON file that defines it:
You can find this definition in the Core mod*: Definitions/Objects/Devices/ChargeStation.json * To open the contents of the Core mod, run Stardeus, then Main Menu > Mods > Core Game > Open Directory This file specifies various properties of the Charge Station, such as the research required to unlock it and, most importantly, a list of Components. Each Component block provides a specific function. Many of these components appear in other device definitions, but the ChargeStation component is what makes this device unique. Removing this component block would strip the Charge Station of its ability to recharge robots. If you wanted the Charge Station to work twice as fast, you could change the ChargePerHour property from 25.0 to 50.0. However, modifying the Core mod directly means your changes would be overwritten when the game updates. In this guide, well learn how to create mods that edit JSON files without altering the Core mod itself. Beyond object definitions, Stardeus includes many other JSON files for configuring different aspects of the game. Tunable parameters, story events, species configurations, body parts, inventory items, character traitseven UI colorsare all defined in JSON and fully moddable.

Creating a Mod


The easiest way to create a new mod is to grab a copy of the empty mod here: https://github.com/kodolinija/stardeus-mod-empty
Download the project as a zip file, extract it in the user mods folder*, rename the extracted folder to match your mod name (I like using the kebab-case when naming folders). * User mods folder is located next to the Saves folder. You can open it from Stardeus: Main Menu > Mods > About Mods > Open User Mods Directory Then open the TODO.md file and go through the checklist: - [ ] Update ModInfo.json - [ ] Create your own ModCover.jpg - [ ] Delete unnecessary directories Run Stardeus and check if your empty mod appears in the Main Menu > Mods list. If it does, you're ready to start modding!

Changing Existing Behaviors and Parameters


Previously, modifying a JSON file required copying the entire file into your mod just to change a few lines. The game would then load the modded version instead of the original. The main problem with this method was that when the Core mod updated, the copied JSON file could become outdated or broken. This often caused older mods to stop working or, worse, silently break parts of the game. The new approachJSON patchingsolves this issue. Heres how it works:
  • Mods define patches.
  • Patches target specific core JSON files.
  • A patch contains a list of operations to modify the targeted JSON.
  • Operations can add, remove, or replace parts of the original JSON.
This method is based on the RFC 6902 standard, with custom extensions for advanced querying. Its simpler than it soundsyoull see examples soon. JSON patching support was added in v0.12.17 and I believe this will be a game-changer for modding. Lets say we want to mod the Charge Station to double its charging speed. We need to create a patch file inside the Patches directory of the mod. Well name it ChargeStation_2xSpeed.json to reflect its purpose. The patch file looks like this: { "target" : "Definitions/Objects/Devices/ChargeStation.json", "operations" : [ { "op" : "replace", "path" : "/Components[Component=ChargeStation]/Properties[Key=ChargePerHour]/Float", "value" : 50.0 } ] } Lets break it down: - target: The path to the JSON file inside the Core mod directory that we want to patch. - operations: An array containing one or more operation blocks. - op: The type of operation. In this case, replace. Valid types are add, replace, and remove. - path: A query specifying which element of the original JSON file to modify. It may look complex, but its straightforward once broken down. - value: The new value replacing the existing one. Here, were changing ChargePerHour from 25.0 to 50.0 to double the charging speed. Now, lets analyze the path step by step: - /Components Refers to the "Components" key in the original JSON, which contains a list of component blocks. - /Components[Component=ChargeStation] Filters this list to find the block where "Component" is set to "ChargeStation". - /Properties Refers to the "Properties" key within that block, which contains a list of component properties. - /Properties[Key=ChargePerHour] Filters the "Properties" list to find the block where "Key" is "ChargePerHour". - /Float Refers to the "Float" key inside that block, which holds the value we want to change. Since Float is the key that contains the charging speed, this is the final part of the path.
OK, I admit it still looks a bit scary here. But the good news is that its the most complex path example I could come up with. If you understand this one, youre going to be unstoppable! Now, what happens when the game loads your mod with this patch? Next to the user Mods directory, a Patched directory will be created. If you look inside, you should find the patched ChargeStation.json file that looks something like this:
More examples of how to write various JSON patches can be found here: https://github.com/kodolinija/stardeus-mod-template/tree/master/Patches

Adding New Content via JSON Files


To add new content, youll need to create new JSON files rather than patches. Place these files in the corresponding directories of your mod inside Definitions or Config. Check the Core mod for examples. When creating new definitions, you can mix and match existing components and add new graphics for your devices. Explore the mod template project and check out these YouTube video tutorials for examples: https://github.com/kodolinija/stardeus-mod-template https://www.youtube.com/playlist?list=PLvm1mLYInibc8n0Q5_caRql5nEUiBwvTC

Reference Source Code


If you want to write your own C# mods or understand how certain components work, you can explore the Reference Source Code that comes with the Core mod. Its not the complete source code, but it contains about 80% of the games codebase. Everything relevant to modding should be there. Unlike decompiled code, it includes comments, and constants are not replaced with literal values, making it much easier to read. For the remaining 20%, you can decompile and explore the game DLL files using dnSpy or similar tools.

Join the Modding Community


Join the Stardeus Discord Server and visit #stardeus-modding channel to discuss with other modders and get help. And I will be happy to personally answer any modding related questions there, or here on Steam Forums. Happy modding! - spajus


[ 2025-02-18 18:35:33 CET ] [ Original post ]

Inspired by Factorio and Rimworld, Stardeus is a deep colony sim set on a broken starship manned by drones and hibernating human survivors. As the immortal AI you will have your drones repair your starship, save or exploit your human crew and travel the stars in this beautifully complex simulation of a procedurally generated universe.

With only a handful of drones at your disposal, salvage, repair and rebuild your destroyed ship and restore life support before the crew suffocates in the vacuum of space.

Design and rebuild your ship according to your own needs and desires. Balance the onboard systems of oxygen, heat and power to ensure long-term survival.

Process resources into useful components to maintain and expand your ship’s facilities. Grow crops and turn the harvest into food for your awakening colonists. Generate energy to power your ship and create a robust interconnected system.

Use and expand your massive computing power to research alien technologies. Discover new ways to survive the harsh universe and take care of or exploit your human crew.

Once powered and crewed by skilled colonists, take your ship on an odyssey to explore and mine the procedurally generated planets and systems of a vast universe.

Prepare for the worst, hope for the best. Live through an endless number of events and encounters introduced by the story-generating AI. Be it alien face huggers, benevolent traders or pirates: always be vigilant and deal with whatever happens the way you chose.


MINIMAL SETUP
  • OS: Almost Any Linux Distribution. SteamOS+
  • Processor: x64 architecture with SSE2 instruction set supportMemory: 4 GB RAM
  • Memory: 4 GB RAM
  • Graphics: Vulkan-capable. Nvidia and AMD GPUs with Compute Shader support
  • Storage: 1 GB available space
RECOMMENDED SETUP
  • Memory: 8 GB RAM

GAMEBILLET

[ 6081 ]

3.93$ (21%)
0.84$ (91%)
0.84$ (91%)
8.39$ (16%)
12.59$ (16%)
24.87$ (17%)
4.95$ (17%)
3.00$ (80%)
16.79$ (16%)
24.79$ (17%)
4.24$ (79%)
1.66$ (83%)
8.20$ (86%)
16.57$ (17%)
4.95$ (17%)
33.14$ (17%)
12.42$ (17%)
10.26$ (66%)
2.50$ (75%)
4.00$ (80%)
12.42$ (17%)
16.79$ (16%)
4.24$ (92%)
3.81$ (87%)
8.39$ (16%)
4.95$ (17%)
30.74$ (12%)
35.14$ (12%)
12.42$ (17%)
16.57$ (17%)
GAMERSGATE

[ 1481 ]

1.0$ (90%)
1.8$ (77%)
14.0$ (60%)
1.05$ (85%)
3.0$ (70%)
3.0$ (80%)
2.55$ (85%)
7.92$ (74%)
2.25$ (89%)
2.55$ (83%)
8.0$ (80%)
0.68$ (89%)
1.8$ (82%)
3.6$ (80%)
3.52$ (82%)
2.0$ (80%)
1.32$ (91%)
10.0$ (60%)
2.0$ (90%)
3.4$ (80%)
16.2$ (73%)
0.42$ (79%)
2.5$ (50%)
14.0$ (65%)
6.0$ (60%)
4.35$ (83%)
1.0$ (80%)
1.84$ (91%)
7.5$ (50%)
2.0$ (80%)
MacGamestore

[ 2067 ]

4.99$ (50%)
7.79$ (40%)
53.99$ (10%)
42.49$ (15%)
14.29$ (43%)
13.89$ (77%)
38.99$ (13%)
2.99$ (70%)
15.89$ (21%)
2.49$ (50%)
4.99$ (83%)
13.99$ (22%)
1.49$ (85%)
7.99$ (20%)
3.99$ (80%)
3.99$ (73%)
2.48$ (83%)
8.99$ (10%)
1.99$ (90%)
1.28$ (87%)
4.99$ (50%)
1.19$ (94%)
29.99$ (50%)
1.49$ (94%)
2.99$ (93%)
7.49$ (75%)
15.89$ (21%)
2.49$ (75%)
11.49$ (71%)
2.49$ (83%)

FANATICAL BUNDLES

Time left:

356354 days, 5 hours, 56 minutes


Time left:

10 days, 12 hours, 56 minutes


Time left:

20 days, 12 hours, 56 minutes


Time left:

25 days, 12 hours, 56 minutes


Time left:

9 days, 12 hours, 56 minutes


Time left:

31 days, 12 hours, 56 minutes


Time left:

5 days, 12 hours, 56 minutes


Time left:

5 days, 12 hours, 56 minutes


Time left:

39 days, 12 hours, 56 minutes


Time left:

54 days, 12 hours, 56 minutes


Time left:

32 days, 12 hours, 56 minutes


Time left:

55 days, 12 hours, 56 minutes


Time left:

54 days, 12 hours, 56 minutes


Time left:

55 days, 12 hours, 56 minutes


HUMBLE BUNDLES

Time left:

0 days, 6 hours, 56 minutes


Time left:

7 days, 6 hours, 56 minutes


Time left:

8 days, 6 hours, 56 minutes


Time left:

12 days, 6 hours, 56 minutes


Time left:

17 days, 6 hours, 56 minutes

by buying games/dlcs from affiliate links you are supporting tuxDB
🔴 LIVE