Skip to content

Commit

Permalink
updated tutorial a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberSteve777 committed Dec 22, 2024
1 parent ca7fc23 commit 1291817
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@

---
## How to use:
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.
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`.
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>`.
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.
How to fix this? Go to your repository `Settings -> Pages`, change branch in corresponding section from `master` to `gh-pages` and save settings.
Now pages deployment task should rerun, and after finishing deployment your site will contain necessary files.
---
## How to actually make it appear in game? (Android-friendly edition)
You need to edit `serverconfig.rton` in `dynamic.rsb(.smf)` file of the game.
Expand Down

0 comments on commit 1291817

Please sign in to comment.