Eh, hello world.
How can i make a MoD with my music for THAW?
MoD with music
-
- Posts: 5
- Joined: Fri Jan 21, 2011 11:19 pm
- Contact:
-
- Posts: 108
- Joined: Fri Nov 20, 2009 1:20 pm
- Location: Ukraine
- Contact:
Re: MoD with music
You are stupid?
-
- Posts: 419
- Joined: Tue Aug 04, 2009 12:50 am
- Location: FL - USA
- Contact:
Re: MoD with music
sMo0g™ wrote:You are stupid?
This is a valid question and isn't one of the many repeat types, please don't be a dick.
SergioGV wrote:How can i make a MoD with my music for THAW?
This hasn't been done yet but shouldn't be too hard to accomplish.
You have a music_bik.dat and a music_bik.wad
the .dat contains the offset and size of the file which can be found in the .wad
Open the .dat file using a hex editor
first 4 bytes are the number of entries, then every 12 bytes are an entry
Entry Structure
4 bytes = file name, inside music.qb.wpc you'll find playlist_tracks array each entry has a path
take only the file name, example: music\vag\songs\7seconds is the first entry in the dat and wad; 7seconds = 6AAC6FA7
4 bytes file offset (location in the .wad)
4 bytes file size
now open the .wad using a hex editor goto the offset and copy the number of bytes of the files size.
copy that into a new blank hex document and save as something.bik
Use RAD Game Tools to play the track or simply use RAD Game tools to convert your own audio file and replace with this one.
If you change the size of the file simply correct all offsets after the file you changed.
Any other question just ask.
7seconds.bik test file Size = 3.05 MB, requires RAD Game Tools
WhoElseButMe on Nov 26, 2009 wrote:It's that lack of respect amongst their peers and ignorance towards modding etiquette that keeps us who know this stuff well from spreading it like wild fire. We do still enjoy playing the game and if you need to cheat to play a game PLAY SOMETHING ELSE YOU DON'T SUCK AT.
-
- Posts: 419
- Joined: Tue Aug 04, 2009 12:50 am
- Location: FL - USA
- Contact:
Re: MoD with music
Just tested this and it works perfectly...
Highlight the audio file you want to add to the game, using RAD Game tools and select Bink It
Open music_bik.dat and music_bik.wad in a hex editor
Also open the new .bik file you created in a hex editor
in music_bik.dat file add 1 to the first 4 byte value, in this case 6F becomes 70
Scroll to the bottom of music_bik.dat
give your file a name. example: the name of the artist (without spaces) and generate a qbkey for it
reverse that key and add the 4 byte key to the end of music_bik.dat.
next we need to add the offset for our file
so find the very end of music_bik.wad get the offset in hex and reverse it then add the 4 byte value to the bottom of music_bik.dat.
Scroll to the bottom of the .bik file you created and get its size and add that to the bottom of music_bik.dat
Save music_bik.dat and close it.
Copy the entire contents of the .bik file you created and paste to the end of music_bik.wad
Save music_bik.wad and close it close the hex editor.
Lastly we need to add the entry to the game so open the pak/pab pair that you plan on modding using QueenBee
Navigate to music.qb.wpc
Scroll to the bottom of playlist_tracks array
Right click on the StructHeader of the last item and select copy
Right Click the last array items StructHeader again and select paste / Add Sibling
Change the band name, track name, genre, and name part of the path.
music\vag\songs\venom
The red text above should be changed to the text you generated a qbkey from earlier.
Save to disk
Test your new music.
Highlight the audio file you want to add to the game, using RAD Game tools and select Bink It
Open music_bik.dat and music_bik.wad in a hex editor
Also open the new .bik file you created in a hex editor
in music_bik.dat file add 1 to the first 4 byte value, in this case 6F becomes 70
Scroll to the bottom of music_bik.dat
give your file a name. example: the name of the artist (without spaces) and generate a qbkey for it
reverse that key and add the 4 byte key to the end of music_bik.dat.
next we need to add the offset for our file
so find the very end of music_bik.wad get the offset in hex and reverse it then add the 4 byte value to the bottom of music_bik.dat.
Scroll to the bottom of the .bik file you created and get its size and add that to the bottom of music_bik.dat
Save music_bik.dat and close it.
Copy the entire contents of the .bik file you created and paste to the end of music_bik.wad
Save music_bik.wad and close it close the hex editor.
Lastly we need to add the entry to the game so open the pak/pab pair that you plan on modding using QueenBee
Navigate to music.qb.wpc
Scroll to the bottom of playlist_tracks array
Right click on the StructHeader of the last item and select copy
Right Click the last array items StructHeader again and select paste / Add Sibling
Change the band name, track name, genre, and name part of the path.
music\vag\songs\venom
The red text above should be changed to the text you generated a qbkey from earlier.
Save to disk
Test your new music.
WhoElseButMe on Nov 26, 2009 wrote:It's that lack of respect amongst their peers and ignorance towards modding etiquette that keeps us who know this stuff well from spreading it like wild fire. We do still enjoy playing the game and if you need to cheat to play a game PLAY SOMETHING ELSE YOU DON'T SUCK AT.
-
- Posts: 48
- Joined: Sun Oct 03, 2010 8:24 pm
- Location: Germany / Stuttgart
- Contact:
-
- Posts: 72
- Joined: Sat Mar 20, 2010 6:24 pm
- Contact:
Re: MoD with music
doing this with previous th series was much easier lol
-
- Posts: 5
- Joined: Fri Jan 21, 2011 11:19 pm
- Contact:
Re: MoD with music
YEEEEEEEEEEEEAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHH SM0000GGGG I'M RETARDEDD, STUPIDD.
H
H
-
- Posts: 108
- Joined: Fri Nov 20, 2009 1:20 pm
- Location: Ukraine
- Contact:
Re: MoD with music
xDDD lol dont offtopic!!
Who is online
Users browsing this forum: No registered users and 85 guests