hszemi / aoe2dat Goto Github PK
View Code? Open in Web Editor NEWUnit and Tech data, extracted from the Age of Empires II dat file
Unit and Tech data, extracted from the Age of Empires II dat file
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)
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
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;
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
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!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.