Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 619bd21db8 | |||
| 11922d7199 | |||
| 16f3abf51b | |||
| c26663640d | |||
| 1a34854f4d | |||
| c0cdb495aa |
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
FROM alpine
|
||||||
|
|
||||||
|
RUN apk add --no-cache \
|
||||||
|
openjdk17-jre \
|
||||||
|
wget \
|
||||||
|
bash \
|
||||||
|
patch
|
||||||
|
|
||||||
|
RUN wget -O /usr/local/bin/apktool \
|
||||||
|
https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool && \
|
||||||
|
wget -O /usr/local/bin/apktool.jar \
|
||||||
|
https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_3.0.2.jar && \
|
||||||
|
chmod +x /usr/local/bin/apktool.jar && \
|
||||||
|
chmod +x /usr/local/bin/apktool
|
||||||
|
|
||||||
|
WORKDIR /data
|
||||||
|
|
||||||
|
CMD ["tail", "-f", "/dev/null"]
|
||||||
20
README.md
20
README.md
@@ -7,15 +7,19 @@ Bejewled Classic (v3.8.1) has issues with newer high resolution screens, which r
|
|||||||
|
|
||||||
## What's different
|
## What's different
|
||||||
|
|
||||||
- [v2026.7.7] Changed storage location from `/data/app/0/...` to `/storage/emulated/0/Android/media/com.ea.gp.bej3/` for exposing the savestates and stored settings
|
[v2026.7.7]
|
||||||
- [v2026.6.10] Changed the `xlargeScreens` afrom `false` to `true` to fix the forced landscape issue
|
- Changed storage location from `/data/app/0/...` to `/storage/emulated/0/Android/media/com.ea.gp.bej3/` for exposing the savestates and stored settings
|
||||||
|
- Added new app version (can be either viewed in app info or ingame in the about menu)
|
||||||
|
|
||||||
|
[v2026.6.10]
|
||||||
|
- Changed the `xlargeScreens` from `false` to `true` to fix the forced landscape issue
|
||||||
|
|
||||||
## Fix
|
## Fix
|
||||||
|
|
||||||
|
|
||||||
### Download
|
### Download
|
||||||
|
|
||||||
[Download from releases]()
|
[Download from releases](https://git.pinguin-software.de/DasMoorhuhn/bejeweled-classic/releases)
|
||||||
|
|
||||||
### DIY
|
### DIY
|
||||||
|
|
||||||
@@ -38,7 +42,7 @@ Bejewled Classic (v3.8.1) has issues with newer high resolution screens, which r
|
|||||||
- Answer every question, except the organisation (use anything like your nickname or whatever), with a `.` dot and finally confirm with `yes`
|
- Answer every question, except the organisation (use anything like your nickname or whatever), with a `.` dot and finally confirm with `yes`
|
||||||
5. Recompile and sign the apk with `sh recompile_and_sign.sh`
|
5. Recompile and sign the apk with `sh recompile_and_sign.sh`
|
||||||
- Alternativly run `sh recompile_and_install.sh` for directly installing it via adb
|
- Alternativly run `sh recompile_and_install.sh` for directly installing it via adb
|
||||||
6. Install the `bejeweled_classic_3.8.1_fix.apk` by transfering it to your phone or via adb, make sure to uninstall the existing app beforehand
|
6. Install the `bejeweled_classic_fix.apk` by transfering it to your phone or via adb, make sure to uninstall the existing app beforehand
|
||||||
|
|
||||||
### Patching
|
### Patching
|
||||||
|
|
||||||
@@ -53,3 +57,11 @@ Decompile the same APK to `./out_orig/` and do you chancges in `./out/`
|
|||||||
sh generate_patch_diff.sh
|
sh generate_patch_diff.sh
|
||||||
```
|
```
|
||||||
You may want to add a different app version like `android:versionCode='18101' android:versionName='3.8.1_2026.7.7'` to the `AndroidManifest.xml` file, otherwise the version which will be displayed in app info will be `3.8.1`.
|
You may want to add a different app version like `android:versionCode='18101' android:versionName='3.8.1_2026.7.7'` to the `AndroidManifest.xml` file, otherwise the version which will be displayed in app info will be `3.8.1`.
|
||||||
|
|
||||||
|
## Docker
|
||||||
|
|
||||||
|
The docker image contains all needed tools to decompile/compile an APK.
|
||||||
|
|
||||||
|
- Build the image: `docker compose build`
|
||||||
|
- Run the container: `docker compose up -d`
|
||||||
|
- Enter the container: `docker compose exec bejeweled-env bash`
|
||||||
10
compose.yml
Normal file
10
compose.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
services:
|
||||||
|
bejeweled-env:
|
||||||
|
container_name: bejeweled_env
|
||||||
|
image: bejeweled-env:1.0
|
||||||
|
stop_grace_period: "1s"
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
volumes:
|
||||||
|
- ./src:/data:rw
|
||||||
Reference in New Issue
Block a user