clipmove / NotBlood

Gameplay Mod For NBlood
https://github.com/clipmove/NotBlood/releases
59 stars 3 forks source link

[Feature request] Blood: load additional RFS files #112

Closed fgsfds closed 3 months ago

fgsfds commented 3 months ago

Add -rfs FILE.RFS command line parameter to load additional RFS files for Blood.

These are used to add new resources to mods.

// Resource script file generated by BARF script extractor
// Copyright 1997, Monolith Productions.  All Rights Reserved

 // SFX data format
 //    int    relVol;      volume, 0-255
 //    int    pitch;       pitch change (fixed point)
 //    int    pitchrange;  range of random pitch (fixed point)
 //    int    format;      format of audio 1=11025 5=22050
 //    int    loopStart;   loop position (-1 means no looping)
 //    char   rawName[9];  name of RAW resource

resource "RAW\AMB1.RAW";
data "AMB1.SFX" as 1:   80, 0x10000, 0x0, 1, -1, "amb1";
resource "RAW\AMB2.RAW";
data "AMB2.SFX" as 2:   80, 0x10000, 0x0, 1, -1, "amb2";
resource "RAW\AMB3.RAW";
data "AMB3.SFX" as 3:   80, 0x10000, 0x0, 1, -1, "amb3";
resource "RAW\AMB4.RAW";
data "AMB4.SFX" as 4:   80, 0x10000, 0x0, 1, -1, "amb4";

resource "SEQ\BEST1I1.seq" as 10496;
resource "SEQ\BEST1D1.seq" as 10497;
resource "SEQ\BEST1D1.seq" as 10498;
resource "SEQ\BEST1D3.seq" as 10499;
resource "SEQ\BEST1D3B.seq" as 10508;
resource "SEQ\BEST1E1.seq" as 10500;
tmyqlfpir commented 3 months ago

Hi there, thanks for creating the issue.

Technically there already exists RFS support for NBlood, but I don't even know if it works or not. Ideally this should be addressed upstream, as the filesystem code for EDuke is not great, and I don't have the motivation to learn that mess.

Sorry!