Space Engineers

Space Engineers

Not enough ratings
Hide DLC from menu
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Other
Tags: hud
File Size
Posted
Updated
546.451 KB
Jun 25, 2020 @ 12:48pm
Jul 13, 2020 @ 9:49pm
2 Change Notes ( view )

Subscribe to download
Hide DLC from menu

Description
Hides DLC blocks from G-menu for those who don't have DLC.

Please note that new DLC blocks will appear unless this mod is updated, if this mod hasn't been updated you can make your own. If you want to disable specific mods blocks from the G-menu then you can also make such a mod.

--

Here is how this mod was made in case you want to make an updated one and you don't know how to mod:

Notepad++ is recommended.

File should start with:

<?xml version="1.0" encoding="utf-8"?>
<Definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CubeBlocks>

File should end with:

</CubeBlocks>
</Definitions>

Inside of this you put all definitions of blocks you want to disable, modded block data files are here:

C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers\Content\Data\CubeBlocks

These are the files that have the definitions for modded blocks

CubeBlocks_DecorativePack.sbc
CubeBlocks_DecorativePack2.sbc
CubeBlocks_Economy.sbc
CubeBlocks_Frostbite.sbc
CubeBlocks_SparksOfTheFuturePack.sbc

If new mods come out they will probably be here too.

Once you have the definitions, you can now modify stuff, we want everything to have <Public>false</Public> in it. Given that there were like 90 definitions we are going to be using the replace function. Problem is that <Public>true</Public> isn't in all of them. This is the slightly messy solution:

Replace all <Public>true</Public> with a blank
Replace all </Definition> with <Public>false</Public></Definition>

Save and your done with that. This is where the script file goes:

C:\Users\YOUR-USER-NAME\AppData\Roaming\SpaceEngineers\Mods\NAME-OF-MOD\data\NAME-OF-SCRIPT.sbc
(replace the 3 all caps things with the correct stuff)

Make a new file and put this in it:

<?xml version="1.0" encoding="utf-8"?>
<ModMetadata xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ModVersion>1.0</ModVersion>
</ModMetadata>

And save this as:

C:\Users\YOUR-USER-NAME\AppData\Roaming\SpaceEngineers\Mods\NAME-OF-MOD\metadata.mod

(metadata.mod might not be necessary, idk really, haven't tested)

If you want a thumbnail then make one and save it as:

C:\Users\YOUR-USER-NAME\AppData\Roaming\SpaceEngineers\Mods\NAME-OF-MOD\Thumb.png

Test out your mod and if it works then you could publish it by opening up the mod menu under a worlds settings and clicking your mod and clicking publish.

--

Please don't ask me for help making this mod, its simple, if you mess it up then you made an obvious mistake lol

--

Update 1: StoreBlock, SafeZoneBlock and ContractBlock have been unhidden. Didn't realize they were in a DLC file.
12 Comments
pariah May 6 @ 4:07pm 
good guide, made my own version using this.

2 things to note:
1: after copying all the definition code into your script file, theres a better way to batch-add the public false code. all the dlc definitions have a dlc tag in them, like <DLC>Warfare1</DLC>. if you find/replace all instances of '</DLC>' with '</DLC><Public>false</Public>' you will only tag the DLC files, without accidentally hiding any base game items. (i think. not responsible for you breaking your game etc etc)
2: while most of the DLCs have an .sbc file that shares their official display name, a few are less obvious.
Heavy Industry = IndustrialPack.sbc
Economy Deluxe items are inside the regular Economy.sbc alongside nonDLC items
Wasteland=ScrapRace.sbc
Automatons=GridAIPack.sbc
the rest are all obvious, the names of the files are the same as the official name of the DLC in the menus.

cheers!
oakescraft Apr 7 @ 1:45pm 
This mod makes the catwalk blocks which are base game disappear. Meaning you cannot place them, because they do not exist in the block catalog. Once I removed this mod they reappear.
σ BLAND SALMON Jan 16 @ 10:25am 
@Tropicop I was able to find all the info for most of the DLCs but i couldnt find the .sbc files for Wasteland or Style DLCs
Tropicop Nov 12, 2024 @ 9:37am 
Followed instructions. Everything worked as expected when building my own Mod file. Thank you for the clear walk through.
matthewvogt Sep 25, 2024 @ 4:57pm 
for me and my heavily mudded game this isn't working. going to try a few things.
patrikcath Mar 20, 2022 @ 5:57pm 
Keen is probably adding more DLCs out of spite for this mod
Mandrid Feb 21, 2022 @ 9:57am 
Hi FayDruh, is there any chance for an update on this? New to Space Engineers, and all the DLC blocks are... aggravating. As you probably know. Since you made this mod. :-p
Elkstone Feb 4, 2022 @ 3:34pm 
Oh my god even more DLC stuff.. Kill me
Elkstone Jul 30, 2021 @ 10:52am 
God this is such a hassle every time they go begging for money
jetblade545 Jan 19, 2021 @ 7:44pm 
can you make a mod like this but puts all mod blocks in one category?