Skip to content

Instantly share code, notes, and snippets.

@VitaSmith
VitaSmith / gust_enc.md
Last active August 13, 2023 13:18
A primer on Gust's .e encoding

A primer on Gust's .e encoding

Hereafter are being discussed the scrambling and compression algorithm used by Gust for the encoding/decoding of their .e files.

This basically explains what gust_enc from gust_tools does and why the utility relies on reading a set of scrambling seeds from gust_enc.json, that are unique to each games.

For additional details, you are strongly invited to look at the gust_enc.c source as well as gust_enc.json.

The scramblers

@VitaSmith
VitaSmith / sqlite3.c
Created October 29, 2017 00:19
An implemention of a full SQLite VFS for Sony PS Vita, based on xyzz's original work
/*
Vita SQLite handling function for R/W
From https://github.com/henkaku/offline-installer/blob/master/src/vita_sqlite.c
Copyright (C) 2016 xyzz
Copyright (C) 2017 VitaSmith
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.