Skip to content

Instantly share code, notes, and snippets.

@hcs64
hcs64 / a.c
Last active August 9, 2022 19:40
Find and check matching codebooks
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "vorbis_custom_data_wwise.h"
int main(void) {
#if 1
for (int ai = 0; ai < 0x256; ++ai) {
const wvc_info * ao = &wvc_list_aotuv603[ai];
@hcs64
hcs64 / dec.py
Created February 1, 2023 21:57
Decode strings from some feelplus games
# Translate feelplus packed strings
# Derived from examples at https://pastebin.com/UkfBaSga
import itertools
import struct
# Unknown char 39 is shown as "{39}"
charset1 = ['{%s}'%(i,) for i in range(40)]
for i in range(10):