From 4a76d7d2c46a02bd3d05c3f347bcd60c83ff5708 Mon Sep 17 00:00:00 2001 From: Eliza Velasquez <4576666+elizagamedev@users.noreply.github.com> Date: Wed, 17 Jun 2020 19:11:11 -0700 Subject: [PATCH] Even more linux/itch fixes --- README.md | 24 ++++++++++++++++++++++- assets/journal.png | Bin 0 -> 3191 bytes journal/unix/journal-linux.spec | 33 ++++++++++++++++++++++++++++++++ make-appimage.sh | 21 +++++++++++--------- make-journal-linux.sh | 33 ++++++++++++++++++++++++++++++++ scripts/Persistent.rb | 9 ++++++--- scripts/Script.rb | 30 ++++++++++++++++++----------- scripts/i18n_Language.rb | 2 +- 8 files changed, 127 insertions(+), 25 deletions(-) create mode 100644 assets/journal.png create mode 100644 journal/unix/journal-linux.spec create mode 100755 make-journal-linux.sh diff --git a/README.md b/README.md index 649e031..1a0f04a 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,29 @@ Finally, you can build the project by running the following: conan build .. ``` -On Ubuntu, you may now run `../make-appimage.sh .. . /path/to/game/files /some/path/OneShot.AppImage` to create an AppImage. Requires [linuxdeploy](https://github.com/linuxdeploy/linuxdeploy) and [AppImageTool](https://github.com/AppImage/AppImageKit) in your `PATH`. +On Linux, you likely want to generate an AppImage. Please refer to how to build the Journal app below, as this is a prerequisite for building the AppImage. Afterwards, you may run the command, from the root directory of the repository: + +```sh +./make-appimage.sh . build /path/to/game/files /path/to/journal/_______ /some/path/OneShot.AppImage` +``` + +Requires [linuxdeploy](https://github.com/linuxdeploy/linuxdeploy) and [AppImageTool](https://github.com/AppImage/AppImageKit) in your `PATH`. + +## Building the Journal app on Unix systems + +As a prerequisite on Ubuntu, ensure that the following packages are installed. + +```sh +sudo apt install python3-venv libxcb-xinerama +``` + +Then run the script. From the root of the repository: + +```sh +./make-journal-linux.sh . /path/to/journal/parent/directory/ +``` + +This will generate a file called `_______`. ### Supported image/audio formats These depend on the SDL auxiliary libraries. *OneShot* only makes use of bmp/png for images and oggvorbis/wav for audio. diff --git a/assets/journal.png b/assets/journal.png new file mode 100644 index 0000000000000000000000000000000000000000..1059678c4bcb1e2c9910e87619d594af1d813c2c GIT binary patch literal 3191 zcmb`J2|SeR9><@d88sL>%rIk{6K*QYM467gvNTCqQWS|X7#TCoOd{Ke4s}AxQ7Fqj zhYICb3Rxnw$F1qak!2EDri?AijOD)0=ho*|?&03geLm0oKHKm6f1c<6JfHvjp0?j@ zBaOr%0RYmZ9hQy&h(T2`uu>c<>T@+70XH9=~<4Yx})Wk3W9zn9ICTX03w8 zA64@zd3Q}RE)h0-)%i&f?1V5$&3y2H>V#K+*+z>7y%Xhc$Sw6Ovxs=APmgvtHxBOX zikZP(dw@@r)HYP2t3_H z8#Zh9y>V!;%{!lIJ+rd=2rc}!GVgUtdeUlh#JTp)w8Grg0!z1o*AjU(nZMq+b>{ns zz8J$X?QWg8W@6uCr@GesybFz&>w+4}HXj%rHC|DB`p&_$kq1l>%_(EFuXk{B+LO=_ z%Nb!+$c~9{X66qc2EzKsVp4P@W^yhjN242}<07-Iw@&nR&lR=rloiMN<9bPvy61mE z9n^d4PRs3Ywv|#KzErct@P$#1S@V`9KQTFlu84exv+;Y{bSeh<(+-VI3SpUHrwsF> zB5R~eR>8F{5n`*6b}r(py|pY5U6@wC>(MBLzWfb&>=}=29|fhpT9Z+u($r^lHTRO| z9zOJlo-S`HUGE)hb`n#Jn@K3Za494Cr`*VL<`LRNG4sD+@!$Os-F!%&G?8>vAGRjs zjEUXE1?6HnZ-KCNXMoiq6XL7cszst?3r9c~X`$zRB>qKz( z>Y4iBT^ov_7#r1o4C?-QPu?);X?oEec0XcmIdR{w(3N zgD=RP;bN{_qd>m&GxTxW7Z<#6g@)@>(gyqEt||Wba94t#Q*0aUfD&BLIi5J4u3sr5 zcTm^nvPi17#(di)kxz( z#O%v~_6Al#pAP31(fG>UE&=BO$H3{jR-MP>DuiwK3{wX)IbAhk@QwI7LZC1t}yleGYXn5J$SgJCS_zh5F6=R1h3jj&Eg$D-GE-ONv5^R#4 zl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