User Tools

Site Tools


games:linux:2004scape_localhost

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:linux:2004scape_localhost [2025/04/22 03:33] Sean Rhonegames:linux:2004scape_localhost [2025/04/26 01:45] (current) – [SC55_zzdenis SoundFont] Sean Rhone
Line 4: Line 4:
  
   * These notes provide a local single-player server for 2004Scape ((RSPS/RuneScape Private Server based on cache ''225'' from May 18th, 2004))   * These notes provide a local single-player server for 2004Scape ((RSPS/RuneScape Private Server based on cache ''225'' from May 18th, 2004))
-  * Last tested commit: [[https://github.com/2004Scape/Server/commit/a82c2f5adcad2d61c8f4488efcb4b95c3b019105|a82c2f5]]+  * Last tested commit: [[https://github.com/2004Scape/Server/commit/402159840ef48b990b1e8ac2ea20aaec16e9e3f5|4021598]]
  
 ===== Media ===== ===== Media =====
Line 73: Line 73:
 npm --prefix ~/'Projects/2004Scape-Server/src' run 'setup' npm --prefix ~/'Projects/2004Scape-Server/src' run 'setup'
  
-zenity --title '2004Scape' --text 'localhost server update complete' --icon ~/'Projects/2004Scape-Server/ext/favicon.ico' --timeout '2' --info+zenity --title '2004Scape Updater' --text 'localhost server update complete' --icon ~/'Projects/2004Scape-Server/ext/favicon.ico' --timeout '2' --info
  
 # End</code> # End</code>
Line 88: Line 88:
 tar -czf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-2004Scape-Server-localhost-Saves.tar.gz' -C ~/'Projects/2004Scape-Server/src/data/players' 'main' tar -czf ~/'Downloads/'$(date +%Y-%m-%d-%s)'-2004Scape-Server-localhost-Saves.tar.gz' -C ~/'Projects/2004Scape-Server/src/data/players' 'main'
  
-zenity --title '2004Scape' --text 'Save Data Backed-up to Downloads' --icon ~/'Projects/2004Scape-Server/ext/favicon.ico' --timeout '2' --info+zenity --title '2004Scape Save Backup' --text 'Save Data Backed-up to Downloads' --icon ~/'Projects/2004Scape-Server/ext/favicon.ico' --timeout '2' --info
  
 # End</code> # End</code>
Line 108: Line 108:
   rm -f '/tmp/June_2004_Map.jpg' && mkdir -p ~/'Projects/2004Scape-Server/ext' && wget -O '/tmp/June_2004_Map.jpg' 'https://runescape.wiki/images/June_2004_Map.jpg?35d17' && sha384sum '/tmp/June_2004_Map.jpg' | grep 'abfdfe4597975addbb9d79d2cce2e56f0054f2742f351bd9dc700f55e91157e6c2142749f113927b027ed42efb8ad833' > '/dev/null' && mv -f '/tmp/June_2004_Map.jpg' ~/'Projects/2004Scape-Server/ext/June_2004_Map.jpg' && ls ~/'Projects/2004Scape-Server/ext/June_2004_Map.jpg'   rm -f '/tmp/June_2004_Map.jpg' && mkdir -p ~/'Projects/2004Scape-Server/ext' && wget -O '/tmp/June_2004_Map.jpg' 'https://runescape.wiki/images/June_2004_Map.jpg?35d17' && sha384sum '/tmp/June_2004_Map.jpg' | grep 'abfdfe4597975addbb9d79d2cce2e56f0054f2742f351bd9dc700f55e91157e6c2142749f113927b027ed42efb8ad833' > '/dev/null' && mv -f '/tmp/June_2004_Map.jpg' ~/'Projects/2004Scape-Server/ext/June_2004_Map.jpg' && ls ~/'Projects/2004Scape-Server/ext/June_2004_Map.jpg'
  
-===== Fluid GM SoundFont ======+===== SC55_zzdenis SoundFont =====
  
-  * ''FluidR3_GM.sf2'' +  * https://www.doomworld.com/forum/topic/129928-new-sc55-soundfont-266mb-all-new-441k-samples/ 
-  * Add symlink above ''notify-send'' in [[#server_update|update script]]+  * https://drive.google.com/file/d/1wdYpwoCka8r7ZuIzPn1CHy13_4aP9oSq/view?usp=sharing 
 +  * ''SC55_zzdenis_v0.5.sf2'' 
 +  * Add symlink above ''zenity'' in [[#server_update|Update script]]
  
-  sudo zypper install 'fluid-soundfont-gm'+  mkdir -p ~/'Projects/2004Scape-Server/ext' && sha384sum ~/'Downloads/SC55_zzdenis_v0.5.sf2' | grep 'f386f638777072fc220e39afbd7efcd227ca2bfcf13403bf47fbb2e2b8f4d151239710cc36c8530a75c3b4c3f55066b7' > '/dev/null' && mv -f ~/'Downloads/SC55_zzdenis_v0.5.sf2' ~/'Projects/2004Scape-Server/ext'
  
   nano ~/'Projects/2004Scape-Server/scripts/localhost-server-update.sh'   nano ~/'Projects/2004Scape-Server/scripts/localhost-server-update.sh'
  
-  ln -s -f '/usr/share/sounds/sf2/FluidR3_GM.sf2' ~/'Projects/2004Scape-Server/src/public/client/SCC1_Florestan.sf2'+  ln -s -f ~/'Projects/2004Scape-Server/ext/SC55_zzdenis_v0.5.sf2' ~/'Projects/2004Scape-Server/src/public/client/SCC1_Florestan.sf2'
  
   ls -la ~/'Projects/2004Scape-Server/src/public/client/SCC1_Florestan.sf2'   ls -la ~/'Projects/2004Scape-Server/src/public/client/SCC1_Florestan.sf2'
  
 ====== Desktop Launcher ====== ====== Desktop Launcher ======
- 
-  * :!: WIP 
  
 ===== 2004Scape ===== ===== 2004Scape =====
Line 130: Line 130:
  
 <code> <code>
 +# 2004Scape-localhost.desktop
 +
 [Desktop Entry] [Desktop Entry]
 Name=2004Scape Name=2004Scape
Line 137: Line 139:
 StartupNotify=false StartupNotify=false
 Icon=/home/CHANGEME/Projects/2004Scape-Server/ext/favicon.ico Icon=/home/CHANGEME/Projects/2004Scape-Server/ext/favicon.ico
-Actions=Map;Server;Update;Saves;Notes;+Actions=Map;Server;Update;Saves-Backup;Saves-Folder;Commits;Notes;
  
 [Desktop Action Map] [Desktop Action Map]
Line 145: Line 147:
  
 [Desktop Action Server] [Desktop Action Server]
-Exec='/bin/bash' -c "xfce4-terminal -T '2004Scape — Server' -I ~/'Projects/2004Scape-Server/ext/favicon.ico' -e ~/'Projects/2004Scape-Server/scripts/localhost-server-start.sh'"+Exec='/bin/bash' -c "kgx -T '2004Scape Server' -e ~/'Projects/2004Scape-Server/scripts/localhost-server-start.sh'"
 Name=Server - Start Name=Server - Start
  
 [Desktop Action Update] [Desktop Action Update]
-Exec='/bin/bash' -c "xfce4-terminal -T '2004Scape — Updater' -I ~/'Projects/2004Scape-Server/ext/favicon.ico' -e ~/'Projects/2004Scape-Server/scripts/localhost-server-update.sh'"+Exec='/bin/bash' -c "kgx -T '2004Scape Updater' -e ~/'Projects/2004Scape-Server/scripts/localhost-server-update.sh'"
 Name=Server - Update Name=Server - Update
  
-[Desktop Action Saves]+[Desktop Action Saves-Backup]
 StartupNotify=false StartupNotify=false
 Exec='/bin/bash' -c "~/'Projects/2004Scape-Server/scripts/localhost-save-backup.sh'" Exec='/bin/bash' -c "~/'Projects/2004Scape-Server/scripts/localhost-save-backup.sh'"
 Name=Save Data Back-up Name=Save Data Back-up
 +
 +[Desktop Action Saves-Folder]
 +StartupNotify=false
 +Exec='/bin/bash' -c "gio open ~/'Projects/2004Scape-Server/src/data/players'"
 +Name=Save Folder
 +
 +[Desktop Action Commits]
 +StartupNotify=false
 +Exec='/bin/bash' -c "gio open 'https://github.com/2004Scape/Server/commits/main/'"
 +Name=Commits Check
  
 [Desktop Action Notes] [Desktop Action Notes]
Line 165: Line 177:
  
 ====== Quick Commands ====== ====== Quick Commands ======
- 
-  * :!: TODO: Debian Node stuff 
  
 ===== Execute ===== ===== Execute =====
Line 178: Line 188:
   * https://github.com/2004Scape/Server/commits/main/   * https://github.com/2004Scape/Server/commits/main/
  
-  git -C ~/'Projects/2004Scape-Server/src' reset --hard && git -C ~/'Projects/2004Scape-Server/src' pull origin 'main' --rebase && cd ~/'Projects/2004Scape-Server/src' && npm run 'clean' --verbose && npm install --verbose && npm run 'setup' --verbose+  git -C ~/'Projects/2004Scape-Server/src' reset --hard && git -C ~/'Projects/2004Scape-Server/src' pull origin 'main' --rebase && npm --prefix ~/'Projects/2004Scape-Server/src' run 'clean' --verbose && npm --prefix ~/'Projects/2004Scape-Server/src' install --verbose  && npm --prefix ~/'Projects/2004Scape-Server/src' run 'setup' --verbose
  
 ===== Save Data Back-up ===== ===== Save Data Back-up =====
Line 198: Line 208:
   '/bin/bash' -c "gnome-terminal --window -t '2004Scape — Server' -- bash -c ~/'Projects/2004Scape-Server/scripts/localhost-server-start.sh'"   '/bin/bash' -c "gnome-terminal --window -t '2004Scape — Server' -- bash -c ~/'Projects/2004Scape-Server/scripts/localhost-server-start.sh'"
  
-  '/bin/bash' -c "kgx --title='2004Scape localhost Server' -~/'Projects/2004Scape-Server/scripts/localhost-server-start.sh'"+  '/bin/bash' -c "konsole -p tabtitle='2004Scape localhost Server' -~/'Projects/2004Scape-Server/scripts/localhost-server-start.sh'"
  
   '/bin/bash' -c "ptyxis --standalone --title='2004Scape Server — ' -- ~/'Projects/2004Scape-Server/scripts/localhost-server-start.sh'"   '/bin/bash' -c "ptyxis --standalone --title='2004Scape Server — ' -- ~/'Projects/2004Scape-Server/scripts/localhost-server-start.sh'"
  
-  '/bin/bash' -c "konsole -p tabtitle='2004Scape localhost Server' -e ~/'Projects/2004Scape-Server/scripts/localhost-server-start.sh'"+  '/bin/bash' -c "xfce4-terminal -T '2004Scape — Updater' -I ~/'Projects/2004Scape-Server/ext/favicon.ico' -e ~/'Projects/2004Scape-Server/scripts/localhost-server-update.sh'"
  
 ====== Troubleshooting ====== ====== Troubleshooting ======
/srv/www/wiki/data/attic/games/linux/2004scape_localhost.1745307202.txt.gz · Last modified: by Sean Rhone