From de36b815905d2750a268cf1b9075a0fb99fb59d4 Mon Sep 17 00:00:00 2001 From: Ioan Lucut Date: Sat, 13 Jan 2024 17:40:41 +0200 Subject: [PATCH] Add instructions on how to use the `protodump` utility for encoding presentation files. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 99f04e6..be873c4 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,10 @@ convertSongsToPP7FormatLocally({ This repo is doing a reverse engineering from the pro presenter protobuf format to a known format, and then it encodes back presentation files by using the https://github.com/arkadiyt/protodump utility. +To use that, simply run the following commands: +`git clone https://github.com/arkadiyt/protodump.git` +`go build -o protodump cmd/protodump/main.go` + #### Find proto files from PP7 > Assuming that `protodump` is a sibling of this dir: @@ -112,7 +116,7 @@ find /Applications/ProPresenter.app/ -type f -perm +111 -print -exec ../protodum ```unix cd proto -for f in ./proto/*; do protoc --plugin=../node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./proto --ts_proto_opt=esModuleInterop=true ./$f ; done +for f in ./*; do protoc --plugin=../node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./ --ts_proto_opt=esModuleInterop=true ./$f ; done ``` #### Decode a single presentation file called `TEMP.pro` to `TS`