aoemods / aoemods.essence Goto Github PK
View Code? Open in Web Editor NEWC# library and tools for working with Age of Empire 4's Essence engine (.sga, .rrtex, .rrgeom, .rgd currently)
Home Page: http://aoemods.com
License: MIT License
C# library and tools for working with Age of Empire 4's Essence engine (.sga, .rrtex, .rrgeom, .rgd currently)
Home Page: http://aoemods.com
License: MIT License
I'm a grateful users of the cli to unpack SGA archives, update unit stats and images for the AoE4 World explorer, but currently not equiped enough to figure out how to deal with the fact the RRTex header format seems to have changed a bit with the recent build versions in version 7 of aoe4 / season 5 pup.
Here's the CLI error and related discord discussion https://discord.com/channels/911038016179560529/913882758902857758/1105459391697797150
dotnet AOEMods.Essence.CLI.dll rrtex-decode ../art/ui/icons/races ../icons/races -b
Found 782 files matching ../art/ui/icons/races
Unhandled exception. System.ArgumentOutOfRangeException: Non-negative number required. (Parameter 'value')
at System.IO.FileStream.set_Position(Int64 value)
at AOEMods.Essence.Chunky.RRTex.RRTexReader.ReadMip(ChunkyFileReader reader, Int32 mip, RRTexDataTman tman, IImageFormat outputFormat, RRTexType textureType)
at AOEMods.Essence.Chunky.RRTex.RRTexReader.ReadDataTdatLastMip(ChunkyFileReader reader, ChunkHeader header, RRTexDataTman tman, IImageFormat outputFormat, RRTexType textureType)
at AOEMods.Essence.Chunky.RRTex.RRTexReader.ReadRRTexLastMip(Stream rrtexStream, IImageFormat outputFormat, RRTexType textureType)
at AOEMods.Essence.CLI.Commands.<>c__DisplayClass3_0.<RRTexDecode>g__ConvertFile|0(String path, String outputPath)
at AOEMods.Essence.CLI.Commands.BatchConvert(String inputDirectoryPath, String outputDirectoryPath, String pattern, String outputExtension, Action`2 convertFile)
at AOEMods.Essence.CLI.Commands.RRTexDecode(RRTexDecodeOptions options)
at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,T4,T5,T6,T7,TResult](ParserResult`1 result, Func`2 parsedFunc1, Func`2 parsedFunc2, Func`2 parsedFunc3, Func`2 parsedFunc4, Func`2 parsedFunc5, Func`2 parsedFunc6, Func`2 parsedFunc7, Func`2 notParsedFunc)
I'm not very experienced with binary file mappings so any help would be greatly appreciated!
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.