Dependencies: lib_2da, lib_anon, lib_array, lib_fn, lib_ini, lib_sfo, lib_struct, lib_sugar, lib_tools
Various editors for BAM files.
bam_install_v2(lowest_mos_index:i, bam_name:s, path:s, location:s, locbase:s, pvrz_path:s="MOD_FOLDER/sfo", pvrz_location:s="test", pvrz_locbase:s)=() action
Installer for v2 BAMs. Feed it the lowest mos index you want to try, the name and location of the bam file to be installed (given by path/location/locbase), and the location of all the pvrz files associated with the bam (given by pvrz_path,pvrz_location,pvrz_locbase, but defaulting to the bam version in each case)
bam_legal_byte(input:i)=(output:s) patch
bam_patch_colors(suppress_warning:b, condition:f, action:f, bam:s)=() action
bam_patch_colors(condition:f, action:f)=() patch
These should not be called from outside the library itself.
bam_compress(dl:i, was_compressed:i)=() patch
bam_decompress()=(was_compressed:s, dl:s) patch
bam_get_available_mos_index(current:i)=(value:s) action
bam_pad_to_four(arguments:i)=(value:s) action
bam_read_color(offset:i)=(red:s, green:s, blue:s) patch
bam_write_color(red:i, green:i, blue:i, offset:i)=() patch