RetroDECK icon indicating copy to clipboard operation
RetroDECK copied to clipboard

Add: PrismLauncher (Minecraft)

Open Lazorne opened this issue 8 months ago • 1 comments

https://github.com/PrismLauncher/PrismLauncher

PrismLauncher will later allow you to launch separate Minecraft instances via just CLI after talking to them. We could in theory add a Minecraft system and populate it with the games from Prism Launcher and allow it to be launched via RetroDECK.

roms/minecraft saves/minecraft

After a debate inside the community:

Minecraft is Retro

It should use the .desktop shortcut format


Builds

  • Flatpak https://flathub.org/apps/org.prismlauncher.PrismLauncher
  • GPL

Lazorne avatar May 07 '25 03:05 Lazorne

Configs

The default rom folder should be:

roms/minecraft

It should just use the standard desktop files, generated via the GUI like RPCS3.

The rest is done via:

prismlauncher.cfg

[General]


CentralModsDir=$rdhome/mods/minecraft/mods

# Central mod repo

DownloadsDir= (DEFAULT)

# This is where it defaults looking for downloaded mods, standard is the downloads folder. We could also do $rdhome/mods/minecraft/download_mods

IconsDir=$rdhome/saves/minecraft/icons

# Icons used by the shortcuts and gui when installing modpacks

InstanceDir=$rdhome/saves/minecraft/instances

# The world and saves and everything

SkinsDir=$rdhome/saves/minecraft/skins

# Where all the skins are saved

JavaDir= (DEFAULT)

# Shipped within the flatpak, don't change the path

JvmArgs="-XX:+UnlockExperimentalVMOptions -XX:
+UnlockDiagnosticVMOptions -XX:+AlwaysActAsServerClassMachine -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:NmethodSweepActivity=1 -XX:ReservedCodeCacheSize=400M -XX:NonNMethodCodeHeapSize=12M -XX:ProfiledCodeHeapSize=194M -XX:NonProfiledCodeHeapSize=194M -XX:-DontCompileHugeMethods -XX:MaxNodeLimit=240000 -XX:NodeLimitFudgeFactor=8000 -XX:+UseVectorCmov -XX:+PerfDisableSharedMem -XX:+UseFastUnorderedTimeStamps -XX:+UseG1GC -XX:MaxGCPauseMillis=37 -XX:+PerfDisableSharedMem -XX:G1HeapRegionSize=16M -XX:G1NewSizePercent=23 -XX:G1ReservePercent=20 -XX:SurvivorRatio=32 -XX:G1MixedGCCountTarget=3 -XX:G1HeapWastePercent=20 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1RSetUpdatingPauseTimePercent=0 -XX:MaxTenuringThreshold=1 -XX:G1SATBBufferEnqueueingThresholdPercent=30 -XX:G1ConcMarkStepDurationMillis=5.0 -XX:GCTimeRatio=99 -XX:G1ConcRefinementServiceIntervalMillis=150 -XX:G1ConcRSHotCardLimit=16 -XX:AllocatePrefetchStyle=3 -XX:+UseTransparentHugePages"

## Optimizations could be shipped default for Linux and Steam Deck.

Documentation

We should recommend people to use the contoller mods that enable controller support in Java.

Lazorne avatar May 10 '25 13:05 Lazorne