Page 1 of 1
[Blood] RFS support
Posted: Thu Apr 15, 2021 9:31 am
by NightFright
Right now, Raze does not seem to support .rfs files for Blood. These are especially important for BloodGDX-compatible mods since they define resource folders. Ideally any rfs should be automatically loaded when found within a zipfile, but at least the one having the same name as the zipfile itself. It should work for pretty much anything - sounds, music, voxels...
Example:
Code: Select all
resource "sounds\1003.raw";
resource "music\battle.mid";
Re: [Blood] RFS support
Posted: Thu Apr 15, 2021 9:41 am
by Graf Zahl
RFS does work. There have even been some fixes recently for this.
Re: [Blood] RFS support
Posted: Thu Apr 15, 2021 9:53 am
by NightFright
Hmmm... how exactly is it supposed to work, then? I am using dev build 49 and if I place the replacement soundtrack for Deathwish into its zipfile (deathwish.zip) with a resource file called deathwish.rfs in the zipfile root, it doesn't seem to do anything.
Example: First level of first DW episode used cblood7 as music track. A replacement midi cblood7.mid is in a "music" subdir within deathwish.zip.
A deathwish.rfs contains
resource "music\cblood7.mid";
Ingame, Blood's original music is played.
Re: [Blood] RFS support
Posted: Thu Apr 15, 2021 9:56 am
by Graf Zahl
All RFS files I have seen so far have the mod folder first. So I remove the first directory name of the path to find the files. Does BloodGDX accept these shortened paths as well?
Re: [Blood] RFS support
Posted: Thu Apr 15, 2021 10:52 am
by NightFright
Well, I tried the same format as e.g. in "Legends of Iconoclasts". BloodGDX seems to handle that just fine.
I guess both methods should work.
Re: [Blood] RFS support
Posted: Thu Apr 15, 2021 11:29 am
by Graf Zahl
Ok. I will change it accordingly.
Re: [Blood] RFS support
Posted: Sat Apr 17, 2021 3:59 pm
by Graf Zahl
added
Re: [Blood] RFS support
Posted: Tue Apr 20, 2021 1:38 am
by NightFright
One observation:
If you keep original filenames (like in my example above), resource files will NOT be replaced. If you rename them and also adjust the names in the ini, it works.
Example:
cblood7.mid will not be replaced if the replacement is located in "music" subdir with same filename and an rfs definition like
But it would work if renamed to e.g. dwish7.mid in "music", defined as