mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-28 07:47:02 -05:00
* 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
24 lines
397 B
Rust
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; |