This file contains hidden or 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
extends RefCounted | |
class_name WAVLoader | |
static func load_from_file(filename: String) -> AudioStreamWAV: | |
return load_from_buffer(FileAccess.get_file_as_bytes(filename)) | |
static func load_from_buffer(buf: PackedByteArray) -> AudioStreamWAV: | |
var stream := StreamPeerBuffer.new() | |
stream.data_array = buf | |
return load_from_stream(stream) |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- utf-8 -*- | |
import sys | |
import struct | |
# SAR parser, reads the SAR archive format as used in Mofa Racer / Traktor Racer | |
# by media Verlagsgesellschaft mbH | |
# | |
# Only passing a SAR file will list its content, passing a filename from the archive | |
# dumps the content of that file to stdout. |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- utf-8 -*- | |
import sys | |
import struct | |
# APK parser, reads the APK archive format as used in Airstrike3D from DivoGames Ltd. | |
# | |
# Only passing a APK file will list its content, passing a filename from the archive | |
# dumps the content of that file to stdout. |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- utf-8 -*- | |
import sys | |
import struct | |
import os | |
# PAK parser, reads the PAK archive format as used in Kenny’s Adventure | |
# from DivoGames Ltd. | |
# | |
# Only passing a PAK file will list its content, passing a filename from the archive |