Results 1 to 5 of 5

Thread: DB tables: how to merge my existing mod db-tables with patch-updated db-tables?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Icon5 DB tables: how to merge my existing mod db-tables with patch-updated db-tables?

    So I have already an existing mod, where I modified some db tables from Rome 2 and saved that in separate directory.

    That's cool but now when CA releases a new patch and this modifies the db tables in vanilla Rome 2, how can I update my mod tables with those current db tables? Is there a "merge tool" or how do you do this? Manually?

    thanks a lot
    Last edited by AngryTitusPullo; September 26, 2013 at 12:38 AM.

  2. #2

    Default Re: DB tables: how to merge my existing mod db-tables with patch-updated db-tables?

    What I like to do, and others may disagree or have other solutions, is to use WinMerge: http://sourceforge.net/projects/winm...stable/2.14.0/ First of all I always keep a backup of the old DB-files in a separate file. Then I do three steps where I extract three .tsv/.csv files. First one from the pre-patch DB backup I have which I add the suffix "_old", then one from my own mod which I add the suffix "_mod" and then one from the new patch.

    I load up the old and new in WinMerge to see if anything has changed, if they are identical I move on to the next one. If the DB check says this file has changed it is then a header change, and not data. This can be confirmed using a hex editor and extracting the files in raw format.

    Then, when I find a file that has indeed changed I compare the old and new to see what has changed between the official patches. Since WinMerge can open another set in a tab I open the new and the mod file, and then I tab back and forth to make the changes that is needed for my mods. When done I save, and import the .tsv back in to my mod overwriting what was there.

    Once you get the hang of it, it is really not difficult or slow. My mod, which is in development, has some 20-odd tables and it took me less than an hour to sort through it all this time. Of course I do it meticulously to not make mistakes.
    Maratha Light Infantry - http://www.sendspace.com/file/ibfygu

    Col. Michael Kováts Hussars
    - United States - http://www.sendspace.com/file/j272k5

    Norske Geworbne & Trondhjemske Regiment - Norway -
    http://www.sendspace.com/file/tmvpk6


    Links updated 06.05.13

  3. #3

    Default Re: DB tables: how to merge my existing mod db-tables with patch-updated db-tables?

    thanks,
    I also was thinking about some merge tool like BeyondCompare or WinMerge. I already setup a mercurial (HG) repository on bitbucket which will track all the changes and I am using BeyondCompare merge tool for comparison.

  4. #4
    Condottiere SOG's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Oregon, USA
    Posts
    2,274

    Default Re: DB tables: how to merge my existing mod db-tables with patch-updated db-tables?

    This really needs a tutorial. Good Job.
    Erasmo
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601)
    System Manufacturer: ASUSTeK Computer Inc.
    System Model: G73Sw
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 12288MB RAM
    Available OS Memory: 12266MB RAM
    Page File: 2634MB used, 21881MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode

  5. #5
    Biggus Splenus's Avatar Primicerius
    Join Date
    Mar 2012
    Location
    South Australia
    Posts
    3,547

    Default Re: DB tables: how to merge my existing mod db-tables with patch-updated db-tables?

    This is a tool, is it?
    | R5 3600, RTX 2060, MSI B450I, 32GB 3200MHz CL16 DDR4, AX760i, NH-U12S |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •