Welcome Guest [Log In] [Register]
Hello, and welcome to InfernalWorks.

This forum is dedicated to the research and development of modifying Devil May Cry 3 and 4. We have an assortment of released mods, tutorials and other resources that should be useful if you are attempting to learn to mod this game. If you ever need any help, just ask our community.

We would appreciate it if everyone could read and adhere to the Rules and Regulations upon registering.

Thanks for your visit, and enjoy your stay. :D

~ Vertigo

PS: THE SHOUTBOX IS NOT THE SEARCH BAR. MAKE SURE YOU'RE ENTERING YOUR SEARCHES INTO THE RIGHT FORM.

Username:   Password:
Add Reply
File Swap and Basics; How files work and where to get started
Topic Started: Aug 1 2015, 05:47 AM (8,263 Views)
tab

All files are stored inside archives (.arc files). To replace anything in the game (to make a mod) you need to extract those archives, make the changes to the files you want and then repack them.
To find which files you need to replace, use this (or any other [FILE ID]) thread:
http://s1.zetaboards.com/InfernalWorks/topic/5851622/1/

Okay, so folks seem to be confused about how exactly to go about gettin' to the familiar part of modding DMC4 so here's the basic thing you do w/ the arc files:

Firstly: download Sectus's ARCTool here: http://www.tzarsectus.com/tools/ARCtool.rar
and the .bats here: http://www.tzarsectus.com/tools/ARCtool-PC-batch.rar

Extract the ARCTool and the dmc4se.bat into whatever folder you plan to use for modding- probably make a new one as this stuff generates a lot of files.

Summary of stuff below:
Download ARCTool, .bats, extract arctool.exe and dmc4se.bat into new folder, drag .arc files onto folders to unpack them, put files into the folders w/ same path you want to add, edit the generated .txt file to add whatever you need to be repacked in, drag folders onto .arc files to repack them. You can convert the textures to DDS and back from DDS by doing the same.


=Longform explanation of basic stuff - if you get the summary then ignore this=

Now that we've got the tools, it's simply a matter of using them.
For this example I'll say that we're going to switch Dante (main costume)'s coat with Vante's (Vergil ex1).

First, you want to get the associated .arc files that you're going to be editing. In-game player models are located in the nativeDX10/rom/player/costume folder. Stuff labeled with _ex00 are alternate costumes and files labeled with _ex01 are the recolors.

If you don't know who is what, the file identification thread in the tutorial forum should tell you.
Just in case though, I'll write it out here:
pl000 is Nero
pl006 is Dante
pl007 is Trish
pl008 is Lady
pl024 is Tutorial Nero
pl030 is Vergil

Since we want so switch regular Dante's coat with Vante's coat, we copy/paste the plmod_pl006.arc and the plmod_pl030_ex01.arc files into our ARCtool folder.
To use the ARCtool with these files you want to drag the .arc files onto dmc4se.bat. It'll generate two things: a folder and .txt file with the name of the .arc.
The folder contains the files within the .arc and the .txt files is used as a reference by the ARCtool to know what to repack within the .arc when you do so.

Based off the file identification thread we know that pl006_03.mod is Dante's coat and pl030_03.mod is Vergil's coat model. So we go into Vergil's folder and proceed to the model/game/pl030_ex01 folder to copy all files named pl030_30.
This should include a .mod, a .mrl and two files that are a bunch of numbers (5B9071CF, 6EDD0DEE).
Paste those where you want and then rename them to pl006_03 and overwrite the files in Dante's folder with 'em.
Congratulations, you just replaced Dante's coat's model (.mod), texture references (.mrl) and whatever (those numbers) with Vante's!

But hold on, you're not done yet.
That .mrl file is referencing textures that aren't in Dante's .arc file!
So what you want to do is copy over the -entire- /model folder from Vergil's folder into Dante's folder. That should place a pl030_ex01 folder inside Dante's /model/game folder.
You technically don't need all the files and can delete whatever isn't used by the model you used to overwrite the previous one but for simplicity's sake I'mma ignore that at the moment.

Now, you've got the files in Dante's folder but remember that I said that the ARCTool uses the .txt to know what to repack?
That means you gotta open up Vergil's generated .txt file and then copy/paste the contents (or relevant content) of it into Dante's .txt and save it.

Afterwards, it's just a matter of dragging Dante's folder back onto the dmc4se.bat!
It'll repack everything and you'll have a fresh, obnoxiously huge (assuming you packed all of Vergil's files into Dante's folder rather than just what ya need) .arc file you can use!
Offline Profile Quote Post Goto Top
 
CynicalScout
Member Avatar

Thank you for doing this tutorial. It will (hopefully) broaden the spectrum of modding.
Posted Image

Currently needing more power.
Skype: cynnical.scout Discord: CynicalScout#6365
If you need me add me as a contact.
Offline Profile Quote Post Goto Top
 
LucasRaven
Member Avatar
VOIDIANS
This will probably make me sound like a grammar nazi, but it'll be better if you add some punctuation and/or at least start each sentence with a capital letter. Also I'll rename this to "File Swapping" or something like that (similar to the old "Model Swapping" for Vanilla which was the "starter tutorial").

Anyway, adding it to the Tutorials and Info (Knowledge Base). ;)

PS: I added a few lines in the beginning of your tutorial, check them out and rewrite them if you don't like the way I wrote them.

---Edit---
I see you've done what I suggested. It looks really good now and it's easier to read. :)
Edited by LucasRaven, Aug 1 2015, 06:25 PM.
You're reaping what you've sown!
Offline Profile Quote Post Goto Top
 
Devilhunter_PS

ugh, ever since i've started trying to mod things i keeep getting issues, especially that arc tool. first the repack issue, now audio (from the assault enemy) not working after unpacking and repacking. are these things common o is it just me, my luck and my computer ? :\
Offline Profile Quote Post Goto Top
 
incneet
Member Avatar
I'll show how to use the power
thnks for this tuto :)

Though a fight every now and again does make life more interesting, don't ya' think?
youtube | tumblr | deviantart



Offline Profile Quote Post Goto Top
 
BakedlCookie
Member Avatar

Awesome work @tab :D
Offline Profile Quote Post Goto Top
 
Nicollas Meireles

gawd thanks dude.
Offline Profile Quote Post Goto Top
 
Guibaesa

How do i swap the weapons of the character in game and in cutcenes?
Offline Profile Quote Post Goto Top
 
LucasRaven
Member Avatar
VOIDIANS
Guibaesa
Aug 11 2015, 08:57 PM
How do i swap the weapons of the character in game and in cutcenes?
Same way, just use the File Identification Thread to see which archives and models you need to extract and replace.
Btw, weapons are in:
rom\player\uPlayer*NAME*.arc - Gameplay
rom\demo\... - Cutscenes

I'm not sure how the cutscenes work. In Vanilla, there was a separate model (and archive) for each cutscene and you needed to replace all of them. If that's the case with SE it'll be a lot of work.
Edited by LucasRaven, Aug 11 2015, 09:27 PM.
You're reaping what you've sown!
Offline Profile Quote Post Goto Top
 
Guibaesa

Do you have any idea wich one of those files are the cutscenes? I mean, many of them are just tutorial movies, and those i don't intend to modify, i only want to modify the cutscenes.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Enjoy forums? Start your own community for free.
Go to Next Page
« Previous Topic · Tutorials · Next Topic »
Add Reply


Domain name provided by:
Free Domain Name - www.YOU.co.nr!