User Tools

Site Tools


games:minecraft_java

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
games:minecraft_java [2020/03/23 18:35] Sean Rhonegames:minecraft_java [2020/03/24 06:50] (current) Sean Rhone
Line 7: Line 7:
  
   * [[distros:fedora_workstation_gnome|Fedora Workstation]]   * [[distros:fedora_workstation_gnome|Fedora Workstation]]
- 
-===== Notes ===== 
- 
-  * TODO 
  
 ====== Install ====== ====== Install ======
Line 30: Line 26:
 **** ****
  
-  rm -Rf ~/'minecraft-launcher' && wget -O '/tmp/Minecraft.tar.gz' 'https://launcher.mojang.com/download/Minecraft.tar.gz' && cd ~ && tar -xvzf '/tmp/Minecraft.tar.gz' 'minecraft-launcher' && rm -f '/tmp/Minecraft.tar.gz' && sync+  rm -Rf ~/'.minecraft' && mkdir -p ~/'.minecraft' && wget -O '/tmp/Minecraft.tar.gz' 'https://launcher.mojang.com/download/Minecraft.tar.gz' && cd ~/'.minecraft' && tar -xvzf '/tmp/Minecraft.tar.gz' 'minecraft-launcher' && rm -f '/tmp/Minecraft.tar.gz' && sync
  
 ====== Desktop Launcher ====== ====== Desktop Launcher ======
Line 43: Line 39:
 Comment=Prepare for an adventure of limitless possibilities as you build, mine, battle mobs, and explore the ever-changing Minecraft landscape. Comment=Prepare for an adventure of limitless possibilities as you build, mine, battle mobs, and explore the ever-changing Minecraft landscape.
 Categories=Game;Java;AdventureGame;RolePlaying Categories=Game;Java;AdventureGame;RolePlaying
-Exec='/usr/bin/java+Exec='/home/CHANGEME/.minecraft/minecraft-launcher/minecraft-launcher
 Type=Application Type=Application
 StartupNotify=true StartupNotify=true
-Path=/home/CHANGEME/minecraft-launcher +Path=/home/CHANGEME/.minecraft/minecraft-launcher 
-Icon=/home/CHANGEME/runescape/oldschool/OSRS.icns +Icon=/home/CHANGEME/.minecraft/minecraft-icon.png 
-StartupWMClass=jagexappletviewer</code>+Actions=Saves;Notes;
  
-  sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/Minecraft.desktop'+[Desktop Action Saves] 
 +StartupNotify=false 
 +Exec='/home/CHANGEME/.minecraft/save-backup.sh' 
 +Name=Save Data Back-up
  
-====== Quick Commands ======+[Desktop Action Notes] 
 +StartupNotify=false 
 +Exec=gio open 'https://wiki.realmofespionage.xyz/games:minecraft_java' 
 +Name=Installation Notes</code> 
 + 
 +  sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/Minecraft.desktop'
  
-===== Clear Cache =====+==== Icon ====
  
 **** ****
  
-  rm -Rf ~/'runescape/oldschool/jagexcache' ~/'runescape/oldschool/jagexappletviewer.preferences' ~/'runescape/oldschool/jagex_cl_oldschool_LIVE.dat' ~/'runescape/oldschool/random.dat' '/tmp/oldschool&& sync+  wget -~/'.minecraft/minecraft-icon.png' 'https://i.imgur.com/4oFBfzd.png' 
 + 
 +===== Save Data Back-up Script ===== 
 + 
 +  nano ~/'.minecraft/save-backup.sh&& chmod +x ~/'.minecraft/save-backup.sh' 
 + 
 +<code> 
 +#!/bin/sh 
 + 
 +ls ~/'.minecraft/saves' 
 +tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d)'-manual-Minecraft-Saves.tar.gz' -C ~/'.minecraft' 'saves' 
 +sync 
 +notify-send 'Minecraft save data has been successfully archived and placed in the Downloads folder.'</code> 
 + 
 +====== Quick Commands ======
  
 ===== Execute ===== ===== Execute =====
Line 66: Line 84:
 **** ****
  
-  cd ~/'minecraft-launcher' && ~/'minecraft-launcher/minecraft-launcher'+  cd ~/'.minecraft/minecraft-launcher' && ~/'.minecraft/minecraft-launcher/minecraft-launcher'
  
 ===== File Manager ===== ===== File Manager =====
Line 74: Line 92:
 **** ****
  
-  gio open ~/'runescape/oldschool'+  gio open ~/'.minecraft' 
 + 
 +==== Saves ==== 
 + 
 +**** 
 + 
 +  gio open ~/'.minecraft/saves' 
 + 
 +===== Saved Games Data ===== 
 + 
 +==== Backup ==== 
 + 
 +  * Creates ''{DATE}-manual-Minecraft-Saves.tar.gz'' in ''~/Downloads'' 
 +  * :!: Will replace existing tarballs if this is done more than once **on the same day** 
 + 
 +  ls ~/'.minecraft/saves' && tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d)'-manual-Minecraft-Saves.tar.gz' -C ~/'.minecraft' 'saves' && ls ~/'Downloads/'*'-manual-Minecraft-Saves.tar.gz' 
 + 
 +==== Restore ==== 
 + 
 +  * Expects ''*-manual-Minecraft-Saves.tar.gz'' in ''~/Downloads'' 
 +  * :!: If that tarball exists, this series of commands will **irreversibly** **delete** the existing ''saves'' folder and replace it with whatever is in that tarball, after a brief 10-second period 
 + 
 +  ls ~/'Downloads/'*'-manual-Minecraft-Saves.tar.gz' && echo 'You have 10 seconds to stop this if necessary...' && sleep 10 && rm -Rf ~/'.minecraft/saves' && mkdir -p ~/'.minecraft/saves' && tar -xvzf ~/'Downloads/'*'-manual-Minecraft-Saves.tar.gz' -C ~/'.minecraft' 'saves' && sync
/var/www/wiki/data/attic/games/minecraft_java.1585002912.txt.gz · Last modified: 2020/03/23 18:35 by Sean Rhone