Code Monkey home page Code Monkey logo

aoe2dat's People

Contributors

hszemi avatar pardoman 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

Watchers

 avatar  avatar  avatar  avatar  avatar

aoe2dat's Issues

aoe2dat in "bin"

From README.md

bin contains a compiled version of above code for linux - no idea if it will work or even execute on another machine

This indeed doesn't run out of the box as was dynamically linked (not statically) and requires libgenieutils.so from https://github.com/sandsmark/genieutils.

The result of running ldd aoe2dat:

linux-vdso.so.1 (0x00007fffd7be7000)
libgenieutils.so => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007ff9b0515000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007ff9b04fb000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007ff9b0334000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007ff9b01ee000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007ff9b0961000)

-- Configuring incomplete, errors occurred!

Hey I've been searching for a tool like this for ages to feed into my unit/civ comparison website I'm working on. I spent an hour trying to get this working. For context I'm a web dev. I followed the instructions and additionally installed the cmake tools, added cmake to the path, downloaded all the visual studio c++ build tools and still I get the same error in bash/powershell alike

``$ cmake ..
CMake Error at CMakeLists.txt:2 (project):
Running

'nmake' '-?'

failed with:

The system cannot find the file specified

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "C:/Projects/aoe2dat/code/build/CMakeFiles/CMakeOutput.log".``

The output log says this The system is: Windows - 10.0.19044 - AMD64

I downloaded the Windows x64 Installer: | cmake-3.24.2-windows-x86_64.msi

Extraneous Tech Data (Name2)

Name2 is a visible field in the json output of Tech. This should only show up in GV_SWGB or greater versions, not AOE2 according to genieUtils source.

if ((gv > GV_LatestTap && gv < GV_C2) || gv < GV_Tapsa || gv > GV_LatestDE2) {
    uint16_t name_len{};
    serializeSize<uint16_t>(name_len, Name);
    serialize(Name, name_len);
    if (gv >= GV_SWGB) {
        serializeSize<uint16_t>(name_len, Name2);
        serialize(Name2, name_len);
    }
}

The offending code is in your tojson source file :

out << "\"Name2\":\"" << tech.Name2 << "\"," << std::endl;

Work Rate availability

More a question than an issue: I can't find the Work Rate information regarding neither Units (Villagers, to be more precise) nor Buildings (Farms, Fish, etc).

Is there a way to retrieve it?
Is the actual gathering rate the multiplication by unit.WorkRate*farm.WorkRate?

Thanks for any suggestion

Would it be possible to include the Graphics data as well?

I'm trying to calculate the Frame Delay in seconds for any given unit, and it appears I need the "Frames per Angle" and "Anim Duration" for the relevant animations. See e.g. https://www.reddit.com/r/aoe2/comments/eg0619/my_research_on_how_frame_delay_works/ or https://ageofempires.fandom.com/wiki/Frame_delay for more info on how that works.

I can find the relevant details in the Genie editor under the 'Graphics' tab. However I cannot find any Graphics related information in the full.json. Is there any chance that this could be added?

Thanks!

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.