module

WritingAdditions::Dmxgus

"Instrument data for the DMX sound library to use for Gravis Ultrasound soundcards".

Instance methods

write(file : String | Path) : UInt32

Writes a dmxgus given an output io and returns the size of the written lump

Writes a dmxgus in my_wad to a file:

my_wad = WAD.read("Path/To/Wad")
my_wad.dmxgus.write("Path/To/dmxgus.lmp")
write(io : IO) : UInt32

Writes a dmxgus given an output io and returns the size of the written lump

Writes a dmxgus in my_wad to a file:

my_wad = WAD.read("Path/To/Wad")
File.open("Path/To/dmxgus.lmp", "w+") do |file|
  my_wad.dmxgus.write(file)
end