Results 1 to 13 of 13

Thread: Tool for modding db values easily

Hybrid View

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

    Default Tool for modding db values easily

    I have an idea for a tool that works from a set of tuples (that could be configured from a simple text file) and enables a lot of tweaking to happen very quickly and easily. Each tuples is like:
    name of field to edit, filepath, hex offset, field type (i.e. byte/short/long/float/double)

    A simple GUI app would read the tuples and present them in a sensible way; it could even look up the current value. It would allow the user to specify a new value, and upon saving it would apply any changes and the user's ready to see them in game.

    Would there be a lot of interest in this? I suspect it would tide a lot of people over until CA releases their mod tools. Using absolute hex offsets means that it'll break if string lengths are changed or elements are added, but that probably won't be an issue for most people. The edits can occur straight to the pack files. It would probably mostly occur on the patch.pack file since that overrides most of the db files in the main.pack. And all the offsets will probably change when a new patch is released, so it might be worth considering a smarter method to find the values, but it could still be a lot less complex than a full decoding of the db files.

  2. #2

    Default Re: Tool for modding db values easily

    Yes.

    I want to experiment with the factions file, and alas, we cannot do that until we have a converter. I know alpaca made one that converts to txt, but not one that converts back yet.







  3. #3

    Default Re: Tool for modding db values easily

    Quote Originally Posted by SkyShadowing View Post
    Yes.

    I want to experiment with the factions file, and alas, we cannot do that until we have a converter. I know alpaca made one that converts to txt, but not one that converts back yet.
    Can you post url for his convertr, please?

  4. #4

    Default Re: Tool for modding db values easily

    Yes, yes, a thousand times yes! I am a man with less than zero programming skill and even less knowledge of hex editing (and also for whom the .Net framework does not feel like installing and therefore cannot use your pack file manager), so anything you could do to make things easier for us would be ridiculously well-appreciated. If I could do anything to help I would!

  5. #5

    Default Re: Tool for modding db values easily

    I too would be interested in this, I just hope that when CA release the tools they promised, that they'll patch the game to allow mods via a Mods folder in the main game directory, or in the data directory.
    My named ships in Empire Total War: (that i can remember)

    Fifth Rate, HMS Poseidon.

    Fifth Rate, HMS Dauntless.

    Fifth Rate, HMS Enterprise NCC-1701

    Fifth Rate, HMS Simi.


    ------
    "Ya best start believing in ghost stories Miss Turner. You're IN one!"

  6. #6

    Default Re: Tool for modding db values easily

    just posted something like this in the db tools thread, if it was in c++ id be up for helping with it..... was thinking it in 3 parts, a hex viewer wher eu specify the data type of the hex offset, spefify a "field" and output it all to xml or something, with a guyi editor for the data, would be tedious getting the info together for what it actually is, but minimal effort when its done!!!

  7. #7

    Default Re: Tool for modding db values easily

    Is the Pope Pol-er-German?

    This would be great.
    Garibaldi's gopher boy.

  8. #8

    Default Re: Tool for modding db values easily

    We're working on something like this, although it's not really like what I described in the original post. That idea wasn't tractable.

  9. #9

    Default Re: Tool for modding db values easily

    Quote Originally Posted by LtChambers View Post
    We're working on something like this, although it's not really like what I described in the original post. That idea wasn't tractable.
    May I ask what your problem was? I'm actually working on something very similar and had no problems so far.

  10. #10

    Default Re: Tool for modding db values easily

    no, i see no use for this whatsoever....

  11. #11

    Default Re: Tool for modding db values easily

    i agree. let us never speak of this again.

  12. #12

    Default Re: Tool for modding db values easily

    Why not? Hex editing is the worst, most mistake prone, and most difficult form of modding, which is why it's always used as a last resort.

    If these guys can cobble together a tool that will allow us to easily translate, edit, and recompile the db files, Then I say to them:

    Go for it!

    It would at least tide us over until CA release something, (IF they release something to edit the db files), and if they don't, then we've got this modding tool already on hand.
    Last edited by Captian Barbossa; March 11, 2009 at 10:18 AM.
    My named ships in Empire Total War: (that i can remember)

    Fifth Rate, HMS Poseidon.

    Fifth Rate, HMS Dauntless.

    Fifth Rate, HMS Enterprise NCC-1701

    Fifth Rate, HMS Simi.


    ------
    "Ya best start believing in ghost stories Miss Turner. You're IN one!"

  13. #13

    Default Re: Tool for modding db values easily

    I'm beginning to enjoy working with Hex although I definately wouldn't say no to this.

Posting Permissions

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