Skip to content

Instantly share code, notes, and snippets.

View Fothsid's full-sized avatar
💭
Nothing in particular.

Fothsid Fothsid

💭
Nothing in particular.
View GitHub Profile
@Fothsid
Fothsid / outbreak_nbd.pat
Created May 20, 2023 20:37
Resident Evil Outbreak .NBD pattern file for ImHex
//
// Resident Evil Outbreak .NBD pattern file for ImHex
// Made by Fothsid.
//
// WARNING: Doesn't work for the majority of EFxx.NBD files,
// as those have incorrect subchunk/data count values.
// Seems like the game relies solely on the chunk size
// when parsing the models.
// Wasn't tested with room models, but theoretically should work just fine.
//
@Fothsid
Fothsid / AMO.h
Created October 6, 2020 11:28
RE Outbreak AMO format
/*
AMO model file format, used in Resident Evil Outbreak and Resident Evil Outbreak File 2.
Reversed by Fothsid.
*/
namespace AMO
{
namespace ChunkType
{
enum
@Fothsid
Fothsid / OutbreakLZSSDecoder.cpp
Created August 15, 2020 22:49
LZSS decoder for textures in Resident Evil Outbreak
#include <cstdint>
#include <cstdlib>
#include <cstdio>
#include <cstring>
int main(int argc, char* argv[])
{
char* inputFilename = argv[1];
char* outputFilename = argv[2];