DAT Mods Without Modifying Original DATs (pivot)

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » FFXI » Dat Modding » DAT mods without modifying original DATs (pivot)
DAT mods without modifying original DATs (pivot)
Offline
Posts: 6
By Heals 2020-07-22 10:35:42  
There's already a thread about this addon in the addons section but it feels like it should be mentioned here again as it's pretty much an essential part of DAT modding.

I wrote an addon/plugin called xipivot for both Ashita v3 and Windower 4;
It allows anyone to load DAT mods in controlled way from a separate folder structure without having to overwrite or modify any of the original game files.

Features:
  • all mods are structured into subdirectories

  • mods can be enabled / disabled at will

  • there's a load order that manages which mods take precedence

  • no meddling with the game's actual files

  • supports replacing DAT files as well as music and sound files



Installation:

Manual and Windower Install:

  • Head over to the Releases page and pick the ZIP that matches your launcher

  • Follow the README.md inside the archive for setup and configuration instructions




Ashita v3 Install

The latest version of XIPivot can always be installed from the plugins list in Ashita and will be updated automatically.

Configuration - Ashita v3

  1. Create a subdirectory inside the DATs/ folder for each overlay you want to use

  2. Add /load xipivot as the first line to your setup script (before any /wait or other lines)

  3. Start FFXI and once logged in type the command /pivot to open the in-game configuration UI

  4. Click the plus-button next to each addon you want to enable, in the order you want them to be loaded

  5. Once done, close the UI and restart FFXI



Example - XI-View, XI-Vision:

Directory structure:
Code
<Ashita Install>
   +-- config/
   |    +-- XIPivot.xml
   |
   +-- plugins/
        +-- XIPivot.dll
        +-- DATs/
             +-- README.txt
             +-- XI-View/
             |    +-- ROM/
             |
             +-- XI-Vision/
                  +-- ROM/
                  +-- ROM2/
                  +-- ROM3/
                  +-- ROM4/
                  +-- ROM4/


generated XIPivot.xml:
Code
<?xml version="1.0" encoding="UTF-8"?>
<settings>
    <setting name="overlays">XI-Vision,XI-View</setting>
</settings>


XIPivot defaults to look for your overlays inside the DATs/ directory next to the XIPivot.dll.
If you prefer a different path you can add the key 'root_path' to XIPivot.xml like so:
Code
<?xml version="1.0" encoding="UTF-8"?>
<settings>
    <setting name="root_path">C:/my/awesome/addons</setting>
    <setting name="overlays">XI-Vision,XI-View,FFXI-HD</setting>
</settings>


This instructs to XIPivot to search for overlays inside "C:\my\awesome\addons" instead.
(If you're unsure don't set this parameter and things should just work).

-------------------------------------------------------------

Configuration - Windower
  1. Copy the XIPivot folder into your Windower addons folder.

  2. Create a subdirectory inside the `data/DATs` folder for each overlay you want to use

  3. Edit `data/settings.xml` (see `settings.sample.xml`)

    • add the directory names from 2) for each overlay that should be enabled, separated by ','
    • order matters - overlays will be used in order, with the
    first hit for a file being used



Example - For XI-View and XI-Vision:

Directory structure:
Code
<Windower Install>
   +-- addons/
        +-- XIPivot/
             +-- XIPivot.lua
             +-- README.md
             +-- libs/
             |    +-- _XIPivot.dll
             |
             +-- data/
                  +-- DATs/
                  |   +-- README.txt
                  |   +-- XI-View/
                  |   |    +-- ROM/
                  |   |
                  |   +-- XI-Vision/
                  |   |    +-- ROM/
                  |   |    +-- ROM2/
                  |   |    +-- ROM3/
                  |   |    +-- ROM4/
                  |   |    +-- ROM4/
                  +-- settings.xml 


settings.xml:
Code
<?xml version="1.1" ?>
<settings>
    <global>
	<overlays>XI-View,XI-Vision</overlays>
    </global>
</settings>


Windower Limitations

As a result of how Windower loads this addon some DAT files will already be loaded before any redirects can happen.
Currently this affects Mods that try to replace the initial menu textures or fonts. (Ashita v3 does not have this limitation to that extend; Ashita v4 won't have it at all)
[+]