You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
copy build/ShellshotMarkerPack.zip to your blish/taco marker pack directory (Typically C:\Users\{user}\Documents\Guild Wars 2\addons\blishhud\markers)
Build your own marker pack
Build the package generator: go build
Create a marker pack directory XXXMarkerPack
Add your catagories directory. XXXMarkerPack/categories
Define categories using Directory Structure. Example: XXXMarkerPack/categories/Janthir/Chests generates the Category: Janthir.Chests
Any edge category requiring configuration (including icons), may be defined using a .cat file instead
Add your maps directory. XXXMarkerPack/<group>/maps
Add a map you intend to add markers for. Example: XXXMarkerPack/maps/Janthir/JanthirSyntri
Create mapinfo.txt in your map directory containing the map id. EX: id=1554 (Can be easily found using the "Marker Pack Assistant" module from blish)
Create any number of .poi and .trail files containing marker location information. (any sub directory structure may be used)
Generate your package zip file: ./gw2_markers_gen -n XXXMarkerPack
Appendix
Directory Structure
maps directory
Location for storing map information
Every directory 2 levels deep under the maps directory MUST definte a map [see description below]
map directory
No Directory structure is required
The root or subdirectory MAY contain any number of .poi files
The root or subdirectory MAY contain any number of .trail files
MUST contain a mapinfo.txt file defining the mapid.
MAY contain a barriers.txt file for trail creation. (defines regions path generation is unable to cross)
MAY contain a paths.txt file for trail creation (defining a list of paths/shortcuts. Typically these are bouncing mushrooms or ways to bypass barriers)
MAY contain a waypoins.txt file for trail creation (used to generate starting location)
categories directory
Location for storing category definitions
Directory structure determines category name.
Directories MAY contain .cat files for defining attributes
EX: categories/Janthir/Chests/MajorCaches.cat generates the Category: Janthir.Chests.MajorCaches
Display Names will be generated from directory names (spaces will be added When casing alternates)
assets directory
No Directory structure is required
General location for storing assets (images/binary trail data)
No verification takes place
Compiled assets are placed in this directory [See compiled_assets for more information]
compiled_assets directory
No Directory structure is required
All files in any subdirectory of type .atrl or .rtrl will be compiled
Location for storing trail definition files that will be compiled to .trl files
Assets compiled from this directory will be stored in the assets directory
EX: compiled_assets/mytrails/trail1.rtrl will be compiled to assets/mytrails/trail1.trl
User directories
All files/directories inside your marker pack root directory will be zipped into the output path file.
This can be used to add any custom data required
File Extensions
.cat file format
Every line defines a key/value pair describing category attributes. (See https://www.gw2taco.com/2016/01/how-to-create-your-own-marker-pack.html for a list of valid attributes)
Key/Value MUST be separated by the = sign
All non Key/Value pair lines will be skipped
.poi file format
Line 1 MUST reference a marker category present in your category directory. EX: category=ShellshotMarkerPack.Janthir.GatherNodes.ChargedOre
Every subsequent line references a single marker
Every marker line is defined as a list of Key/Value pairs
Value pairs MUST be seperated by the space character
Key/Value MUST be separated by the = sign
Every marker line MUST contain X,Y,Z position information (as copied using the "Marker Pack Assistant" module from blish)
Every marker line MAY overwrite marker attributes
Every marker line MAY overwrite the mapId property controlling the map the marker applies to
Every marker line MAY contain a tag property. Used for identifying the POI during trail generation.
Every marker line MAY contain a parent property. Used for indicating ownership tag during trail generation. (A parent must be visited before any children)
Every marker line MAY contain a cost property. This value may be negative for adding value, or positive for decreasing. This value is used during path generation: Negative cost paths are disallowed.
Example Line: xpos="-290.0943" ypos="32.79265" zpos="-283.0596" Behavior="0"
.trail file format
Line 1 MUST reference a marker category present in your category directory. EX: category=ShellshotMarkerPack.Janthir.GatherNodes.ChargedOre
Every subsequent line references a single marker
Every marker line is defined as a list of Key/Value pairs
Value pairs MUST be seperated by the space character
Key/Value MUST be separated by the = sign
Every marker line MUST contain the trailData key pointing to a .trl file. (See https://www.gw2taco.com/2016/01/how-to-create-your-own-marker-pack.html for trail creation)
Every marker line MAY overwrite marker attributes
Example Line: trailData="assets/trails/janthir_lowlands/honeybey_jp.trl" color="ffffffff"
.rtrl file format
File specifies a list of POIs that should be visisted in order
Path starts from the first POI in the file
POIs in the file will be visisted in order
All Lines MUST be a list of Key/Value Pairs seperated by the space character
Key/Values MUST be seperated by the = sign
Line 1 MUST contain the mapid key (and other keys will be ignored)
Subsequent lines MUST contain X,Y,Z position information (as copied using the "Marker Pack Assistant" module from blish)
All Other Keys are ignored
Lines without position information are skipped
.atrl file format
File species auto-generation of an optimized path starting from any waypoint, and visisting all nodes
order of POIs in the trail is NOT guaranteed in the final path
Every line defines a key/value pair describing map information
Key/Value MUST be separated by the = sign
The file MUST contain the map key
the file MUST contain a file key
the file MAY contain a fromWaypoint key indicating path generation should start from a map waypoint
the file MAY contain the start_xpos, start_ypox and start_zpos keys. If all are specified, and have valid information, path generation will start from those coordinates rather than using waypoints
All Other Keys are ignored
Lines without position information are skipped
The map value MUST match the name of a directory in your maps folder
The file value MUST be a valid path relative to the map directory defined in the map field
.trl file format
File definition used by GW2 Pathing.
Contains encoded mapid, and points location along a trail
File Definitions
mapinfo.txt format
Every line defines a key/value pair describing map information
Key/Value MUST be separated by the = sign
The file MUST contain the id key
The file MAY contain the max_value key. Used for defining resource limitations during path generation.
All other information in the file will be skipped
barriers.txt format
All Lines MUST be a list of Key/Value Pairs seperated by the space character
Value pairs MUST be seperated by the space character
Key/Value MUST be separated by the = sign
Every line MUST contain X,Y,Z position information (as copied using the "Marker Pack Assistant" module from blish)
Every line MUST contain a name key
All lines sharing the same name key will be used as a pair with order defined by file order.