GithubHelp home page GithubHelp logo

lysannschlegel / rdaexplorer Goto Github PK

View Code? Open in Web Editor NEW
93.0 11.0 16.0 1.25 MB

Windows Application that can read and save the RDA file format used in Anno 1404, 2070 and 2205.

C# 99.06% PowerShell 0.94%
anno rda ubisoft modding

rdaexplorer's Introduction

RDA Explorer

The RDA Explorer is a Windows Application that can read and save the RDA file format used in Anno 1404, 2070, 2205 and 1800.

You can download the latest version here: Releases

If you encounter any bugs, please let me know by creating an issue. Pull requests are also welcome :)

Related projects

  • Anno 1800 Mod Loader

    "The one and only mod loader for Anno 1800, supports loading of unpacked RDA files, XML merging and Python mods."

Contributing

If you are not a programmer, you can contribute to the project by creating an issue to let me know what's broken or what you are missing.
If you are a programmer, you can find more information in the wiki.

License

See LICENSE.txt or COPYING file in the respective subdirectories.

This project is not affiliated in any way with Ubisoft.
Anno 2070, Anno 2205, Anno 1800, Ubisoft and the Ubisoft logo are trademarks of Ubisoft Entertainment in the US and/or other countries. Anno, Blue Byte and the Blue Byte logo are trademarks of Ubisoft GmbH in the US and/or other countries.

rdaexplorer's People

Contributors

froggiefrog avatar lysannschlegel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rdaexplorer's Issues

Disaster bitsetstring in Anno 1404

Any information which bit is which desaster in Anno 1404?

Extracted my save game game.xml and found

Disasters bitsetString 11111

I want to get rid of the Tornade killing my beloved empire :-)

New File.DB Format after GU12

Hey, first of all thanks for the notes on the file format which helped me a lot writing my own repacking tool.

I'd like to return the favor: with GU12, Ubisoft implemented a new file.db format and I already adjusted my tool to it.

Content section:

  • All Ids are int32
  • Every Node, Node End and attribute have their bytesize as an Int32 in front of them now. In case of Node and End of Node this is 0.
  • Attributes are filled up to a bytesize that is dividable by 8 by appending zeroes at the end of the actual content. this does not change the bytesize given in front.
  • End of node is 0 as int32.
  • The end of the content section is also filled up to be dividable by 8.

I took the freedom to adjust the Content section example on the tutorial section to the new format:


00 00 00 00                bytesize for following node: 0
04 00 00 00                beginning of node: 0x00000040
  00 00 00 00                  bytesize for following node: 0
  03 00 00 00                  beginning of node: 0x00000030
    04 00 00 00                    bytesize for following attribute: 4
    02 80 00 00                    attribute: 0x00008002
      02 00 00 00                      contents: (interpreted by application)
      00 00 00 00                      fill up with 0x00 to get a data block that is dividable by 8
  00 00 00 00                  bytesize of node End
  00 00 00 00                  end of node
   
  08 00 00 00                  bytesize for following attribute: 8
  00 80 00 00                  attribute: 0x00008000
     64 00 61 00 74 00 61 00        contents: (interpreted by application; looks like "data" as a 16-bit character string)
   04 00 00 00                 bytesize for following attribute: 4
   02 80 00 00                 attribute: 0x00008002
      01 00 00 00                  contents: (interpreted by application)
      00 00 00 00                  fill up with 0x00 to get a data block that is dividable by 8
00 00 00 00                bytesize of end of node
00 00 00 00                end of node

Tag Section:

  • Although IDs are int32 in the content section, here they are still int16s. Tag IDs are still <0x00> and Attrib IDs are still <0x80>
  • The structure of the tag section has changed:
<Int32 TagCount>
per Tag: <Int16 ByteID>
per Tag: <String Name> seperated by <0x00> 
<0x00 00 00 00>

the same for attribs

<0x00> <Int32 Tag Offset> <Int32 Attribs Offset>

8 magic bytes: 0x08 0x00 0x00 0x00 0xFE 0xFF 0xFF 0xFF (8 -2 as Int32s)

I hope this helps you! :)

FileDBGenerator.exe terminates after clicking Generate

I can open and edit addondata/config/balancing/addon_01_quests.xml and setup the GUI to generate a new db as below:
rda

As soon as I hit generate it just closes.

This error is shown:
AnnoRDA.FileFormatException: Input file or data stream does not conform to the expected file format specification: Invalid value in header at offset 0.

GUI not startting

I run Windows 7 x64 and there is no GUI, the program would not start. Can you tell me if I need some special version of .NET or whatever you used?

Event log:
Application: RDAExplorerGUI.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException
Stack:

I tried the updated .NET 4.6.1 and downloaded/installed 4.0 re-distributable, bot the same issue

Anno 2205 crash after repack rda file

