Merge branch 'linux' of https://github.com/GooborgStudios/synglechance into linux
This commit is contained in:
commit
f7b3f1ba17
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
rm -rf journal/mac/__pycache__
|
rm -rf journal/mac/__pycache__
|
||||||
|
rm -rf steamshim_parent/steamshim
|
||||||
rm -rf build
|
rm -rf build
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
rm -rf _______.app
|
rm -rf _______.app
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,10 @@ echo "-> ${cyan}Generate makefile...${color_reset}"
|
||||||
qmake -qt=5
|
qmake -qt=5
|
||||||
echo "-> ${cyan}Compile engine...${color_reset}"
|
echo "-> ${cyan}Compile engine...${color_reset}"
|
||||||
make -j${make_threads}
|
make -j${make_threads}
|
||||||
|
echo "-> ${cyan}Compile steamshim...${color_reset}"
|
||||||
|
cd steamshim_parent
|
||||||
|
HOST=linux64 make -j${make_threads}
|
||||||
|
cd ..
|
||||||
echo "-> ${cyan}Compile journal...${color_reset}"
|
echo "-> ${cyan}Compile journal...${color_reset}"
|
||||||
pyinstaller journal/unix/journal.spec --onefile --windowed
|
pyinstaller journal/unix/journal.spec --onefile --windowed
|
||||||
|
|
||||||
|
|
@ -42,4 +46,4 @@ rm -rf journal/unix/__pycache__
|
||||||
rm -rf build
|
rm -rf build
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
|
|
||||||
echo "\n${green}Complete! ${white}Please report any issues to https://github.com/vinyldarkscratch/synglechance/issues${color_reset}"
|
echo "\n${green}Complete! ${white}Please report any issues to https://github.com/GooborgStudios/synglechance/issues${color_reset}"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ set -e
|
||||||
cd `dirname $0`
|
cd `dirname $0`
|
||||||
|
|
||||||
# User-configurable variables
|
# User-configurable variables
|
||||||
mac_version="1.0.2"
|
mac_version="1.0.4"
|
||||||
make_threads=8
|
make_threads=8
|
||||||
ONESHOT_PATH=$HOME/Library/Application\ Support/Steam/steamapps/common/OneShot
|
ONESHOT_PATH=$HOME/Library/Application\ Support/Steam/steamapps/common/OneShot
|
||||||
|
|
||||||
|
|
@ -22,6 +22,10 @@ echo "-> ${cyan}Generate makefile...${color_reset}"
|
||||||
qmake MRIVERSION=2.5
|
qmake MRIVERSION=2.5
|
||||||
echo "-> ${cyan}Compile engine...${color_reset}"
|
echo "-> ${cyan}Compile engine...${color_reset}"
|
||||||
make -j${make_threads}
|
make -j${make_threads}
|
||||||
|
echo "-> ${cyan}Compile steamshim...${color_reset}"
|
||||||
|
cd steamshim_parent
|
||||||
|
HOST=osx make -j${make_threads}
|
||||||
|
cd ..
|
||||||
echo "-> ${cyan}Compile journal...${color_reset}"
|
echo "-> ${cyan}Compile journal...${color_reset}"
|
||||||
pyinstaller journal/unix/journal.spec --onefile --windowed
|
pyinstaller journal/unix/journal.spec --onefile --windowed
|
||||||
|
|
||||||
|
|
@ -43,7 +47,7 @@ if [ ! -e $ResourcesDir ]
|
||||||
mkdir -p "$ResourcesDir"
|
mkdir -p "$ResourcesDir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp patches/mac/steamshim ./OneShot.app/Contents/Resources/steamshim
|
cp steamshim_parent/steamshim ./OneShot.app/Contents/Resources/steamshim
|
||||||
cp patches/mac/libsteam_api.dylib ./OneShot.app/Contents/Libraries/libsteam_api.dylib
|
cp patches/mac/libsteam_api.dylib ./OneShot.app/Contents/Libraries/libsteam_api.dylib
|
||||||
cmake -P patches/mac/CompleteBundle.cmake
|
cmake -P patches/mac/CompleteBundle.cmake
|
||||||
cp assets/icon.icns ./OneShot.app/Contents/Resources/icon.icns
|
cp assets/icon.icns ./OneShot.app/Contents/Resources/icon.icns
|
||||||
|
|
@ -75,4 +79,4 @@ rm -rf journal/unix/__pycache__
|
||||||
rm -rf build
|
rm -rf build
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
|
|
||||||
echo "\n${green}Complete! ${white}Please report any issues to https://github.com/vinyldarkscratch/synglechance/issues${color_reset}"
|
echo "\n${green}Complete! ${white}Please report any issues to https://github.com/GooborgStudios/synglechance/issues${color_reset}"
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>macOS Port v.ONESHOTMACVERSION (OneShot Solstice Update)</string>
|
<string>macOS Port v.ONESHOTMACVERSION</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>ONESHOTMACVERSION</string>
|
<string>ONESHOTMACVERSION</string>
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -743,6 +743,9 @@ void Graphics::transition(int duration,
|
||||||
|
|
||||||
setBrightness(255);
|
setBrightness(255);
|
||||||
|
|
||||||
|
/* Capture new scene */
|
||||||
|
p->screen.composite();
|
||||||
|
|
||||||
/* The PP frontbuffer will hold the current scene after the
|
/* The PP frontbuffer will hold the current scene after the
|
||||||
* composition step. Since the backbuffer is unused during
|
* composition step. Since the backbuffer is unused during
|
||||||
* the transition, we can reuse it as the target buffer for
|
* the transition, we can reuse it as the target buffer for
|
||||||
|
|
@ -750,9 +753,6 @@ void Graphics::transition(int duration,
|
||||||
TEXFBO ¤tScene = p->screen.getPP().frontBuffer();
|
TEXFBO ¤tScene = p->screen.getPP().frontBuffer();
|
||||||
TEXFBO &transBuffer = p->screen.getPP().backBuffer();
|
TEXFBO &transBuffer = p->screen.getPP().backBuffer();
|
||||||
|
|
||||||
/* Capture new scene */
|
|
||||||
p->screen.composite();
|
|
||||||
|
|
||||||
/* If no transition bitmap is provided,
|
/* If no transition bitmap is provided,
|
||||||
* we can use a simplified shader */
|
* we can use a simplified shader */
|
||||||
TransShader &transShader = shState->shaders().trans;
|
TransShader &transShader = shState->shaders().trans;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue