Using DLC Packs with Custom Textures: Difference between revisions
No edit summary |
|||
| (17 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
[[Category:DLC Pack]] | |||
[[Category:Tutorials]] | |||
= Meta Files = | = Meta Files = | ||
| Line 36: | Line 7: | ||
There are two files you need to create for a new archive. Create these files on your desktop. | There are two files you need to create for a new archive. Create these files on your desktop. | ||
< | <pre> | ||
content.xml | content.xml | ||
setup2.xml | setup2.xml | ||
</ | </pre> | ||
Inside of these files you will need to add the following code and replace 'REPLACEME' with exact characters that you would like to replace them with. 'dlc_' is required. Ie. | Inside of these files you will need to add the following code and replace 'REPLACEME' with exact characters that you would like to replace them with. 'dlc_' is required. Ie. mytextures. | ||
'''content.xml''' | '''content.xml''' | ||
< | <pre> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
<CDataFileMgr__ContentsOfDataFileXml> | <CDataFileMgr__ContentsOfDataFileXml> | ||
| Line 74: | Line 45: | ||
<patchFiles /> | <patchFiles /> | ||
</CDataFileMgr__ContentsOfDataFileXml> | </CDataFileMgr__ContentsOfDataFileXml> | ||
</ | </pre> | ||
'''setup2.xml''' | '''setup2.xml''' | ||
< | <pre> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
<SSetupData> | <SSetupData> | ||
| Line 93: | Line 64: | ||
</contentChangeSetGroups> | </contentChangeSetGroups> | ||
</SSetupData> | </SSetupData> | ||
</ | </pre> | ||
= Setting Up An Archive = | = Setting Up An Archive = | ||
Generally speaking when you're working with the creation of a new dlcpack you will need to have the following structure according to this page: | Generally speaking when you're working with the creation of a new dlcpack you will need to have the following structure according to this page: | ||
< | <pre> | ||
- dlc.rpf | - dlc.rpf | ||
- content.xml | - content.xml | ||
| Line 106: | Line 77: | ||
- myCustomFile.rpf | - myCustomFile.rpf | ||
- myYTDFile.ytd | - myYTDFile.ytd | ||
</ | </pre> | ||
Here's an example of folder structure: | Here's an example of folder structure: | ||
| Line 116: | Line 87: | ||
* This RPF file must be called 'dlc'. | * This RPF file must be called 'dlc'. | ||
* Inside this rpf mimic the above folder structure. | * Inside this rpf mimic the above folder structure. | ||
* Once this is complete the addon is ready for your server. | |||
* Once | |||
= DLC Pack Installation = | = DLC Pack Installation = | ||
The name of your DLC Pack is the name of your folder for the dlc pack. | The name of your DLC Pack is the name of your folder for the dlc pack. | ||
< | <pre> | ||
Basic Folder Path: | Basic Folder Path: | ||
server-files/client_packages/dlcpacks/REPLACEME/dlc.rpf | server-files/client_packages/game_resources/dlcpacks/REPLACEME/dlc.rpf | ||
</ | </pre> | ||
Latest revision as of 07:29, 1 June 2024
Meta Files
There are two files you need to create for a new archive. Create these files on your desktop.
content.xml setup2.xml
Inside of these files you will need to add the following code and replace 'REPLACEME' with exact characters that you would like to replace them with. 'dlc_' is required. Ie. mytextures.
content.xml
<?xml version="1.0" encoding="UTF-8"?>
<CDataFileMgr__ContentsOfDataFileXml>
<disabledFiles />
<includedXmlFiles />
<includedDataFiles />
<dataFiles>
<Item>
<filename>dlc_REPLACEME:/%PLATFORM%/textures/myCustomFile.rpf</filename>
<fileType>RPF_FILE</fileType>
<overlay value="true" />
<disabled value="true" />
<persistent value="true" />
</Item>
</dataFiles>
<contentChangeSets>
<Item>
<changeSetName>REPLACEME_AUTOGEN</changeSetName>
<filesToDisable />
<filesToEnable>
<Item>dlc_REPLACEME:/%PLATFORM%/textures/myCustomFile.rpf</Item>
</filesToEnable>
<txdToLoad />
<txdToUnload />
<residentResources />
<unregisterResources />
</Item>
</contentChangeSets>
<patchFiles />
</CDataFileMgr__ContentsOfDataFileXml>
setup2.xml
<?xml version="1.0" encoding="UTF-8"?>
<SSetupData>
<deviceName>dlc_REPLACEME</deviceName>
<datFile>content.xml</datFile>
<timeStamp>03/30/2018 17:26:39</timeStamp>
<nameHash>REPLACEME</nameHash>
<contentChangeSetGroups>
<Item>
<NameHash>GROUP_STARTUP</NameHash>
<ContentChangeSets>
<Item>REPLACEME_AUTOGEN</Item>
</ContentChangeSets>
</Item>
</contentChangeSetGroups>
</SSetupData>
Setting Up An Archive
Generally speaking when you're working with the creation of a new dlcpack you will need to have the following structure according to this page:
- dlc.rpf
- content.xml
- setup2.xml
- x64
- textures
- myCustomFile.rpf
- myYTDFile.ytd
Here's an example of folder structure:
- You can use CTRL + ALT + O in OpenIV to open a new folder.
- Open a New Folder and then right-click the white-space on the right-side of OpenIV and create a new RPF file.
- This RPF file must be called 'dlc'.
- Inside this rpf mimic the above folder structure.
- Once this is complete the addon is ready for your server.
DLC Pack Installation
The name of your DLC Pack is the name of your folder for the dlc pack.
Basic Folder Path: server-files/client_packages/game_resources/dlcpacks/REPLACEME/dlc.rpf