Hi,
I have read all closed issues but cannot find anything to help me.
Maybe I'm doing something wrong but when open and save a rda file data12.rda (RDAExplorer 1.3) and copy back to game folder, game freeze while loading. I generated a new file.db by the FileDBGenerator but with the same result. I thing something wrong is with the FileDBGenerator.

  1. File db generator does not see all rda files and new filesize of the file.db is smaller then the original file.db. These files are not visible in the file db generator window:
  • English(US)0.rda
  • English(US)1.rda
  • English(US)2.rda
  • English(US)3.rda
  • English(US)4.rda
  • English(US)5.rda
  • English(US)6.rda
  • English(US)7.rda
  • English(US)8.rda
  • English(US)9.rda
    Other files data0.rda - data18.rda are visible OK. Therefore is file.db probably invalid.
  1. When I save a rda file must compression be checked? And which items of compression should by checked? I want to make language localization but I cannot change the data. I tried to change PreferLocalFiles to True in engine.ini and copy extracted files to maindata but it does not work.

My game version is 1.8 I thing (Anno2205.exe version info is 1.8.3726.17139). Maybe file format has changed due to update?

Please, can you investigate and let me know what is wrong?

Unable to load DLL 'zlib.DLL'

I try open any file rda of ANNO 1404 and get error:
Unable to load DLL 'zlib.DLL': The specified module could not be found. (Exception from HRESULT: 0x8007007E

2MB

1、Open “Data17.rda”
2、Save AS “DATA172.rda”

“Data17.rda” : 3617440KB
"Data172.rad" : 3615963KB
Why? Smalled 2MB

OS:Windows 10 P X64 Simplified Chinese
Visual Studio: 2019 P

Cloud you give me EXE?
Thank you!

Feature Request?

Would it be possible to get a command line version of this application?
Or would I have to take your code and write my own command line version in a fork of your current code?
It is just very time consuming make a file edit then having to open the RDAExplorer GUI to import a folder or file. If there was a command line version I could just write a script to detect file changes and then rebuild the RDA upon that change.
But even so, I have had no issues (that I can recall) with this application, and if there were, they were so small it didn't matter, as it was probably something I did wrong once.
Thanks

Editing 1404 save game files

I love ANNO 1404. I am not a programmer. I don't really understand what I can do with RDAExplorer that would be helpful to me in the game. I am having a particularly hard time with one of the achievements and I am wondering if RDA can be used to edit a saved game file in ANNO 1404 - Venice. Specifically if it can be used to change the value of "time played". I was able to extract files and change them but the saved game will no longer reload after that occurs. Thanks for any comments or insights.

Anno 1800

The RDA Explorer 1.3.1.0 for the beta Anno 1800 works fine and I'm able to edit the assets. But when exporting it back the .rda gives two options; version 2.0 (Anno 1404 & 2070) version 2.2 (Anno 2205)

The game crashes with either of these.
Thank you in advance.

game crash

when i revisions game (anything), save done.and the game is Crash.
Can you upgrade the program, please

Incorrect file format problem (1404 History edition)

Hello.

I'm trying to edit savegames and scenarios using RDAExplorer.

Sadly no matter what I do (even just resaving the save with RDAexplorer without any changes) I get the Incorrect file format error in-game.
I tried all the compression settings or did not use compression at all.

Is this an issue with the History edition? Is there some sort of file protection that won't allow any file changes? Is there something that I'm missing?

Load failed: Incorrect file format

I tried to use anyone of RDAExpoler versions but I have problem (maybe) with compression save game file. My purpose is to disappear the red exclamation mark and the text at the bottom "Unknown Profile" in Anno 1404.

  1. I tried to extract “game2.xml” to desktop from a save game file “namesave.sww”.
  2. Then open “game2.xml” with Notepad++ to change some parameters and save it.
  3. Delete the old “game2.xml” in RDAExpoler and Add the new edit file “game2.xml” from desktop.
  4. Save four files in RDAExpoler with default compression settings.
  5. End, drop the new “namesave.sww” into the folder with other save games directory.
  6. Run Anno 1404.The red exclamation mark and the text at the bottom "Unknown Profile" at edited “namesave.sww” does not appear.
  7. When choice to Load the edited “namesave.sww” appear a new small window “Load failed: Incorrect file format”.

Editing ANNO 2205 population

Hey there,

First of all, thanks for keeping this thing up to date.

Now, I've been trying to edit the max population the residences can have, but I've had no success so far. I always get the weird blue-screen/broken game.
Is there a specific dataxx.rda that I have to edit? (since more than one of them has the value of max population).
And will the game increases your Company level when you change the population? or is there an anti-cheat system in place?

I know this might not be the best place to ask, but I couldn't find any info anywhere.

Thanks for the answers.

Anno 2205 Crash

Hello,
I have a problem with RDAExtract, and file.db create.
Extracting is ok, after change few data in xml file, for example, change only <Value>100</Value> to <Value>200</Value> the rda file size must be same. Game crash on start. Ok After creating file.db game not crash, but stop (freeze) after "Loading".
Then I try other version. Restore rda and file.db files from backup. I extract rda to folder Anno2205/data
and rewrite PreferLocalFiles false to true in engine.ini file. Game crash at start. Question, I must extract all rda files to /data folder? It is about 32GB :)
Sorry for my english.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.