If you would like to contribute code to this project please follow these Pull Request guidelines:
- (Optional but encouraged) Find at least one maintainer interested in your PR
- Fork the project
- Create a branch specifically for the feature you are contributing
- (Optional but encouraged) Rebase your branch as needed. Please see quick reference if you are new to git.
- After you are happy with your work, please make sure to submit a Pull Request from the feature branch. You are heavily discouraged from making pull requests from your main branch because we may not be able to get to your PR before you make new changes to your PR.
If contributing code for characters, please try to be explicit about what is complete or incomplete. A rough guideline for your comment is as follows:
- Frames
- Talents
- C0 Normals
- C0 Skill
- C0 Burst
- A1
- A4
- Sanity Test Cases
- C1
- C2
- C3
- C4
- C5
- C6
Click to expand copy-paste friendly version
- [ ] Frames
- [ ] Talents
- [ ] C0 Normals
- [ ] C0 Skill
- [ ] C0 Burst
- [ ] A1
- [ ] A4
- [ ] Sanity Test Cases
- [ ] C1
- [ ] C2
- [ ] C3
- [ ] C4
- [ ] C5
- [ ] C6
For those who are new to git/github
git checkout -b newbranchname
creates a new branch from your current branch
If you have committed code, but upon finishing your feature, the main branch has progressed, you are encouraged to rebase it to ensure it still works.
Please reach out for help if you are not sure how to do this step, the following steps can be dangerous and you can lose your work if not done correctly.
To rebase your branch you will need to run the command
git rebase --onto <newparent> <oldparent>
git push -f
Where new parent is the commitment hash of the newest commit on the main branch and old parent is the commitment hash of the oldest common commitment between your feature branch and the main branch.
- Create a Config file
- Navigate to
./gcsim/cmd/gcsim
- Run
go build
to build the executable and then feed your config file in e.g../gcsim.exe -c="config.txt" -out="out.gz" -gz
OR Rungo run . -c="config.txt" -out="out.gz" -gz
- Upload to the viewer to view the output file to confirm everything is working accordingly, and optionally share the viewer in discord for debugging help.