Skip to content
Blue-A-no-circle

Archi's Tech Repository

Where my digital bytes live on, so grab a byte and relax

  • Home
    • My NFT Creations
    • @DailyMotion
    • @Twitter
    • On GitHub
  • Energy
  • 3D Printing
  • Arduino-Rpi
  • Crypto
  • Gaming
    • Archived copies of the FrontRunnerTek Server Manager for 7DTD
    • Marvel Strike Force Blitz Team Builder
  • PowerShell
  • Stocks
  • Toggle search form

Unlock Space Engineers DLC content

Posted on 2021-05-222021-05-22 By Archi No Comments on Unlock Space Engineers DLC content
Spread the love

This script was created to remove the DLC locks on content for Dedicated Servers as it was preventing players with DLC unlocked from using their DLC content. It will of course work for local game installations as well, but if you like the content, you should pay for it.

This is a Windows PowerShell script. Copy and Paste the content below into PowerShell ISE, update the Space Engineers path as described in the script, and press the green ‘PLAY’ button to run the script (Pressing F5 also works). It will output which files (if any) were updated.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Space Engineers
# Unlock DLC content
 
# SE Local Files Folder.
# Right-Click Space Engineers in your library and expand MANAGE, then click 'Browse local files'.
# The full path that opens, copy and paste that below between the single quotes.
$SElocalfiles = 'C:\Program Files (x86)\Steam\steamapps\common\SpaceEngineers'
 
# ==========================================================
# ---- Change Nothing Below --------------------------------
# ==========================================================
CLS
Write-Host "Scanning for files with DLC locked content..." -ForegroundColor Cyan
$SEcontentFiles = "$SElocalfiles\Content"
$SEfiles = Get-ChildItem -Path $SEcontentFiles -Recurse -Include *.sbc, *.scf
ForEach ($SEfile in $SEfiles){
    $FileBits = Get-Content -LiteralPath $SEfile.FullName -Raw
    If ($FileBits -like "*<DLC>*") {
        $regExStr = '<DLC>\w+</DLC>'
        $newFileBits = [regex]::Replace($FileBits,$regExStr,'')
        If (Set-Content -LiteralPath $SEfile.FullName -Value $newFileBits -PassThru) {
            Write-Host "Unlocked DLC in: $($SEfile.FullName)" -ForegroundColor Yellow
        }
    }
}
Write-Host "Completed!" -ForegroundColor Green
# SBC contains DLC content (blocks, emotes, skins) to unlock
# SCF are scenarios to unlock
Gaming, PowerShell Tags:dlc, gaming, PowerShell, space engineers

Post navigation

Previous Post: Torrent Download Client Helper Script
Next Post: Space Station NFT Art

Leave a Reply Cancel reply

You must be logged in to post a comment.

QR Link to this page

QR Code

Recent Posts

  • Getting Generic SD SPI card readers to work with ESP32-DevKitC-32UE boards
  • Modifications and non-traditional use of an AEROCART 8-IN-1 YARD CART / WHEELBARROW / DOLLY
  • Grid-Down Battery Backup
  • Wordle – Modified
  • An easy solution to differentiate between multiple instances of Sonarr, Radarr, Lidarr… all the ARRSS
Buy VPN

Categories

Copyright © 2023 Archi's Tech Repository.

Powered by PressBook Dark WordPress theme