Results 1 to 6 of 6

Thread: Not compatible game data

  1. #1
    Thread killer Member Rodion Romanovich's Avatar
    Join Date
    Mar 2005
    Location
    The dark side
    Posts
    5,383

    Default Not compatible game data

    Hi!

    I'm making a mod with improvements mostly for singleplayer. The only thing that's changed that'll also affect multiplayer are group formations. The problem is that when I change those, it's impossible to connect to vanilla R:TW games in multiplayer, because it says: incompatible game data.

    The thing is that the changes I made do NOT affect multiplayer at all so the games should be compatible in mp even though the game says they aren't. Is there any way of overriding that limit?

    My first experiment involved changing export_descr_unit.txt, changing type of royal pikemen to "heavy" instead of "spearmen" in order to treat them as a different unit type than phalanx pikemen in the edited group formations. When that didn't work I tried to put 3 nonsense characters in a comment to compensate for the 3 bytes less the file size became when I edited spearmen to heavy. That didn't work either. It seem like last edited date doesn't matter when compability is decided because I edited and edited back, then saved the vanilla .txt file and it was still compatible in mp. So - what is it that really determined compatibility and how can I make changes that won't affect multiplayer without the game saying game data is incompatible?
    Under construction...

    "In countries like Iran, Saudi Arabia and Norway, there is no separation of church and state." - HoreTore

  2. #2
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: Not compatible game data

    compatibility checks are most likely based on some checksum formula. So changing even a single character in export_descr_unit.txt can cause incompatibility. Even if it wouldn't actual affect battle results.
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  3. #3
    Thread killer Member Rodion Romanovich's Avatar
    Join Date
    Mar 2005
    Location
    The dark side
    Posts
    5,383

    Default Re: Not compatible game data

    Ok, thanks. And I assume CA is keeping that checksum algorithm to themselves to avoid cheaters from hacking the game? Hm, I might have to give up with my mod idea in that case.
    Under construction...

    "In countries like Iran, Saudi Arabia and Norway, there is no separation of church and state." - HoreTore

  4. #4
    Thread killer Member Rodion Romanovich's Avatar
    Join Date
    Mar 2005
    Location
    The dark side
    Posts
    5,383

    Default Re: Not compatible game data

    But wait - the checksum of the file must be compared to some other checksum, right? Doesn't that mean the checksum must be stored elsewhere? Is it stored online, or just in another file, that I could edit?
    Under construction...

    "In countries like Iran, Saudi Arabia and Norway, there is no separation of church and state." - HoreTore

  5. #5
    aka AggonyAdherbal Member Lord Adherbal's Avatar
    Join Date
    Oct 2004
    Location
    Belgium
    Posts
    1,014

    Default Re: Not compatible game data

    erm it's most likely stored in a variable in the memory and transferred to other players over gamespy. I don't think you can change that - besides, the whole point of compatibility checking is that you cannot bypass it :)
    Member of The Lordz Games Studio:
    A new game development studio focusing on historical RTS games of the sword & musket era
    http://www.thelordzgamesstudio.com

    Member of The Lordz Modding Collective:
    Creators of Napoleonic Total War I & II
    http://www.thelordz.co.uk

  6. #6
    Thread killer Member Rodion Romanovich's Avatar
    Join Date
    Mar 2005
    Location
    The dark side
    Posts
    5,383

    Default Re: Not compatible game data

    Yes, I think you're right. The only weak point in this fort is the calculation of the checksum from the file. I'll make some attempts and see if I can find at least one change of a file that does NOT lead to incompatibility and from that try to figure out the algorithm. It's likely though that the algorithm is too complex to be able to figure out just by testing.
    Under construction...

    "In countries like Iran, Saudi Arabia and Norway, there is no separation of church and state." - HoreTore

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO