File formats for the .res files

Everything else that doesn't fall into one of the other PB categories.
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

File formats for the .res files

Post 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?
Edwin Knoppert
Addict
Addict
Posts: 1073
Joined: Fri Apr 25, 2003 11:13 pm
Location: Netherlands
Contact:

Post by Edwin Knoppert »

http://www.wotsit.org has 2 files on that..
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

Post 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?
GreenGiant
Enthusiast
Enthusiast
Posts: 252
Joined: Fri Feb 20, 2004 5:43 pm

Post 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.
Post Reply