Files
ImHex-Patterns/patterns/was_oskasoftware.hexpat
DmitriLeon2000 edd0aa9a2f patterns: Add .fas and .was pattern files (Oska DeskMates) (#176)
* Add .fas and .was pattern files (Oska DeskMates)

* Update .was pattern file

* Update .was/.wa3 pattern file

* Update README.md

* Update README.md

* Update .fas & .was pattern files

* Update README.md

* Update fas_oskasoftware_old.hexpat

* Added WAS test file

* Update WAS test file

* Update was_oskasoftware.hexpat
2023-10-24 07:35:38 +02:00

24 lines
397 B
Rust

#pragma author DmitriLeon2000
#pragma description Oska Software DeskMates WAS/WA3 (WAVE/MP3 Set) file
#pragma endian little
#include <type/size.pat>
struct Sound {
char name[];
u32 length;
u8 data[length];
};
struct Header {
type::Size<u32> size;
u32 count;
u32 pointers[count * 2];
};
struct WAS {
Header header;
Sound sounds[header.count];
};
WAS was @ 0x00;