Page 1 of 1
File formats for the .res files
Posted: Wed Sep 01, 2004 10:44 am
by GedB
I'd like to write a little tool that parses the .res files found in the purebasic\Residents directory, so that I can see what's avaiable and look into the stuff I don't recognise.
Does anybody have a description of the .res file format?
Posted: Wed Sep 01, 2004 11:16 am
by Edwin Knoppert
http://www.wotsit.org has 2 files on that..
Posted: Wed Sep 01, 2004 12:30 pm
by GedB
Are the residents files noraml .res windows resource files?
That doesn't look right. If it is the data is 1163023696 bytes long and the header is 0 bytes long.
What am I missing?
Posted: Wed Sep 01, 2004 12:48 pm
by GreenGiant
I just tried opening one with a hex editor, looks like the constant names are just in a basic text file format. My guess would be that its just the name of the constant followed by the value of the constant.
Edit: Actually probably only the Windows.res and the PureBasic_x86.res files are like that. Dont know about the other two, but they do both have readable plain text too.