Skip to content

Commit

Permalink
add quests & change Readme
Browse files Browse the repository at this point in the history
add quests
change Readme
re add Changelog
  • Loading branch information
HerrErde committed Mar 28, 2024
1 parent bac272f commit 512b954
Show file tree
Hide file tree
Showing 5 changed files with 693 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
python script/generate_boards.py
python script/collection.py
python script/calender.py
python script/quests.py
- name: increase version
run: python script/update.py
Expand All @@ -41,7 +42,7 @@ jobs:
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git commit -am "characters, boards"
git commit -am "auto update files ${{steps.version.outputs.version}}"
git push
- name: Convert & Zip
Expand Down
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,55 @@
- Added Characters Thursday, outatimeJake
- Added Outfit botanicalHorrorOutfit (scarlett)
- Added Boards flamingdoll, backtothefuture

### v1.3.1

- add Todo
- update score multiplier
- update calender
- add scripts & update info
- fix not running error
- user_settings & tutorial
- Added Characters musician, jiYeong
- Added Outfit stanOutfit (alexandre)
- Added Boards kdillac, retroorange, neoseoul, energy

### v1.3.2

- Update upgrades.json
- Added Characters vivienne, lawrence
- Added Outfit sneakyblindersOutfit (alia)
- Added Boards fauxpunx, sharpeed

### v1.3.3

- Added Characters clockworkJohnny, captainFlash
- Added Outfit jingleOutfit (bobTheBlob)
- Added Boards winduprocket, snowdown, flashjet

### v1.3.4

- Added Characters skye, thunder
- Added Boards skyrocket, electroshock

### v1.3.5

- Added Characters dragonyear, azura
- Added Outfit cupidOutfit (alfie)
- Added Boards roaringheart, badabomb, redvelvet, lunarscroll, confetticrush

### v1.3.6

- rename / move files
- add list generator
- Added Characters astra, stella
- Added Outfit celestialOutfit (jiYeong)
- Added Boards interstellar, astrotune

### v1.3.7

- Characters.md & setup.py
- Added Characters lucky, meggan, redpanda
- Added Outfit eggstravaganzaOutfit (george)
- Added Outfit theholiOutfit (moira)
- Added Boards shamrockshebang, meggabite, jak, fastandfestive, radiantrider
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@

## Announcement

You can use [subway_gen](https://subway.herrerde.xyz) to customize your own SubwaySurf files, with different Coin/Keys/Boards/.. amount
You can use [subway_gen](https://subway.herrerde.xyz) to customize your own SubwaySurf files, with different Coin/Keys/.. amount, also with Characters and Boards picker

## Features

- Every [**Character**](https://subwaysurf.fandom.com/wiki/Characters) and their **Outfits**
- Every [**Hoverboard**](https://subwaysurf.fandom.com/wiki/Hoverboard) with every **Special Ability**
- **All Upgrades**
- **Max Level Upgrades**
- **Double Coins**
- **Endless Token Boost**
- _basicly_ **Unlimited Coins**
Expand All @@ -39,21 +39,23 @@ You can use [subway_gen](https://subway.herrerde.xyz) to customize your own Subw
- All **Collections**
- All **Trophies**
- All **Achievements**
- All **Quests**

### Info

The files of the SubwaySurfers App are now encrypted, not changing the way to add new names for the Characters/Outfits/Boards.
Because it is still possible to modify the SubwaySurfers files by just replacing the original SubwaySurfers files with the modified ones.

If you want to extract your own set of Characters or Boards, you can achieve this by downloading the app, renaming it to `.zip`, \
and then extracting the files `characters.json` and `boards.json` from the folder `assets/tower/gamedata/`. \
This folder contains the necessary data, allowing you to set all characters or boards along with their outfits and Special Abilities.
The save files in SubwaySurf are now encrypted, which doesn't change the way how to modify the pre-generated files, like new Characters/Outfits/Boards.
By just replacing your encrypted SubwaySurf save files with the unencrypted modified ones, it will modify to the new Values.

### How do I use it?

To modify the SubwaySurfers files, you'll need a file explorer and the latest release from [this link](https://github.com/HerrErde/SubwayBooster/releases/latest). Once you've downloaded the release, unpack the Zip file and extract it into the same folder. In the extracted files, you'll find the **Android** folder. Copy this folder to the **Internal Storage** of your Android device.
To modify the SubwaySurfers files, you'll need a file explorer and the latest [release](https://github.com/HerrErde/SubwayBooster/releases/latest). \
Once you've downloaded the release, simply unpack the Zip file and extract its contents into the same folder (This process may vary depending on the file explorer you're using).
In the extracted files, you'll have the **Android** folder. Copy this folder to the **Internal **Storage** (which has its own **Android** folder) of your Android device. (You'll need to have full access to your Android/data folder for this step).

If you need help join the [Discord Server](https://discord.gg/NAXbNwKK2V)

If you know what you're doing, you can edit the individual files and then copy them into the `com.kiloo.subwaysurf` folder. Just make sure to be careful and understand the changes you're making.
If you know how to, you can edit the individual files and then copy them into the `com.kiloo.subwaysurf` folder. \
Just make sure to know to understand which changes you're making.

---

Expand Down
21 changes: 21 additions & 0 deletions script/quests.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import json

quests_file = "src/profile/quests.json"
collections_file = "collections_data.json"


def update_quests(season):
with open(quests_file, "r+") as file:
quests_data = json.load(file)
quests_data["data"]["timeSlot"] = season
for quest_type in ["daily", "seasonal"]:
quests_data["data"]["questStates"][quest_type]["globalTimeslotId"] = season
file.seek(0)
file.truncate()
json.dump(quests_data, file, indent=2)


with open(collections_file) as f:
season = json.load(f).get("timeSlot", "")

update_quests(season)
Loading

0 comments on commit 512b954

Please sign in to comment.