GithubHelp home page GithubHelp logo

kitsunedfox / aethersx2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from manemobiili/aethersx2

0.0 0.0 0.0 28.99 MB

https://archive.org/details/aethersx2-libemucore.tar

License: GNU General Public License v3.0

Shell 0.32% C++ 89.18% Perl 0.32% C 4.46% Objective-C 0.02% TeX 0.32% Objective-C++ 0.07% HTML 1.06% NSIS 0.20% CMake 1.80% GLSL 0.80% Batchfile 0.05% HLSL 1.34% Roff 0.05%

aethersx2's Introduction

All credit's go to Tahlreth.

AetherSX2 Build Instructions

Please note that this is not a full source release for the library, only the LGPL sources, and parts of which that have been modified. Releasing full source code is not required by the LGPL, only that the closed source components can be re-linked/combined with the LGPL components and build instructions included as per section 4/5 of the license.

An apk suitable for injecting the recompiled library is provided as a convenience, as the library cannot be used outside of the Android app without modification.

You will need:

  • Android SDK, Build Tools and NDK.
  • A Linux machine.
  • CMake

Build steps:

  1. Clone the repo and change into that directory: cd aethersx2
  2. Create a build directory for the native library and change into it: mkdir build-android; cd build-android
  3. Configure the build system. Change PATH_TO_NDK to whereever the NDK is installed: cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=/PATH_TO_NDK/build/cmake/android.toolchain.cmake -DANDROID_PLATFORM=android-26 -DANDROID_ABI=arm64-v8a ..
  4. Compile the native library: make -j16 (or whatever CPU count you have)
  5. Create a directory for packaging the APK: mkdir apk; cd apk
  6. Copy the skeleton APK to this directory: cp PATH_TO_app-release-unsigned.apk aethersx2.apk
  7. Copy the native library into the correct location: mkdir -p lib/arm64-v8a; cp ../pcsx2/libemucore.so lib/arm64-v8a
  8. Add the native library to the APK. zip is used instead of aapt because aapt will compress it: zip -0 aethersx2.apk lib/arm64-v8a/libemucore.so
  9. Ensure the native library is aligned to a 4-byte boundary: zipalign -p 4 aethersx2.apk aethersx2-aligned.apk
  10. Create a signing key for your build. Mark down the keystore password. keytool -genkey -v -keystore keyname.keystore -alias keyname -keyalg RSA -keysize 2048 -validity 10000
  11. Sign the APK, replacing PASSWORD_TO_KEYSTORE with above: apksigner sign --ks keyname.keystore --ks-pass "pass:PASSWORD_TO_KEYSTORE" --ks-key-alias keyname --out aethersx2-signed.apk --verbose aethersx2-aligned.apk

This will produce aethersx2-signed.apk, which can be installed on your device.


Proceed at your own risk.

Original source code was uploaded to archive.org by juliussan January 16th 2023 https://archive.org/details/aethersx2-libemucore.tar

aethersx2's People

Contributors

manemobiili avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.