re4-research icon indicating copy to clipboard operation
re4-research copied to clipboard

File format references

Open emoose opened this issue 3 years ago • 0 comments

It'd be nice to get all the RE4 file formats mapped out into structs, with tools like 010 Editor you can turn a struct into a modifiable template, letting it parse the file for you & give human-readable values which are easy to edit.

For example: image

I saw residentevilmodding forum has a lot of info about the file formats there, if we could transfer the knowledge into C/C++ structs it'd open the way for a lot more ways of changing things (and being C/C++, would also give us a way to play with things at runtime too!)

To start things off, I've posted a template for LFS files to https://github.com/emoose/re4-research/blob/master/file-formats/LFS.bt, should be usable in 010 Editor against both PC & X360 files (and maybe works in rehex as well)

It's probably a long shot, but any contributions to this repo would be greatly appreciated! Besides that I'll try and create templates for formats I come across as well (if anyone has any useful links to RE4 file format info please consider sharing them!)

emoose avatar Apr 16 '22 09:04 emoose

Perhaps recompiled MBINs would be fine to include though, as the data would be different from the copyrighted original data, any thoughts on this?

emoose avatar Aug 27 '16 00:08 emoose

Depends on how much data is modified. It's a tricky thing, because unless you're completely rewriting the MBIN, a lot of it is the same.

TangentFoxy avatar Aug 27 '16 21:08 TangentFoxy