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:
DmitriLeon2000
2023-10-24 14:35:38 +09:00
committed by GitHub
parent a992d1ba92
commit edd0aa9a2f
5 changed files with 224 additions and 0 deletions

View 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;