UZI-I Posted January 1, 2009 Share Posted January 1, 2009 (edited) Hello All... Here is what I found on the WPL / XPL file from GTA4 They are like the SA's Binary IPL... Header : struct Header_t{BYTE byteUnknown01[ 4 ];DWORD dwNbrOfBlockInst;}; BlockInst (Repeated X Time) struct Inst_t{float fPosition[ 3 ];float fRotation[ 4 ];DWORD dwModelNameHash;BYTE byteUnknown01[ 4 ];DWORD dwAttachedLod;BYTE byteUnknown02[ 8 ];}; The first 'BlockInst' is located at 0x44 in the file. The Rotation is a Complex Number, Quaternion. http://www.gtaforums.com/index.php?showtopic=390195 Have fun... Edited January 6, 2009 by UZI-I Link to comment Share on other sites More sharing options...
xmen Posted January 2, 2009 Share Posted January 2, 2009 (edited) nice...but format not working for me found some blocks at the end of each file byte[8] = always (xpl 0000 0001) (wpl 0100 0000)InfoBlock 128 bytes (separated by ,)Ist = file name ?2nd = unknown3rd = unknown some address type thing or any identifier4th = date time(YYYY:MM:DD:HH:mm:ss) edit : worked...dunno, but .net textbox dont support some stupid chars and do not add any lines Edited January 2, 2009 by xmen Link to comment Share on other sites More sharing options...
Intosia Posted January 2, 2009 Share Posted January 2, 2009 What does it do? Link to comment Share on other sites More sharing options...
warclaw Posted January 2, 2009 Share Posted January 2, 2009 please found the coords of car spawn point! xmen! and have i right that that is coords? Link to comment Share on other sites More sharing options...
UZI-I Posted January 2, 2009 Author Share Posted January 2, 2009 (edited) I think in my unknown value, there is an address to an Info block that determine the File to be spawned and some sh*t. I'll look at that today. @Intosia : WPL / XPL are the new IPL name. They are used to create static object in the game. Edited January 2, 2009 by UZI-I Link to comment Share on other sites More sharing options...
UZI-I Posted January 2, 2009 Author Share Posted January 2, 2009 (edited) Sorry for the double post... (16:50:30) Yoann: http://public.yoa2n.fr/gtaiv/brook_s2.wpl.txt (16:50:30) Yoann: http://public.yoa2n.fr/gtaiv/brook_s2.xpl.txt (16:50:43) Yoann: http://public.yoa2n.fr/gtaiv/ipldumper/ Header and BlockInst of XPL are the same as WPL but the endianning is different... And the crappy source of ipldumper... http://public.yoa2n.fr/gtaiv/ipldumper/ipldumper.cpp__.txt EDIT (Thanks Tanjes): http://tof.canardpc.com/show/448d9a46-3341...070e3f8f23.html Edited January 2, 2009 by UZI-I Link to comment Share on other sites More sharing options...
xmen Posted January 3, 2009 Share Posted January 3, 2009 here is the format i got float X, Y, Zfloat RX, RY, RZ, RWbyte[20] unknown inst section starts from 0x44 http://i476.photobucket.com/albums/rr121/x.../Untitled-1.png Link to comment Share on other sites More sharing options...
UZI-I Posted January 3, 2009 Author Share Posted January 3, 2009 (edited) Maybe... After the rotation, there is the Hash of the model Name (DWORD) EDIT: http://public.yoa2n.fr/gtaiv/brook_s2(MODEL_NAME).wpl.txt OMG brook_s2.wpl with model name. (Scroll Down) EDIT: Everything is there http://public.yoa2n.fr/gtaiv/brook_s2(MODEL_NAME).wpl.txt http://public.yoa2n.fr/gtaiv/hash_table.txt Edited January 3, 2009 by UZI-I Link to comment Share on other sites More sharing options...
Acoustik Posted January 3, 2009 Share Posted January 3, 2009 Woo! Great, Now I wait when you can add an objet ingame with the WPL modification ! Link to comment Share on other sites More sharing options...
UZI-I Posted January 3, 2009 Author Share Posted January 3, 2009 OMG http://pix.nofrag.com/d/3/6/4dcceb4b4566b6...3c0b67d874.html Download Soon... Link to comment Share on other sites More sharing options...
JKM Posted January 4, 2009 Share Posted January 4, 2009 WOW...... really cool hopefully with an editor (which can save any changes) too Or better a max script xD Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now