Commit graph

14 commits

Author SHA1 Message Date
Miepee 47da221fa8 replace readme 2022-11-23 10:41:57 -06:00
Miepee d4cf843bcf
readme: make java dependencies clearer 2022-11-09 12:14:17 +01:00
Ivv 3e2121c854
Patch out insecure dependencies and add NixOS instructions (#30)
* Patch out insecure dependencies and add NixOS instructions

This commit uses `patchelf` to remove the dependency on OpenSSL 1.0,
which is outdated and considered insecure. It replaces this dependency
with libcurl, of which the latest version works just fine.

This should make sure that any distrobution can run the generated binary
out of the box, without needing a dynamically linked placeholder.

I also noticed the game failed to start on my AMD machine, and after looking
through Mesa's Gitlab I found a workaround using an environment variable.
A wrapper bash script that sets this variable and executes the `runner` binary
is created to take care of this automatically.

This commit adds instructions on how to run the game on NixOS as well.

* readme: gramar fixes

* patcher: fix syntax error

* readme: add some codeblocks
2022-08-14 23:24:49 +02:00
Miepee 7d180c1dad
Rewrite patcher in Bash (#29)
* Add shell patcher

* Readme changes, exclude apk from git, slight android cleanage

* Implement review suggestions

- put main routine into seperate function
- use locals
- make some input access safe
- use tempdir for appimage creation
- check whether Java / xdelta is installed
- print errors to stderr
- Improve APK creation by copying less, and using tempDirs

Co-Authored-By: Ivv <41924494+ivarwithoutbones@users.noreply.github.com>

* Applied more review comments

- mention the new dependencies
- make linux default OS
- make patcher not create in a subdir into prefix with local
- change return to exit for non-0
- better indicate arguments
- remove unneded dirs from cleaning

Co-Authored-By: Ivv <41924494+ivarwithoutbones@users.noreply.github.com>

* Fixes mostly android bugs

- Removed credits
- make android builds not have unnecessary assets
- fix "is-installed" check
- Make android properly ignore systemwide

* Some more slight cleanups

- rename OUTPUT to GAMEDIR to be more understandable

* Fix application icon not being according to XDG in systemwide install

* Make accidental deletion of important folders impossible

Co-authored-by: Ivv <41924494+ivarwithoutbones@users.noreply.github.com>
2022-08-11 20:08:01 -05:00
Miepee d723f80592
Merge pull request #27 from AM2R-Community-Developers/gpu-fix
Gpu fix
2022-01-07 11:10:20 +01:00
Miepee e3b01200f3 add python shebang + install python3 on ubuntu because they're dumb 2021-11-11 12:28:54 +01:00
Miepee 7af143f1d3 dont use symlink, rename instead 2021-11-08 14:32:01 +01:00
Miepee b69ea9ecb7
forgot argument for amd env var 2021-09-27 09:24:18 +02:00
Miepee dfc080f012
Mention GPU workarounds in readme 2021-09-27 09:21:43 +02:00
Miepee aff34ac0f8
Fix readme typo 2021-09-22 13:09:36 +02:00
Miepee 134d1de031
Add in libcurl3 workaround 2021-08-30 12:26:02 +02:00
Miepee 57b87633ad
Added the controller libs back to the readme 2021-03-29 10:11:42 +02:00
Lojemiru 6505389d13 Commit to restore contributor attribution
Co-Authored-By: Sebin Nyshkim <13051568+SebinNyshkim@users.noreply.github.com>
Co-Authored-By: ludvigng <50339757+ludvigng@users.noreply.github.com>
Co-Authored-By: Miepee <38186597+Miepee@users.noreply.github.com>
2021-03-26 05:06:19 -05:00
Miepee f862c9f876 Commit reset for new Launcher 2021-03-26 09:00:34 +01:00