mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-03-27 23:37:04 -05:00
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
This commit is contained in:
24
patterns/was_oskasoftware.hexpat
Normal file
24
patterns/was_oskasoftware.hexpat
Normal file
@@ -0,0 +1,24 @@
|
||||
#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;
|
||||
Reference in New Issue
Block a user