phrohdoh / libdrs

Age of Empires data format parser.
2 stars 0 forks source link

Create a .drs file format parser in C# #1

Closed xan2622 closed 9 years ago

xan2622 commented 9 years ago

It would be interesting to see OpenRA support the .drs file format (for possible future mods). But before this step, a .drs file parser (in C#) is needed.

For reference, here are .drs file format specifications: http://artho.com/age/drs.html

xan2622 commented 9 years ago

$5 bounty : https://www.bountysource.com/issues/5709684-create-a-drs-file-format-parser-in-c

Courage, Phrohdoh! =)

xan2622 commented 9 years ago

Some random (more or less) related links:

https://github.com/apreiml/freeaoe https://github.com/stefan-kolb/aoc-mgx-format https://github.com/PaulZero/AoE3-File-Readers http://aoe.heavengames.com/downsnew/dwnutils.shtml https://github.com/fredreichbier/genie https://github.com/SFTtech/openage

phrohdoh commented 9 years ago

Please note that the entire point of this repo is to parse drs from C#, though not necessarily for OpenRA.

Other file types to parse: slp, shp, bin (sometimes palettes), and others I'm unsure of for the time being.

phrohdoh commented 9 years ago

This is done as of https://github.com/Phrohdoh/libdrs/commit/90c77cd2f6ede96e6cbf435200df2605d79ae981.

xan2622 commented 9 years ago

Why did you want to create a .drs file parser if it's not to add this feature in openra? Is it for another project?

phrohdoh commented 9 years ago

The sole purpose is not to add it to OpenRA, but that is one of the reasons.

The other was to learn about stream reading in C#.

phrohdoh commented 9 years ago

I have created a DRS-Spec (in markdown format) from the information at artho and my own findings.