RAGE Photo CLI based on libragephoto
Find a file
2025-10-27 21:08:03 +01:00
Properties use a empty jpeg instead of a null byte 2025-10-24 15:57:09 +02:00
Resources use a empty jpeg instead of a null byte 2025-10-24 15:57:09 +02:00
.gitattributes Add .gitattributes, .gitignore, and LICENSE.txt. 2025-10-23 18:16:29 +02:00
.gitignore Add .gitattributes, .gitignore, and LICENSE.txt. 2025-10-23 18:16:29 +02:00
LICENSE.txt Add .gitattributes, .gitignore, and LICENSE.txt. 2025-10-23 18:16:29 +02:00
Program.cs support pipes for input file at get and set command 2025-10-27 21:08:03 +01:00
ragephoto-cli.csproj ragephoto-cli: update RagePhoto.Core to 0.7.1 2025-10-26 23:40:55 +01:00
ragephoto-cli.sln add support for description and ability to delete jpeg 2025-10-24 15:29:09 +02:00
README.md improve create command and impl. auto sign patching 2025-10-27 03:32:10 +01:00

ragephoto-cli

Open Source RAGE Photo CLI based on libragephoto

  • Read/Write RAGE Photos with get/set commands
  • Support for stdin/stdout in JPEG option and output

Build ragephoto-cli

git clone https://github.com/Syping/ragephoto-cli
dotnet publish -c Release ragephoto-cli

How to Use ragephoto-cli

# Exporting JPEG
ragephoto-cli get PGTA5123456789 --output photo.jpg

# Getting Format
ragephoto-cli get PGTA5123456789 format

# Getting JSON
ragephoto-cli get PGTA5123456789 json

# Getting Title
ragephoto-cli get PGTA5123456789 title

# Replacing JPEG
ragephoto-cli set PGTA5123456789 --jpeg photo.jpg

# Patching Signature
ragephoto-cli set PGTA5123456789 --json "$(ragephoto-cli get PGTA5123456789 json \
    | jq -c ".sign = $(ragephoto-cli get PGTA5123456789 sign)")"

# Updating Title
ragephoto-cli set PGTA5123456789 --title "New Photo Title"