Page 2 of 2

Re: Patchable archives

Posted: Sun Sep 05, 2021 8:39 pm
by Diamondback
henk wrote: Sun Sep 05, 2021 5:41 pm you read the list wrongly ;)
It contains a list of all files that are read.
So game.rfa is read, but this list doesnt contain game_001.rfa so that file is not read
I wasn't asking about what can be read, I was asking about what archives can be patched. These archives are:

- texture.rfa
- standardMesh.rfa
- sound.rfa
- menu.rfa
- Map archives

Re: Patchable archives

Posted: Mon Sep 06, 2021 7:49 am
by henk
You don't understand what I meant
Just check which files in the list have a _001
those can be "patched"

what you can also see from the list:
_002 will never work on archives, besides the level rfa (if im correct)

Re: Patchable archives

Posted: Mon Sep 06, 2021 6:33 pm
by Diamondback
henk wrote: Mon Sep 06, 2021 7:49 am You don't understand what I meant
Just check which files in the list have a _001
those can be "patched"

what you can also see from the list:
_002 will never work on archives, besides the level rfa (if im correct)
These files are the ones I just mentioned in my post above. How do you know _002 won't work? Did you test that.

Re: Patchable archives

Posted: Sat Sep 11, 2021 4:01 am
by duffman
Had a quick look in file monitoring tool to see what is being loaded
from OS perspective, and what it "tries" to find but does not exist.
Running DC mod. The same process would apply to any mod really.

The files below with _001 in the filename are the only ones that
seem patchable but no file i/o request above _001.

Shaders dont appear to be patchable as no attempt was done to try to
load a shaders_001, even if file exists.

But it does try to load shaders.rfa from within a mod.

"\EA GAMES\Battlefield 1942\Mods\bf1942\Archives\shaders.rfa"

"\EA GAMES\Battlefield 1942\Mods\DesertCombat\Archives\shaders.rfa" (file not found)
"\EA GAMES\Battlefield 1942\Mods\DesertCombat\Archives\texture_001.rfa"
"\EA GAMES\Battlefield 1942\Mods\DesertCombat\Archives\standardMesh_001.rfa"
"\EA GAMES\Battlefield 1942\Mods\DesertCombat\Archives\menu_001.rfa"
"\EA GAMES\Battlefield 1942\Mods\DesertCombat\Archives\sound_001.rfa"

Re: Patchable archives

Posted: Fri Nov 05, 2021 8:51 am
by freddy
henk wrote: Sat Sep 04, 2021 11:22 am from the binary:
shaders.rfa
animations.rfa
font.rfa
treeMesh.rfa
texture_001.rfa
texture.rfa
sound_001.rfa
sound.rfa
standardMesh_001.rfa
standardMesh.rfa
ai.rfa
aiMeshes.rfa
menu_001.rfa
Bf1942/game.rfa
menu.rfa
Bf1942/Levels/mapName.rfa
Bf1942/Levels/mapName_x.rfa
henk wrote: Sun Sep 05, 2021 5:41 pm you read the list wrongly ;)
It contains a list of all files that are read.
So game.rfa is read, but this list doesnt contain game_001.rfa so that file is not read
What about Objects.rfa ?

And could we add a "Objects.rfa_x" to the server binary? That would makes SSM-modding a bit easier.

Re: Patchable archives

Posted: Thu Nov 11, 2021 7:57 pm
by henk
I recently also noticed that objects.rfa is missing in this list. I dont think it is patchable

Re: Patchable archives

Posted: Thu Nov 11, 2021 7:59 pm
by henk
But if you edit the objects.rfa in ssm everything gets messed up. I would advice you to use run the added objects in the game.rfa-materialManagerdefine.con. This file is loaded just before the staticObjects.con if im correct