Skip to content

Commit

Permalink
updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberSteve777 committed Dec 22, 2024
1 parent 89836b0 commit 1c0f3dd
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
## How to use:
It needs to be done in two steps:

- Select `use this template -> create new repository`, name it with `<your_github_username>.github.io` (lower case every letter here), and put your android translation into `raw/<game_version>` folder under `android_file.txt` name, result path should be `raw/<game_version>/android_file.txt`. For ios it will be `raw/<game_version>/ios_file.txt`.
- Select `use this template -> create new repository`, name it with `<your_github_username>.github.io` (lower case every letter here), and put your android translation into `raw/<game_version>` folder under `android_file.txt` name, result path should be `raw/<game_version>/android_file.txt`.
For iOS it will be `raw/<game_version>/ios_file.txt`.
Push the changes, and you'll see 2 actions running on github, one after another.
First one will create `gh-pages` branch, and there will be folders with such structure: `<game_version>/<ad>` and `<game_version/ios>`.
First one will create `gh-pages` branch, and there will be folders with such structure: `<game_version>/ad` and `<game_version/ios>`.
If some of raw files weren't present, e.g., `raw/<game_version>/ios_file.txt`, then `<game_version/ios>` folder won't be created.
These folders will contain two folders - `res_release` and `res_shipping`. All these directories will have `pvz2_l.txt` and `file_list.txt` files ready to use for your server-side pvz2c lawnstrings.
- Your site is kinda online, but it doesn't contain necessary for you files. Why? Because Github Pages are currently built from `master` branch, and not recently created `gh-pages` branch.
Expand All @@ -27,7 +28,7 @@ Said rton is located in Packages, and you'll need to decrypt and decode it.
I suggest [Sen](https://github.com/harumazzz/Sen.Environment) for that.
After converting said file to json, find `LawnStringServerConfig` and replace corresponding links with your own ones.

Example links for 3.5.8 on android (on ios replace `ad` with `ios`):
Example links for 3.5.8 on android (on iOS replace `ad` with `ios`):
```
https://<your_github_username>.github.io/3.5.8/ad/res_release
https://<your_github_username>.github.io/3.5.8/ad/res_shipping
Expand All @@ -36,6 +37,6 @@ https://<your_github_username>.github.io/3.5.8/ad/res_shipping
After that, encrypt and encode json back to rton, pack `dynamic.rsb(.smf)` file back and put it into the game folder.
But before - back up original `dynamic.rsb(.smf)` just in case. After that, launch your game, and you should see your translation here.

Most important steps will work even on ios, the only difference will be in rton location.
I don't have any Apple device nor tools to work with it, so can't help much. But if you are doing that on ios, then you definitely know more than me)
Most important steps will work even on iOS, the only difference will be in rton location.
I don't have any Apple device nor tools to work with it, so can't help much. But if you are doing that on iOS, then you definitely know more than me)
### Good luck with translation and enjoy the gaming!)

0 comments on commit 1c0f3dd

Please sign in to comment.