Posts

Showing posts from January, 2019

Run non steam windows game under Linux

For example I want to run caesar 3 windows game.. Create this script in Caesar 3 folder, named c3.sh $ vi c3.sh #!/bin/bash SCRIPT=`realpath $0` SCRIPTPATH=`dirname $SCRIPT` export STEAM_COMPAT_DATA_PATH="$SCRIPTPATH/compatdata" mkdir $STEAM_COMPAT_DATA_PATH # change this to your proton binary, for example: $HOME/.local/share/Steam/steamapps/common/Proton 3.16/proton PROTON="/path/steamlibrary/Steam/SteamApps/common/Proton 3.16/proton" # change c3.exe to your game executable EXE="c3.exe" "$PROTON" run "$SCRIPTPATH/$EXE" killall -r "$EXE" $ chmod +x c3.sh Run Steam, open menu Games -> Add Non Steam Game -> Browse... and choose c3.sh Click Play to run! 😼

Smooth Sweet Home 3D in Linux

Add  flag: sun.java2d.opengl=true to launch script: # vi SweetHome3D-Java3D-1_5_2 ... exec "$PROGRAM_DIR"/jre8/bin/java -Xmx2g -Dsun.java2d.opengl=true -classpath "$PROGRAM_DIR"/lib/SweetHome3D.jar:"$PROGRAM_DIR"/lib/Furniture.jar:"$PROGRAM_DIR"/lib/Textures.jar:"$PROGRAM_DIR"/lib/Examples.jar:"$PROGRAM_DIR"/lib/Help.jar:"$PROGRAM_DIR"/lib/batik-svgpathparser-1.7.jar:"$PROGRAM_DIR"/lib/jeksparser-calculator.jar:"$PROGRAM_DIR"/lib/iText-2.1.7.jar:"$PROGRAM_DIR"/lib/freehep-vectorgraphics-svg-2.1.1b.jar:"$PROGRAM_DIR"/lib/sunflow-0.07.3i.jar:"$PROGRAM_DIR"/lib/jmf.jar:"$PROGRAM_DIR"/lib/j3dcore.jar:"$PROGRAM_DIR"/lib/j3dutils.jar:"$PROGRAM_DIR"/lib/vecmath.jar:"$PROGRAM_DIR"/jre8/lib/javaws.jar -Djava.library.path="$PROGRAM_DIR"/lib -Dcom.eteks.sweethome3d.applicationId=SweetHome3D#Installer com.eteks.sweethome3d.S