Showing posts with label steam. Show all posts
Showing posts with label steam. Show all posts

26 January 2024

Miscellaneous Minecraft Matters

I wanted to host a Minecraft server for me and my daughter to be able to play on. After some research, using a docker container surfaced as the easiest way to do this. Also I wanted to use Steam Link to be able to play, so I needed to add a shortcut to Minecraft in Steam.

Below are the steps that I used to accomplish this


Minecraft Bedrock Docker Server

  • https://github.com/itzg/docker-minecraft-bedrock-server
  • find your players XUID
    • I did this by starting the server connecting and looking at the server output
  • create a docker-compose.yml file where OPS has your players XUIDs in a comma separated list and ALLOW_LIST_USERS has the player names and XUIDs that you want to be able to login
version: '3.4'

services:
    bds:
        image: itzg/minecraft-bedrock-server
        environment:
            EULA: "TRUE"
            GAMEMODE: creative
            DIFFICULTY: peaceful
            SERVER_NAME: "Our World"
            OPS: "1234,5678"
            ALLOW_CHEATS: "true"
            ALLOW_LIST: "true"
            ALLOW_LIST_USERS: "player1:1234,player with spaces:5678"
        ports:
            - "19132:19132/udp"
        volumes:
            - /storage/containers/minecraft/world1:/data
        stdin_open: true
        tty: true

  • start the container
    • docker-compose up
  • A permissions.json file will be created giving the specified players ops powers
  • Note: even though your server is local the Playstation/Xbox/Switch version will not be able to connect without a PS Plus/Xbox Live/Nintendo Online subscription

Adding a shortcut to Minecraft in Steam

  • Find out where Minecraft was stored
    • Paste the following into an explorer window:
      • %LocalAppData%\Packages\
    • Find the folder like:
      • Microsoft.MinecraftUWP_<seemingly_random_letters_and_numbers>
    • The seemingly random letters and numbers are the app id, we will need them for later
  • In Steam go to your Library and click "ADD A GAME" and then "Add a Non-Steam Game..."
  • Navigate to C:\Windows and select explorer.exe
  • You will see a new entry in your library called explorer
  • Right click on it -> Properties
  • Choose an appropriate icon
  • Rename it
  • Click "SET LAUNCH OPTIONS"
  • type/paste in the following:
    • shell:appsFolder\<your-app-id>!App
  • Click "OK"
  • Click "CLOSE"
  • You should now be able to launch Minecraft from Steam


Appendix

Sources:

11 March 2013

Darksiders and Thrustmaster Dual Power


So when trying to use my Thrustmaster Dual Power with Darksiders in Steam, it would just spin me in a circle.

After some googling I found XBOX 360 Controller Emulator.

I simply downloaded the App from: http://code.google.com/p/x360ce/downloads/list

I placed it in the Apps directory: "C:\Program Files (x86)\Steam\steamapps\common\Darksiders\"

Run it and it will ask you if it should create:
  1. xinput1_3.dll
  2. x360ce.ini
Allow it to create both.

I use the following configuration:
  • Left
    • Trigger: Button 6
    • Bumper: Button 5
    • Back: Button 9
    • Start: Button 10
    • D-Pad: DPad 1
    • Stick Axis X: Axis 1
    • Stick Axis Y: Inverted Axis 2
    • Stick Button: Button 11
  • Right
    • Trigger: Button 8
    • Bumper: Button 7
    • Y Button: Button 4
    • X Button: Button 2
    • B Button: Button 3
    • A Button: Button 1
    • Stick Axis X: Axis 6
    • Stick Axis Y: Inverted Slider1
    • Stick Button: Button 13


If it says that it cannot find msvcp110.dll, download and install the trial: http://www.microsoft.com/visualstudio/eng/downloads