Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:bsd:rt4_client_runescape_530 [2025/05/23 16:57] – Sean Rhone | games:bsd:rt4_client_runescape_530 [2025/05/23 18:18] (current) – [Client Start] Sean Rhone |
---|
| |
export JAVA_HOME='/usr/local/openjdk8' | export JAVA_HOME='/usr/local/openjdk8' |
export _JAVA_OPTIONS="-Djogamp.gluegen.UseTempJarCache='false' -Djava.io.tmpdir='$HOME/Projects/RT4-Client/cache/' -DclientHomeOverride='$HOME/Projects/RT4-Client/cache/' -Djogl.disable.opengles='true'" | export _JAVA_OPTIONS="-Djogamp.gluegen.UseTempJarCache='false' -Djava.io.tmpdir='$HOME/Projects/RT4-Client/cache/' -DclientHomeOverride='$HOME/Projects/RT4-Client/cache/' -Djogl.disable.opengles='true' -XX:+UseSerialGC -Xms1G -Xmx4G" |
export vblank_mode='3' | export vblank_mode='3' |
| |
| |
===== 2009Scape (localhost) ===== | ===== 2009Scape (localhost) ===== |
| |
* TODO: More stuff from [[games:bsd:2004scape_localhost#scape|2004Scape]] and separate client launch script | |
| |
mkdir -p ~/'.local/share/applications' && ee ~/'.local/share/applications/2009Scape-localhost.desktop' && sed -i -e 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/2009Scape-localhost.desktop' && update-desktop-database --quiet ~/'.local/share/applications' | mkdir -p ~/'.local/share/applications' && ee ~/'.local/share/applications/2009Scape-localhost.desktop' && sed -i -e 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/2009Scape-localhost.desktop' && update-desktop-database --quiet ~/'.local/share/applications' |
Name=2009Scape | Name=2009Scape |
Categories=Game; | Categories=Game; |
Exec='/bin/sh' -c "cd ~/'Projects/RT4-Client/src/client' && mesa_glthread='false' vblank_mode='3' JAVA_HOME='/usr/local/openjdk8' java -XX:+UseSerialGC -Xms1G -Xmx4G -Djogamp.gluegen.UseTempJarCache='false' -jar ~/'Projects/RT4-Client/src/client/build/libs/client-'*'.jar' --config ~/'Projects/RT4-Client/conf/localhost.json'" | Exec='/bin/sh' -c "~/'Projects/RT4-Client/scripts/client-start.sh'" |
Type=Application | Type=Application |
StartupNotify=false | StartupNotify=false |
Icon=/home/CHANGEME/Projects/RT4-Client/src/client/src/main/resources/saradomin.png | Icon=/home/CHANGEME/Projects/RT4-Client/src/client/src/main/resources/saradomin.png |
Actions=Server;Saves;Server-Update;Client-Update;Server-Notes;Client-Notes; | Actions=Server;Saves-Backup;Server-Update;Client-Update;Saves-Folder;Updates-Check;Notes; |
| |
[Desktop Action Server] | [Desktop Action Server] |
Name=Start Server | Name=Start Server |
| |
[Desktop Action Saves] | [Desktop Action Saves-Backup] |
Exec='/bin/sh' -c "~/'Projects/2009Scape-Server/scripts/localhost-save-backup.sh'" | Exec='/bin/sh' -c "~/'Projects/2009Scape-Server/scripts/localhost-save-backup.sh'" |
Name=Save Data Back-up | Name=Save Data Back-up |
Name=Client Update | Name=Client Update |
| |
[Desktop Action Server-Notes] | [Desktop Action Saves-Folder] |
StartupNotify=false | StartupNotify=false |
Exec='/bin/sh' -c "gio open 'https://wiki.realmofespionage.xyz/servers:bsd:games:2009scape_localhost'" | Exec='/bin/sh' -c "gio open ~/'Projects/2009Scape-Server/src/Server/data/players'" |
Name=Install Notes (Server) | Name=Open Saves Folder |
| |
[Desktop Action Client-Notes] | [Desktop Action Updates-Check] |
StartupNotify=false | StartupNotify=false |
Exec='/bin/sh' -c "gio open 'https://wiki.realmofespionage.xyz/games:bsd:rt4_client_runescape_530'" | Exec='/bin/sh' -c "gio open 'https://gitlab.com/2009scape/2009scape/-/commits/master?ref_type=heads' 'https://gitlab.com/2009scape/rt4-client/-/commits/master?ref_type=heads'" |
Name=Install Notes (Client) | Name=Commits Check |
| |
| [Desktop Action Notes] |
| StartupNotify=false |
| Exec='/bin/sh' -c "gio open 'https://wiki.realmofespionage.xyz/servers:bsd:games:2009scape_localhost' 'https://wiki.realmofespionage.xyz/games:bsd:rt4_client_runescape_530'" |
| Name=Install Notes |
| |
# End</code> | # End</code> |
| |
====== Quick Commands ====== | ====== Quick Commands ====== |
| |
| * :!: 2025/05/23: All TODO |
| |
===== Execute ===== | ===== Execute ===== |