Skip to content

binarygolf/bggp-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

bggp-tools

Tools for playing BGGP.

bggp.py

bggp-tool is a tool for creating and verifying entries for BGGP.

Requirments

Command Line Usage

$ python3 bggp.py --help
usage: bggp.py [-h] [-b VERIFY_BINARY] [-e VERIFY_ENTRY] [-c CREATE_ENTRY]

bggp-tool

options:
  -h, --help        show this help message and exit
  -b VERIFY_BINARY  File To Verify (ANY)
  -e VERIFY_ENTRY   BGGP Entry File To Verify (.txt)
  -c CREATE_ENTRY   Create entry from file (ANY)
  • The -b option can take in any file and create a BGGP verification stub from it.
  • The -e option takes in a BGGP entry in a text file
  • The -c option takes in a file and walks you through the steps of creating an entry.
  • Passing no arguments activates the interactive shell

Interactive Shell

This is a simple shell to work with files and entries.

$ python3 bggp.py

 β–ˆβ–„β–„β–„β–„β–„β–„β–„β–„β–„ β–ˆβ–€β–€β–€β–€β–€β–€ β–„β–„ β–ˆβ–€β–€β–€β–€β–€β–€ β–„β–„ β–€β–€β–€β–€β–€β–€β–€β–€β–€β–ˆ
 β–„β–„β–„β–„β–„β–„β–„β–„β–„β–ˆ β–ˆβ–„β–„β–„β–„β–„β–„β–„β–„β–ˆ β–ˆβ–„β–„β–„β–„β–„β–„β–„β–„β–ˆ β–ˆβ–€β–€β–€β–€β–€β–€β–€β–€β–€
 β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„ β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„ β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„ β–„
      β–ˆ     β–ˆβ–„β–„β–„β–„β–„β–„β–„β–„β–ˆ β–ˆβ–„β–„β–„β–„β–„β–„β–„β–„β–ˆ β–ˆβ–„β–„β–„β–„β–„β–„β–„β–„β–„

BGGP> h
bggp-tool help
             β•·
  Command    β”‚ Description
╢────────────┼────────────────────────────────────────╴
  c          β”‚ (c)reate a new entry
  c file.bin β”‚ (c)reate a new entry from (file.bin)
  e          β”‚ Load (e)ntry from stdin
  e file.txt β”‚ Load (e)ntry from (file.txt)
  i          β”‚ Print info about current entry, if any
  r          β”‚ (r)eset entry
  s          β”‚ (s)ave data to bggp.bin
  s file.bin β”‚ (s)ave data to (file.bin)
  v          β”‚ (v)erify an entry (creates stub)
  x          β”‚ E(x)it
             β•΅

TODO

  • Add score calculations
  • Make base64 decoding in parseEntry a little less painful

About

Tools for playing BGGP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages