-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Not much progress on this front. We're effectively stuck on #1
- Loading branch information
Showing
4 changed files
with
89 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Copyright 2024 Michael Fabian 'Xaymar' Dirks <[email protected]> | ||
// | ||
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
// | ||
// 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
// 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | ||
// 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. | ||
// | ||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
// | ||
|
||
// Thanks to: | ||
// - h3x3r (https://reshax.com/profile/183-h3x3r/) for providing the BMS script that this is based on. | ||
|
||
#ifndef STINGRAY_BUNDLE_DATABASE | ||
#define STINGRAY_BUNDLE_DATABASE | ||
|
||
#ifndef IS_INCLUDE | ||
#define IS_INCLUDE | ||
#define STINGRAY_BUNDLE_DATABASE_INCLUDE | ||
#endif | ||
#include "common.bt" | ||
#ifdef STINGRAY_BUNDLE_DATABASE_INCLUDE | ||
#undef IS_INCLUDE | ||
#endif | ||
|
||
struct stingray_bundle_t { | ||
uint32_t __unk; | ||
uint32_t count; | ||
struct { | ||
uint32_t count; | ||
struct { | ||
uint32_t length; | ||
char text[length]; | ||
} path[count] <optimize=false>; | ||
} entry[count] <optimize=false>; | ||
}; | ||
|
||
#ifndef IS_INCLUDE | ||
stingray_bundle_t StingrayBundle; | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// Copyright 2024 Michael Fabian 'Xaymar' Dirks <[email protected]> | ||
// | ||
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: | ||
// | ||
// 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. | ||
// 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. | ||
// 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. | ||
// | ||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
// | ||
|
||
// Thanks to: | ||
// - h3x3r (https://reshax.com/profile/183-h3x3r/) for providing the BMS script that this is based on. | ||
|
||
#ifndef STINGRAY_STREAM | ||
#define STINGRAY_STREAM | ||
|
||
#ifndef IS_INCLUDE | ||
#define IS_INCLUDE | ||
#define STINGRAY_STREAM_INCLUDE | ||
#endif | ||
#include "common.bt" | ||
#ifdef STINGRAY_STREAM_INCLUDE | ||
#undef IS_INCLUDE | ||
#endif | ||
|
||
struct stingray_stream_t { | ||
BigEndian(); | ||
uint32_t magic_number <format=hex>; | ||
LittleEndian(); | ||
uint32_t __unk <format=decimal>; | ||
uint32_t __unk <format=hex>; | ||
uint32_t size <format=decimal>; | ||
char data[size] <format=hex>; | ||
|
||
}; | ||
|
||
#ifndef IS_INCLUDE | ||
stingray_stream_t StingrayStream; | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters