Search found 81 matches

by quota4stupid
Sun Feb 08, 2009 8:09 am
Forum: Binary
Topic: BWD file tags
Replies: 17
Views: 60667

Re: BWD file tags

For anyone who's interested I've uploaded an updated copy of this file at the same address. It's still got a lot of gaps and is missing my notes on the
"CPGN" chunk, but is otherwise my current understanding of the BWD file format.
by quota4stupid
Tue Feb 03, 2009 6:55 pm
Forum: Modding & Development
Topic: MW2.PRJ patching
Replies: 17
Views: 18043

Re: MW2.PRJ patching

Nice :-) Have you had a chance to look at the TBL files in the TABL directory yet? I think they need to be updated if you add a file, but I haven't had a chance to test this theory out yet :-P
by quota4stupid
Tue Feb 03, 2009 6:51 pm
Forum: Binary
Topic: Subfolder locations in PRJ
Replies: 26
Views: 49963

Re: Subfolder locations in PRJ

I *think* I've got most of the essentials worked out now, although there are still a few fields that I can't figure (I tried looking for some pattern in them the other night and eventually gave up). With any luck I'll finish the project for my missus soon and then I can go gangbusters on MW2 again :-D
by quota4stupid
Mon Feb 02, 2009 8:26 pm
Forum: Binary
Topic: Subfolder locations in PRJ
Replies: 26
Views: 49963

Re: Subfolder locations in PRJ

struct MW2_PRJ_directory_header { char marker[4]; // Marker string INDX DWORD structSize; // Size of this record, plus MW2_PRJ_Directory_Entries, minus 8 DWORD unknown; char directoryName[4]; WORD maxEntries; // (see below) WORD entryCount; // Number of entries after this header, including an initi...
by quota4stupid
Fri Jan 23, 2009 3:35 am
Forum: Binary
Topic: MW2 textures
Replies: 45
Views: 137184

Re: MW2 textures

I believe byte 1 of the poly record is some sort of control value/flags although I dunno the exact interpretation yet. I base this on the fact that: * Most regular mech polys seems to have a value of 0x64 or 0x6C here. * By contrast, the DUMMY.WTB (which I don't think is meant to be rendered) has a...
by quota4stupid
Fri Jan 23, 2009 3:23 am
Forum: Binary
Topic: MW2 textures
Replies: 45
Views: 137184

Re: MW2 textures

Thanks :-D I've got more: 00000000.png 00000063.png Same general setup, except that I've dropped a function into the loader that remaps certain BMID values as they're loaded in order to change the camo pattern (the above is tiger, or camo number 3). Specifically if the BMID values are 256, 258, 260,...
by quota4stupid
Fri Jan 23, 2009 2:35 am
Forum: Binary
Topic: MW2 textures
Replies: 45
Views: 137184

Re: MW2 textures

True enough, but good tools can make a world of difference to how quick you get there ;-) Figured out most of my problems with OpenGL (but not all) and have the following to show for it: 00000000.png 00000061.png I'm still having an issue that could best be described as depth buffer malfunction (bac...
by quota4stupid
Thu Jan 22, 2009 5:41 pm
Forum: Binary
Topic: MW2 textures
Replies: 45
Views: 137184

Re: MW2 textures

Depends on the vendor for your graphics chipset I think. From memory Windows contains a software renderer that is OpenGL 1.1 compliant, and I believe this is meant to be overriden in the presence of vendor drivers? Nvidia supports OpenGL pretty well, and I'm pretty sure even the ATI Radeon in my 5 y...
by quota4stupid
Wed Jan 21, 2009 10:51 pm
Forum: Binary
Topic: MW2 textures
Replies: 45
Views: 137184

Re: MW2 textures

I get the basics of OpenGL, but I've never really done anything significant with it (hence why I hoped to use MW2 as a learning experience for it :-)) If you can find your way thru Java, I'm happy to send you the code I wrote for this (the OpenGL portion is a spaghetti mess at this stage, but the ex...
by quota4stupid
Wed Jan 21, 2009 5:48 pm
Forum: Binary
Topic: MW2 textures
Replies: 45
Views: 137184

Re: MW2 textures

Thankyou :-) I've tried testing the above theory, but unfortunately while I can successfully load & decode the data from file, my OpenGL skills are pretty poor so I haven't been able to properly render it yet :-P (Side note: for me, this MW2 project is meant to be a combo of reverse engineering ...