-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UDAS sideloading, has anything else done it already? #337
Comments
Just to inform you how the Qingsheng DLL sideload work, is basically the same for Raz0r Companion. Qingsheng DLL have sideload for many files. This dll last version is not released public yet, only a few people have it because we are testing everything first for he release that. Here a example of the DLL config file. AEV=1 Thats the configuration of sideload of some files inside udas and more configurations from the DLL. We have a folder named "Data" inside BIO4 folder and inside this folder we can create other folders with the map name and inside of it sideload the files renaming the file to 0000.AEV. 0000.ITA .. depends what file we need to sideload. Raz0r did that for the companion dll too but companion is very outdated already. Mr Curious and other people still use it because for change the DLL in the middle of the mod project is complicated. |
you have the right to expose my dll! |
I can provide my modified bytes if available. |
Wrote a little about how game code seems to read from DAS files at emoose/re4-research#3 (comment)
That gave me an idea of how sideloading could work for it, we could probably just hook DvdReadN so once a DAS has been read in, we scan a folder for loose files like
[das_name]_[index].[ext]
, and any that exist we read in data for, figure out where it is in the offset-table, and just overwrite that to point at our new data.It actually doesn't sound that hard now I wrote it down lol, but I'd guess depending on the DAS we might need to stay inside the same block of memory as the DAS itself, would probably need to copy/move existing data around to make sure replacing data doesn't waste any room too etc...
Like title says though I'm wondering if anything else like Raz0r allows UDAS sideloads too, it'd be good to try and keep things compatible if we can.
From what I've seen in GC debug it looks like DAS files were originally folders in the developer repo, so eg. pl00_094.FCV was probably originally at
BIO4\Em\pl00\094.FCV
(maybe with a different filename, which was lost when put inside the DAS), if nothing else does UDAS sideloads I guess we could probably do the same under thesideload
folder.(also pretty sure I heard there's a lot of duplicate files between different UDAS too, some way of handling that like replacing based on checksum of the original DAS data might be nice, but would be best to start with just replacing by index first)
The text was updated successfully, but these errors were encountered: