Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Dec 3, 2019 7:23:43 GMT 10
E.g in his bad cop mod: www.nexusmods.com/residentevil22019/mods/288He creates a custom pl1562 id which somehow links to claire's military pl1006 files. How is he doing this? Is he editing a hex file somewhere? I also see these custom chain files e.g. pl1578.chain.21 which I'm guessing he is using to correctly link to the proper folders, how do these work? Can someone please explain, as most mods just edit claire's files directly, he appears to be using some sort of trickery which I would appreciate if someone can explain?
|
|
Random Modder
Posts: 1,511
|
Post by Snipz on Dec 3, 2019 13:40:47 GMT 10
You can hex edit the mdf2 and pfb files to change names of files and files locations (for example folders) that the game calls for.
So for example I updated my Tofu Zombies mod to support Ghost survivor a few months ago, I made a custom Tofu texture thats purple for the poison zombies and for the zombie mdf2 I replaced with Tofus mdf2 I changed the number to pl4199 or something. Thus it loads my custom texture instead.
Thus people can load different stuff. Other mods have done this too for example some of Crazypotato's mods and also the Beach Mr X mod use this.
Hope my explanation and example helped.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Dec 3, 2019 17:48:30 GMT 10
You can hex edit the mdf2 and pfb files to change names of files and files locations (for example folders) that the game calls for. So for example I updated my Tofu Zombies mod to support Ghost survivor a few months ago, I made a custom Tofu texture thats purple for the poison zombies and for the zombie mdf2 I replaced with Tofus mdf2 I changed the number to pl4199 or something. Thus it loads my custom texture instead. Thus people can load different stuff. Other mods have done this too for example some of Crazypotato's mods and also the Beach Mr X mod use this. Hope my explanation and example helped. Thank you very much that makes sense - where exactly in the hex file corresponds to the file location loading? Can you please provide an example? Though I can also just look at your mod files to see where you changed in the hex editor for the purple zombies pl4199. E.g in my case I see where the plxxx is defined but I'm confused as there are several possible places to change (I circled in red): I love your tofu mod btw!
|
|
Random Modder
Posts: 1,511
|
Post by Snipz on Dec 3, 2019 19:48:46 GMT 10
You can hex edit the mdf2 and pfb files to change names of files and files locations (for example folders) that the game calls for. So for example I updated my Tofu Zombies mod to support Ghost survivor a few months ago, I made a custom Tofu texture thats purple for the poison zombies and for the zombie mdf2 I replaced with Tofus mdf2 I changed the number to pl4199 or something. Thus it loads my custom texture instead. Thus people can load different stuff. Other mods have done this too for example some of Crazypotato's mods and also the Beach Mr X mod use this. Hope my explanation and example helped. Thank you very much that makes sense - where exactly in the hex file corresponds to the file location loading? Can you please provide an example? Though I can also just look at your mod files to see where you changed in the hex editor for the purple zombies pl4199. E.g in my case I see where the plxxx is defined but I'm confused as there are several possible places to change (I circled in red): I love your tofu mod btw! The text there are folders and files. When you see / its indicating the next folder. So for example inbetween the first red circle and 2nd we see: "...Sectionroot/character/player/pl1000/pl1000_bottom.NMR.tex" So that corresponds to the location for pl1000_bottom.NMR.tex which off the top of my head is a Claire texture. If you edit it to be ""...Sectionroot/character/player/pl1000/pl1999_bottom.NMR.tex" the game will then load that instead (bearing in mind of course that file exists, if not it'll will probably just crash) The example I gave would look like this: So say you made a custom texture for that NMR texture of Claires, then edit her mdf2 and wanted to load the custom one for example you could do this. You can also do it with the folders, so you could name the folder pl9999 and still have the file as pl1000_bottom etc. And thank you haha! Edit: Also someone in the RE Modding discord shared a hex edit thing for better understanding the mdf2 and editing it easier, I recommend using it if it makes things easier. Im sure asking in the RE2 modding section about it or checking the pins you'll find it.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Dec 4, 2019 3:39:29 GMT 10
Thanks so much Snipz for your help!!!
|
|