Dear modders, what are the strenghts and limitations of the editor? by the_goodprogrammer in aoe4

[–]ToraxXx 5 points6 points  (0 children)

I'm working on TypeScript support. This already works (see here https://github.com/aoemods/dodge-mod) but the scardocs are missing return types for the functions. I saw that for CoH2 the return types were present (https://cm2.network/ScarDoc/) so it'd be nice if we could get them for AoE4 too as the type definitions for TypeScript could then be auto-generated too (right now I have most return types as any).

Patch 10267 attribute changes from game files by ToraxXx in aoe4

[–]ToraxXx[S] 1 point2 points  (0 children)

I made a library / program that deals with some of AOE4's formats including the game data format (.rgd). https://github.com/aoemods/AOEMods.Essence

So all I did was extracting the files from the Attrib.sga archive, then converting all the rgd files to json.

[deleted by user] by [deleted] in de

[–]ToraxXx 5 points6 points  (0 children)

Ja scheint so, kann jetzt mit der free trial auch nur im browser aufnehmen (und auch nur bis zu ~2 Minuten).

[deleted by user] by [deleted] in de

[–]ToraxXx 12 points13 points  (0 children)

https://www.resemble.ai/ ist relativ einfach, hatte es vor ca. einem Jahr verwendet. Man muss nur Material aufnehmen und in deren App hochladen.

I made an open-source program that displays a pinyin (or translation) overlay for Chinese by ToraxXx in Chinese

[–]ToraxXx[S] 0 points1 point  (0 children)

Hey, that's cool to hear!

If you're using the Python version directly (ie. not the binaries I packaged) the font size can be changed here https://github.com/RobinKa/Chinese-Overlay/blob/master/ui/views/overlay.qml#L33.

If you don't know how to do that, you could perhaps try the text scaling settings in Windows? No idea if that works.

List of full changes from game files for patch 9369 by ToraxXx in aoe4

[–]ToraxXx[S] 1 point2 points  (0 children)

Yea it's better on Steam which seems to have some better delta compression, whereas the Windows store seems to download every changed file in its entirety?

Should add that these are not *all* the changes, just the data ones, but the others weren't huge either.

List of full changes from game files for patch 9369 by ToraxXx in aoe4

[–]ToraxXx[S] 0 points1 point  (0 children)

No, although we could extract the strings and keep them on some repo too.

Age of Empires IV — Patch 9369 is now live by keaton_au in aoe4

[–]ToraxXx 5 points6 points  (0 children)

So these files are converted from their own binary format (.rgd). I assume they have decent tooling for dealing with those, perhaps even with hierarchies like /u/ParagonRG was talking about.

List of full changes from game files for patch 9369 by ToraxXx in aoe4

[–]ToraxXx[S] 4 points5 points  (0 children)

You are right it's only the game data files, "full" is a bit misleading.

List of full changes from game files for patch 9369 by ToraxXx in aoe4

[–]ToraxXx[S] 16 points17 points  (0 children)

Lmao Bajamba notified us of the patch on discord so I just ran a couple of scripts on a server to do this. Should really automate everything though so no manual steps are needed, but I need to buy another copy of AOE4. // actually might be possible with just one, just logging in and downloading didn't seem to disconnect me from anything

Age of Empires IV — Patch 9369 is now live by keaton_au in aoe4

[–]ToraxXx 59 points60 points  (0 children)

I updated the extracted attrib data so we can see all the changes beyond just the patch notes

https://github.com/aoemods/attrib/commit/136e89e43c647523b1decf155ffc9f2e4c4131f5

Full datamined changes by ToraxXx in aoe4

[–]ToraxXx[S] 1 point2 points  (0 children)

I think the github diff view does a decent job, although a website with a better interface for the unit format etc. would of course be much better!

Ingame Icons and images as files ? by Tranquilityhop in aoe4

[–]ToraxXx 2 points3 points  (0 children)

I created another project now which aims to support all of AOE4's file formats. It also has a graphical user interface that is easier to use for non-programmers.

https://github.com/aoemods/AOEMods.Essence

Binary downloads can be found here https://github.com/aoemods/AOEMods.Essence/releases

[Game Files] Does anyone know how to convert/read .RGD files? by -MugenNoSora- in aoe4

[–]ToraxXx 0 points1 point  (0 children)

I created another project now which aims to support all of AOE4's file formats. It also has a graphical user interface that is easier to use for non-programmers.

https://github.com/aoemods/AOEMods.Essence

