-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c0410ae
Showing
33 changed files
with
1,309 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Discord Webhook Action | ||
|
||
These are some github actions I use on my packs. | ||
|
||
Feel free to use as you see fit. | ||
|
||
## discord_webhook.yml | ||
|
||
This is the discord webhook action I use to automatically post updates of my pack to discord. | ||
|
||
Requires the Webhook URL to be placed in a repo secret on github named ``DISCORD_WEBHOOK_URL``. | ||
|
||
## validation.yml | ||
|
||
This is the pack validation action I use to automatically validate json against the offical PopTracker schemas. | ||
|
||
It uses the [PopTracker pack-checker-action](https://github.com/PopTracker/pack-checker-action). | ||
|
||
Triggers whenever a push or pull request including changes to any json file are made. Can also be run manually. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Discord webhook | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
discord_webhook: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Discord Webhook Notify | ||
uses: Cyb3RGER/discord-webhook-notify@master | ||
with: | ||
webhookUrl: ${{ secrets.DISCORD_WEBHOOK_URL }} | ||
severity: info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Pack validation | ||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- '**.json' | ||
pull_request: | ||
paths: | ||
- '**.json' | ||
jobs: | ||
validation: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.6.0 | ||
- name: Validate pack (lax) | ||
uses: PopTracker/pack-checker-action@v1 | ||
- name: Validate pack (strict) | ||
uses: PopTracker/pack-checker-action@v1 | ||
with: | ||
strict: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
todo.* | ||
.~lock.* | ||
*.xcf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Template Pack for PopTracker | ||
|
||
This a template tracker package for PopTracker. | ||
|
||
Includes examples for AP and SNES memory autotracking and beginner-friendly explanations in the pack. | ||
|
||
## Installation | ||
|
||
Just download the lastest build or source and put in your packs folder (unpacked). | ||
|
||
## More Info | ||
|
||
Check out PopTrackers Documentation on packs [here](https://github.com/black-sliver/PopTracker/blob/master/doc/PACKS.md) | ||
|
||
Still having trouble realizing your pack and looking for help or just want more information about everything PopTracker? Check out the ['Unofficial' PopTracker Discord Server](https://discord.com/invite/gwThqMCPgK)! | ||
|
||
## License | ||
|
||
Feel free to use this template without credit for all your PopTracker packs! |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
//more info: https://github.com/black-sliver/PopTracker/blob/master/doc/PACKS.md#items | ||
[ | ||
{ | ||
"name": "Toggle", | ||
"type": "toggle", | ||
"img": "images/items/toggle.png", | ||
"codes": "toggle" | ||
}, | ||
{ | ||
"name": "Progressive", | ||
"type": "progressive", | ||
"allow_disabled": true, | ||
"initial_stage_idx": 0, | ||
"stages": [ | ||
{ | ||
"img": "images/items/progressive.png", | ||
"codes": "progressive", | ||
"inherit_codes": false | ||
}, | ||
{ | ||
"img": "images/items/progressive_2.png", | ||
"codes": "progressive_2", | ||
"inherit_codes": false | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Consumable", | ||
"type": "consumable", | ||
"img": "images/items/consumable.png", | ||
"max_quantity": 8, | ||
"increment": 1, | ||
"decrement": 1, | ||
"initial_quantity": 1, | ||
"overlay_background": "#000000", | ||
"overlay_font_size": 8, | ||
"codes": "consumable" | ||
}, | ||
{ | ||
"name": "Progressive Toggle", | ||
"type": "progressive_toggle", | ||
"initial_stage_idx": 0, | ||
"stages": [ | ||
{ | ||
"img": "images/items/progressive.png", | ||
"codes": "progressive_toggle", | ||
"inherit_codes": false | ||
}, | ||
{ | ||
"img": "images/items/progressive_2.png", | ||
"codes": "progressive_toggle_2", | ||
"inherit_codes": false | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
//sets the layout for the broadcast view | ||
{ | ||
"tracker_broadcast": { | ||
"type": "array", | ||
"orientation": "vertical", | ||
"margin": "0,0", | ||
"content": [ | ||
{ | ||
"type": "array", | ||
"orientation": "horizontal", | ||
"margin": "0,0", | ||
"content": [ | ||
{ | ||
"type": "layout", | ||
"key": "shared_item_grid" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// sets layouts for shadred items grids | ||
// bigger example: https://github.com/Cyb3RGER/sm_ap_tracker/blob/main/layouts/items.json | ||
{ | ||
"shared_item_grid": { | ||
"type": "array", | ||
"orientation": "vertical", | ||
"margin": "0,0", | ||
"content": [ | ||
{ | ||
"type": "array", | ||
"orientation": "horizontal", | ||
"margin": "0,0", | ||
"content": [ | ||
{ | ||
"type": "itemgrid", | ||
"item_margin": "10, 10", | ||
"h_alignment": "left", | ||
"rows": [ | ||
[ | ||
"toggle", | ||
"progressive" | ||
], | ||
[ | ||
"consumable", | ||
"progressive_toggle" | ||
] | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
//sets the trackers layout | ||
//more info: https://github.com/black-sliver/PopTracker/blob/master/doc/PACKS.md#layouts | ||
{ | ||
"tracker_default": { | ||
"type": "container", | ||
"background": "#000000", | ||
"content": { | ||
"type": "dock", | ||
"dropshadow": true, | ||
"content": [ | ||
{ | ||
"type": "dock", | ||
"dock": "left", | ||
"v_alignment": "stretch", | ||
"content": [ | ||
{ | ||
"type": "group", | ||
"header": "Items", | ||
"dock": "top", | ||
"content": { | ||
"type": "layout", | ||
"key": "shared_item_grid" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "tabbed", | ||
"tabs": [ | ||
{ | ||
"title": "Map 1", | ||
"content": { | ||
"type": "map", | ||
"maps": [ | ||
"map1" | ||
] | ||
} | ||
}, | ||
{ | ||
"title": "Map 2", | ||
"content": { | ||
"type": "map", | ||
"maps": [ | ||
"map2" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"tracker_horizontal": { | ||
"type": "container", | ||
"background": "#000000", | ||
"content": { | ||
"type": "dock", | ||
"dropshadow": true, | ||
"content": [ | ||
{ | ||
"type": "dock", | ||
"dock": "bottom", | ||
"content": [ | ||
{ | ||
"type": "group", | ||
"header": "Items", | ||
"dock": "left", | ||
"margin": "0,0,3,0", | ||
"content": { | ||
"type": "layout", | ||
"h_alignment": "center", | ||
"v_alignment": "center", | ||
"key": "shared_item_grid" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "tabbed", | ||
"tabs": [ | ||
{ | ||
"title": "Map 1", | ||
"content": { | ||
"type": "map", | ||
"maps": [ | ||
"map1" | ||
] | ||
} | ||
}, | ||
{ | ||
"title": "Map 2", | ||
"content": { | ||
"type": "map", | ||
"maps": [ | ||
"map2" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[ | ||
{ | ||
"name": "Example Parent", | ||
"children": [ | ||
{ | ||
"name": "Example Location 1", | ||
"access_rules": [ | ||
//read as: progressive_2 or toggle | ||
"progressive_2", | ||
"toggle" | ||
], | ||
"sections": [ | ||
{ | ||
"name": "Example Section 1", | ||
"item_count": 1 | ||
}, | ||
{ | ||
"name": "Example Section 2", | ||
"item_count": 3 | ||
} | ||
], | ||
"map_locations": [ | ||
{ | ||
"map": "map1", | ||
"x": 1750, | ||
"y": 700 | ||
}, | ||
{ | ||
"map": "map2", | ||
"x": 1000, | ||
"y": 500 | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Example Location 2", | ||
"access_rules": [ | ||
//read as: progressive_toggle_2 and has more then 4 consumable | ||
"progressive_toggle_2, $has_more_then_n_consumable|4" | ||
], | ||
"sections": [ | ||
{ | ||
"name": "Example Section 1", | ||
"item_count": 1 | ||
} | ||
], | ||
"map_locations": [ | ||
{ | ||
"map": "map1", | ||
"x": 1500, | ||
"y": 400 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// this the manifest for you pack | ||
// it contains basic information about your pack | ||
// for more info on the manifest check: https://github.com/black-sliver/PopTracker/blob/master/doc/PACKS.md#manifest | ||
{ | ||
"name": "Template Pack for PopTracker", | ||
"game_name": "<put your game title here>", | ||
"package_version": "1.0.0.0", | ||
"package_uid": "template_pack", | ||
"platform": "snes", //enables SNES memory autotracking interface - remove/change if not needed | ||
"author": "Cyb3R", | ||
"variants": { | ||
"standard": { | ||
"display_name": "Map Tracker", | ||
"flags": [ | ||
"ap" //enables AP autotracking interface - remove if not needed | ||
] | ||
}, | ||
"var_itemsonly": { | ||
"display_name": "Items Only", | ||
"flags": [ | ||
"ap" //enables AP autotracking interface - remove if not needed | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.