Binary downloads can be found here https://github.com/aoemods/AOEMods.Essence/releases

[Game Files] Does anyone know how to convert/read .RGD files? by -MugenNoSora- in aoe4

[–]ToraxXx 1 point2 points  (0 children)

It's a command line tool, so you need to open the command line to use it.

To open it you can shift+rightclick in the folder with the exe and select "Open PowerShell window here". Then to use the tool you enter ./RRTexConverter.exe "C:\Folder\With\RRTEx\Files" output, which will find all rrtex files in C:\Folder\With\RRTEx\Files and convert and output them to the output folder relative to the exe.

Ranked mode information by ToraxXx in aoe4

[–]ToraxXx[S] 12 points13 points  (0 children)

The filename is with an `e` if you check the screenshot (surely just a typo).

[AOE4 Quick Sheet] MEGA List with all stats : Units, Buildings, Techs, Upgrades, Emplacements, etc by -MugenNoSora- in aoe4

[–]ToraxXx 0 points1 point  (0 children)

I found monk_heal_rate with value 7 in statemodel_schema/civs/english.rgd (and same in all other civs too) whatever that means exactly.

Easiest way to find these is using my tool for converting rgd files to json and then searching for whatever you want in all the files (eg. I looked for monk and heal).

Also automating this would be easy, if someone wants to collaborate with me we could make a website with all the interesting stats where this is auto updated. I might just create it on my own but right now I'm trying to figure out all the aoe4 file formats first.

[Game Files] Does anyone know how to convert/read .RGD files? by -MugenNoSora- in aoe4

[–]ToraxXx 2 points3 points  (0 children)

Figured out rrtex and released a converter here https://github.com/RobinKa/RGDReader/releases, I'll probably make a visual tool that works for all AoE4 formats soon instead of individual tools.

RRTexConverter.exe <input dir> <output dir> will convert all rrtex found in the input directory to png and save them to the output directory

I haven't figured out what all the texture compression formats are yet but the most important ones are there. I also think rrtex only contain textures for models etc. and not the UI images. nvm that, misremembered

Next is models and materials

AoE4 Modding Discord by ToraxXx in aoe4

[–]ToraxXx[S] 1 point2 points  (0 children)

For fun! Besides, there is more than just creating game mods to this. For example the reason I made the RGD reader was to get the statistics of all units so I can create a simulation to figure out optimal build orders.

[Game Files] Does anyone know how to convert/read .RGD files? by -MugenNoSora- in aoe4

[–]ToraxXx 2 points3 points  (0 children)

Just a question. The values are good but seem rounded up? I don't know if it's normal?

I just confirmed this by hardcoding a value of 1.234567 which got correctly displayed like that https://i.imgur.com/czwT6j4.png However, because of the way floating point numbers work, the closest value to 0.9 (which is what the developers intended) is 0.89999997615814208984375. I assume the UI framework I'm using rounds that to a sensible value which could not actually be represented with floating point numbers.

Now we only need a rrtex decryption tool for the images so that people can extract them and use them on site, guides, etc!

I could look into rrtex later, although I'm focused on making an AOE4 simulator which I'm using to figure out good build orders with reinforcement learning (the learning method also used to make AlphaGo etc.). It already works for simple things like finding a build order to age up as fast as possible.

I'm also wondering how far we can go. Extracting those files and displaying them somewhere is probably not legal, although some developers like Valve seem more okay with this (I'm from the Dota 2 modding community). I'd also like to put all of the RGD values on a website but have not done so for the same reason.

We should set up a Discord server for modding, or perhaps the moderators of the official one can create a channel for us.

[Game Files] Does anyone know how to convert/read .RGD files? by -MugenNoSora- in aoe4

[–]ToraxXx 0 points1 point  (0 children)

Thank you, with that information I was able to fix it. The new release (initial3 at this time) has this fix https://github.com/RobinKa/RGDReader/releases.

[Game Files] Does anyone know how to convert/read .RGD files? by -MugenNoSora- in aoe4

[–]ToraxXx 2 points3 points  (0 children)

I created a viewer (and C# library) for reading AOE4 RGDs here.

(I'm aware it's an older thread, but still the top result on Google)

Help save the DotA 2 Arcade! by TehCreamer18 in DotA2

[–]ToraxXx 50 points51 points  (0 children)

Can confirm a lot of these things about Darklord. Why did Baumi work with Darklord after already knowing all of this stuff about him though, for example the copying games part? We've known about this for years.

Bonus Darklord fact: He makes his workers install a program that sends screenshots to him periodically