XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Jul 16, 2018 5:50 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 56 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Tue Oct 19, 2010 6:36 pm 
Offline
advanced

Joined: Thu Apr 15, 2010 7:16 am
Posts: 47
Has thanked: 3 times
Have thanks: 13 times

The LUA scripts aren't compiled? :eek: Wow, they really did rush on the PC port. XD

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Tue Oct 19, 2010 7:46 pm 
Offline
n00b

Joined: Thu Oct 14, 2010 9:33 am
Posts: 14
Has thanked: 0 time
Have thanks: 0 time
There's a reason why it's considered one of the worst ports in PC gaming history. :mrgreen:

Good for us though since we can dig in and mod in changes easily. I've actually fixed a few of the mission scripts already that had crashing and other problems. Plus, it's easy to create new missions with a bit of lua knowledge.


Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Tue Oct 19, 2010 8:13 pm 
Offline
advanced

Joined: Thu Apr 15, 2010 7:16 am
Posts: 47
Has thanked: 3 times
Have thanks: 13 times
Hey! It's an excellent game with shoddy code. Hopefully they'll put more effor into the PC version of Saints Row 3. XD

I'd say Dreamfall: The Longest Journey was the worst port. The mouse X-axis is backwards with no way to change it. So, so, SO annoying!!!! :'(


Yeah, very good for us. Tropico 3 uses compiled LUAs of a custom variety and they are a real PITA to decompile. You also get to see all the dev comments, w00t!


Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Wed Oct 20, 2010 1:18 am 
Offline
advanced

Joined: Mon Aug 02, 2010 4:11 pm
Posts: 51
Has thanked: 0 time
Have thanks: 2 times
FordGT90Concept wrote:
The LUA scripts aren't compiled? :eek: Wow, they really did rush on the PC port. XD
Or they wanted to do the modding community a favor :D

IdolNinja wrote:
I'm still looking, but I think you may be on the right track with the SR2_CUTSCENES bank.
OK, so the SR2_CUTSCENES waves are really needed, right? I tried to do a workaround. For .XWBs causing the "Out of memory" problem, you have call the tool with the new option "-safe"... this option is needed, because the script cannot tell, if a .xwb will cause problems, because (as I already wrote) the problem is not in the script, but in the program I use to translate the script into an executable. It seems to work, but I'm not too happy with this fix - plus, I almost didn't test it. So I wouldn't call it a "stable version"...

xactxtract v0.97

Unpack 'normal' .XWBs as before:
xactxtract.exe -x2 *.xwb

For .XWBs that crash with "Out of memory" error(like SR2_CUTSCENES), use the -safe option:
xactxtract.exe -safe -x2 SR2_CUTSCENES.xwb

FordGT90Concept wrote:
Then my focus will shift to giving everything proper titles (from xtbl and, if necessary, xsb)
The .xsb files won't be much help, I'm afraid, because (unlike in other games), they don't have cue names included :(


Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Wed Oct 20, 2010 7:27 pm 
Offline
n00b

Joined: Thu Oct 14, 2010 9:33 am
Posts: 14
Has thanked: 0 time
Have thanks: 0 time
The new version of the tools was able to successfully extract the cutscene audio bank using the -safe param. :)

Going through all of them now!


Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Sat Oct 23, 2010 3:25 pm 
Offline
advanced

Joined: Mon Aug 02, 2010 4:11 pm
Posts: 51
Has thanked: 0 time
Have thanks: 2 times
Hi IdolNinja,

just an idea in case you haven't found the cell phone calls yet: yesterday I followed your link, took a quick look at the SR2 Modding Site (very nice community and you're doing a great job over there :up: !) and found this thread of yours. You mentioned a table called foley.xtbl there. From the sample entry you posted, it looks similar to the music.xtbl. Have you tried searching this foley.xtbl for something like "phone"?
In case there is such an entry, it might lead you directly to the wave bank with the cell phones.


Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Sun Oct 24, 2010 6:34 am 
Offline
n00b

Joined: Thu Oct 14, 2010 9:33 am
Posts: 14
Has thanked: 0 time
Have thanks: 0 time
@Liandril

Thank you for the kind words. It is a very open community that is built on the principles of sharing knowledge and welcoming newcomers. I couldn't ask for a better group of people to work with. :)

Good idea about foley.xtbl, but I took a look and unfortunately it only contains sound fx rather than any kind of dialogue. I will find it eventually though. I'm determined!


Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Sat Dec 04, 2010 9:45 pm 
Offline
advanced

Joined: Mon Aug 02, 2010 4:11 pm
Posts: 51
Has thanked: 0 time
Have thanks: 2 times
Hi All,

IMPORTANT: I only just found out this about the two versions of xactxtract I posted in this thread:

Virus scanners report they found the "Worm/Autorun bqef SIGNATURE" on newer versions of xactxtract (v0.96, v0.97). I think/hope/am quite sure it's a false alert, because I scanned my whole system and the only "infected" files were these two xactxtract executables. Therefor I think that compiling my Perl script (xactxtract is actually a Perl script) with PAR::Packer accidently produces the above signature in the resulting executables (i.e. in v0.96 & v0.97 of xactxtract.exe). But if you want to be sure, better don't use versions 0.96 & 0.97 and use this old version (0.95)instead. I scanned this version (0.95) today (2010-dec-04) with several up-to-date scanners (including AntiVir, AVG, NOD32 and Kapersky) and they all found/reported nothing.
If you want to use v0.95 with Saints Row 2, then you first have to remove blanks from the .xwb file names, i.e. rename "MUS 420.xwb" to MUS420.xwb

BTW: I didn't forget about the "-replace" option in order to replace waves in a .xwb file ... but I really have absolutely no time at the moment.


Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Sat Dec 18, 2010 10:18 am 
Offline
n00b

Joined: Thu Oct 14, 2010 9:33 am
Posts: 14
Has thanked: 0 time
Have thanks: 0 time
Liandril,

Thanks for the heads up. It's likely a false positive, but better safe than sorry.

I am still very much looking forward to your revised tool so I can start replacing dialogue for the custom missions I'm scripting, but completely understand how real life can you leave you with little free time. I just wanted to let you know that I still check in regularly to see if there's any progress and hope to see it eventually completed. :)


Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Sat Jan 08, 2011 2:26 pm 
Offline
advanced

Joined: Mon Aug 02, 2010 4:11 pm
Posts: 51
Has thanked: 0 time
Have thanks: 2 times
Hi IdolNinja,

I'm glad to hear that you're still there. I was very sad to see what happened to you at Volition. Sorry that I still can't provide a new version of xactxtract. Today is the first(!) day within the last 2 months that I had a little time to look into the code again. I made some progress, but also encountered some unexpected problems...just wanted to let you know that I didn't forget about it.


Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Sun Jan 09, 2011 1:30 pm 
Offline
n00b

Joined: Thu Oct 14, 2010 9:33 am
Posts: 14
Has thanked: 0 time
Have thanks: 0 time
Thanks for continuing your work on the tool. :)

It is a shame what happened on the Volition forums, but Saints Row 2 modding isn't dead just yet. I'm still working personally with some of the other modders like Minimaul and Innocent Sam and even went ahead and made all beta releases of the mod public on my site so fans can check out new features immediately without having to wait between releases:
http://idolninja.com

I'm really exited about the original content that I'm working on with the new missions that should be released shortly. It will even better once I can get my own audio in there too! :D


Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Thu Jan 13, 2011 10:39 pm 
Offline
advanced

Joined: Thu Apr 15, 2010 7:16 am
Posts: 47
Has thanked: 3 times
Have thanks: 13 times
Liandril wrote:
IdolNinja wrote:
Would your planned tool also work on replacing adpcm and xma? I wasn't able to find the cell phone calls that happen in-game and I'm wondering if maybe they are in adpcm or wma format instead of wav and I just missed them when extracting/looking with unxwb a while back.

Yes, replacing adpcm and xma should be possible. Unfortunately, my tool just extracts (x)WMA and PCM so far... I wanted to add extracting & converting for ADPCM, but didn't (and don't) have the time :( .BTW: If you want to have a detailed list with infos about the .xwbs, just type:
xactxtract.exe *.xwb >xwb-info.txt
and you'll get a text file with informations (type (wma,xma,adpcm,pcm), channels,...) for every wave in the wave banks. But when I look at your overview, then it will be a LONG text file :D

I noticed a bug in your 0.97 xactxtract.exe app when dealing with raw WAV format in SR2. Example: MUS MIX_00001.wav

Surprisingly, WAV is about the only format I could get to work with my code. XD

Anyway, there appears to be a problem in the header and at the end of the file. In the header, there is a problem at offset 28 (Byte Rate) and offset 32 (Block Align).

Working Byte Rate: 88200 ( 22050 * 2 * 16 / 8 )
Nonworking Byte Rate: 132300

Working Block Align: 4 ( 2 * 16 / 8 )
Nonworking Block Align: 6

Basically, it looks like you got the math wrong in calculating those two values. Working formulas:
Byte Rate: SampleRate * NumChannels * BitsPerSample/8
Block Align: NumChannels * BitsPerSample/8

That should be a quick fix for you. :)

Edit: some songs have 1 channel and 32000 Byte rate so it is important that it is calculated correctly.


The other problem is that the file isn't long enough on your version.

Mine is: 20836396
Yours is: 20832300

I'm not sure why yours comes in short. Maybe your app isn't reading far enough into the file. Anyway, it would be great if you could get those WAVE bugs fixed.


Edit: Yeah, your app appears to work on all MUS files except the rare songs that are PCM (not a complete list but some that stood out):
MUS MIX 1
MUS MIX 5
MUS MIX 6
MUS MIX 100
MUS SHARED 52

Thanks for that app though. I dunno if I'm going to finish work on mine now or not since you almost got them all.



...now to go through all the songs and get them proper names. I'll post a list of them when done.

172 files...


MUS SHARED_00076-MUS SHARED_00089 are the music files which play with a song where the main character sings to it. MUS SHARED_00052 is the menu music. All other "SHARED" files are ads.


Last edited by FordGT90Concept on Wed Jan 19, 2011 10:09 pm, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Fri Jan 14, 2011 5:32 am 
Offline
advanced

Joined: Thu Apr 15, 2010 7:16 am
Posts: 47
Has thanked: 3 times
Have thanks: 13 times
Here they are in filename|title|artist format:
Code:
MUS 420_00000|Here I Come|Barrington Levy
MUS 420_00001|Who Am I?|Beanie Man
MUS 420_00002|Boom Shak A Tack|Born Jamericans
MUS 420_00003|Hey Boy|Buju Banton
MUS 420_00004|Ganja Smuggling|Eek A Mouse
MUS 420_00005|Krazy|Elephant Man
MUS 420_00006|Heads High|Mr. Vegas
MUS 420_00007|Guns Out|Ninja Man
MUS 420_00008|Picture This|Vybz Kartel
MUS 420_00093|Murder She Wrote|Chaka Demus And Pliers
MUS 420_00094|Stop The Fussing And Fighting|Dennis Brown
MUS AMBIENT_00327|Zombie Uprising Music 1|Saints Row 2
MUS AMBIENT_00328|Zombie Uprising Music 2|Saints Row 2
MUS AMBIENT_00329|Zombie Uprising Music 3|Saints Row 2
MUS AMBIENT_00330|Zombie Uprising Music 4|Saints Row 2
MUS EZZZY_00111|Bachelor Samba|Marc Durst
MUS EZZZY_00112|Berg Und Tal|Gerhard Narholtz
MUS EZZZY_00113|Bossa Cubana|Gerhard Narholtz
MUS EZZZY_00114|Chanson Pour Toi|Alfred Jack
MUS EZZZY_00115|A Cielito Lindo|Carlos Periguez
MUS EZZZY_00116|Coconuts|Gerhard Narholz
MUS EZZZY_00117|Colonie Celeste|Gerhard Narholtz
MUS EZZZY_00118|Dancing On The Avenue|John Cacavas
MUS EZZZY_00119|Dolce Vita|Bruno Bertoli
MUS EZZZY_00120|Face To Face|Sammy Burdson
MUS EZZZY_00121|A Girl Like You|Norman Candler
MUS EZZZY_00122|Jarabe Tapatio|Carlos Periguez
MUS EZZZY_00123|Just Strolling Along|Sammy Burdson
MUS EZZZY_00124|Kalamazoo Style|Oliver Andres
MUS EZZZY_00125|Love For Life|Sammy Burdson
MUS EZZZY_00126|Marvelous Singers Remix|Marc Durst
MUS EZZZY_00127|Naughty But Nice|Walt Rockman
MUS EZZZY_00128|Stereo Cha Cha|Umberto Pagnini
MUS EZZZY_00129|Sunny Day In Heidelberg|Helmuth Brandenburg
MUS EZZZY_00130|Swing Paname|Angel Debarre
MUS EZZZY_00131|Tchoupa Twist|Nicolas Folmer
MUS EZZZY_00132|Tooba Boogie|Otto Sieben
MUS EZZZY_00133|Walkie Talkie|Gerhard Narholz
MUS EZZZY_00134|Whistle Happy|Colin Baldry
MUS FUNK_00000|Don't Get Discouraged|UPC Allstars
MUS FUNK_00001|The Cissy's Thang|The Soul Seven
MUS FUNK_00002|Put A Smile On Time|The Rhythm Machine
MUS FUNK_00003|Funky In Here|Dayton Sidewinders
MUS FUNK_00004|Look What You've Done To Me|Sheila Skipworth
MUS FUNK_00005|You Can Be A Star|Luther Davis Group
MUS FUNK_00006|Street Scene|Leon Mitchison
MUS FUNK_00007|Drugs Ain't Cool|Ebony Rhythm Band
MUS FUNK_00008|Keep Running|Cliff Nyren
MUS FUNK_00009|Gotta Get Your Love|Chocolate Star
MUS FUNK_00010|Trespasser|Bad Medicine
MUS FUNK_00011|Love Fades|Amnesty
MUS FUNK_00107|Wake Up Pt. 1 and 2|Pure Essence
MUS GENX_00067|Hole In The Earth|Deftones
MUS GENX_00068|I Got It|Galactic featuring Lyrics Born
MUS GENX_00069|Let Me In|Hot Hot Heat
MUS GENX_00070|Put Your Money Where Your Mouth Is|Jet
MUS GENX_00071|Teenagers|My Chemical Romance
MUS GENX_00072|Misery Business|Paramore
MUS GENX_00073|Hate|Plain White T's
MUS GENX_00074|MakeDamnSure|Taking Back Sunday
MUS GENX_00075|Coat Of Arms|The Life And Times
MUS GENX_00076|Rock And Roll Queen|The Subways
MUS GENX_00077|All That I've Got|The Used
MUS GENX_00078|Lying Is The Most Fun|Panic! At The Disco
MUS GENX_00155|Knights|Minus The Bear
MUS GENX_00184|Face Down|Red Jumpsuit Apparatus
MUS K12_00000|Through The Hosiery|Crystal Castles
MUS K12_00001|Death Of A Moralist|Daniel Mansury
MUS K12_00002|Sexy Results|Death From Above 1979
MUS K12_00003|We Are Rockstars|Does It Offend You, Yeah?
MUS K12_00004|Crossover Appeal|Guns N Bombs
MUS K12_00005|North American Scum|LCD Soundsystem
MUS K12_00006|Don And Sherri|Matthew Dear
MUS K12_00007|Street Justice|MSTRKRFT
MUS K12_00008|Special Effect|TRS80
MUS K12_00091|Over And Over|Hot Chip
MUS K12_00092|Give Me Every Little Thing|The Juan MacLean
MUS KLASSIC_00111|Arrival of the Queen of Sheba|Georg Friedrich Handel
MUS KLASSIC_00112|Brandenburg Concerto No. 3 - Allegro|Johann Sebastian Bach
MUS KLASSIC_00113|Concerto No. 4 In A|Johann Sebastian Bach
MUS KLASSIC_00114|Coppelia Ballet Suite|Leo Delibes
MUS KLASSIC_00115|Eine Kleine Nachtmusik|Wolfgang Amadeus Mozart
MUS KLASSIC_00116|The Four Seasons No. 1 - The Spring|Antonio Vivaldi
MUS KLASSIC_00117|The Four Seasons No. 2 - The Summer|Antonio Vivaldi
MUS KLASSIC_00118|Haffner Serenade No. 7 In D Major|Wolfgang Amadeus Mozart
MUS KLASSIC_00119|Hungarian Dance No. 5|Johannes Brahms
MUS KLASSIC_00120|Moonlight Sonata|Ludwig Van Beethoven
MUS KLASSIC_00121|Music For The Royal Fireworks (Overture)|Georg Friedrich Handel
MUS KLASSIC_00122|Nutcracker Trepak|Peter Ilyich Tchaikovsky
MUS KLASSIC_00123|Marriage of Figaro (Overture)|Wolfgang Amadeus Mozart
MUS KLASSIC_00124|In The Hall Of The Mountain King|Edvard Grieg
MUS KLASSIC_00125|Anitra's Dance|Edvard Grieg
MUS KLASSIC_00126|Ride of the Valkyries|Richard Wagner
MUS KLASSIC_00127|Sleeping Beauty Waltz|Peter Ilyich Tchaikovsky
MUS KLASSIC_00128|String Quartet In G Major|Wolfgang Amadeus Mozart
MUS KLASSIC_00129|Symphony No. 5 In C Minor - Allegro Con Brio|Ludwig Van Beethoven
MUS KLASSIC_00130|Symphony No. 5 In C Minor - Allegro|Ludwig Van Beethoven
MUS KLASSIC_00131|Symphony No. 40 - 1st Movement|Wolfgang Amadeus Mozart
MUS KLASSIC_00132|Toccata and Fugue In D Minor|Johann Sebastian Bach
MUS KLASSIC_00133|Water Music Suite No. 1 - Overture|Georg Friedrich Handel
MUS KLASSIC_00134|Water Music Suite No. 1 - Presto|Georg Friedrich Handel
MUS KRHYME_00000|One Thing|Amerie
MUS KRHYME_00001|Gangsta Bitch|Apache
MUS KRHYME_00002|What A Thug About|Beanie Sigel
MUS KRHYME_00003|Twinz|Big Punisher Featuring Fat Joe
MUS KRHYME_00004|Good Girl|Chrisette Michelle
MUS KRHYME_00005|Fandango|DJ Quik Featuring B Real
MUS KRHYME_00006|Tell Me Bout It|Joss Stone
MUS KRHYME_00007|Trick Me|Kelis
MUS KRHYME_00008|Hands Up|Lloyd Banks
MUS KRHYME_00009|New York State Of Mind|Nas
MUS KRHYME_00010|So Sick|Ne Yo
MUS KRHYME_00011|Sucker MCs|Run DMC
MUS KRHYME_00012|Ridin In That Black Joint|Wale
MUS KRHYME_00013|I Luv It|Young Jeezy
MUS KRHYME_00121|Me And U|Cassie
MUS KRUNCH_00071|Deadly Sinners|Three Inches Of Blood
MUS KRUNCH_00072|Nothing Left|As I Lay Dying
MUS KRUNCH_00073|Bat Country|Avenged Sevenfold
MUS KRUNCH_00074|Resurrection|Chimaira
MUS KRUNCH_00075|Milk Lizard|The Dillinger Escape Plan
MUS KRUNCH_00076|Unsung|Helmet
MUS KRUNCH_00077|Stars|Hum
MUS KRUNCH_00078|Redneck|Lamb Of God
MUS KRUNCH_00079|Colony Of Birchmen|Mastodon
MUS KRUNCH_00080|Ghosts Of Perdition|Opeth
MUS KRUNCH_00081|Barn Burner|The Agony Scene
MUS KRUNCH_00082|What A Horrible Night To Have A Curse|The Black Dahlia Murder
MUS KRUNCH_00083|Anthem|Trivium
MUS KRUNCH_00084|Woman|Wolfmother
MUS MIX_00000|Take On Me|A-Ha
MUS MIX_00001|Karma Chameleon|Culture Club
MUS MIX_00002|The Reflex|Duran Duran
MUS MIX_00003|The Final Countdown|Europe
MUS MIX_00004|Working For The Weekend|Loverboy
MUS MIX_00005|Land Down Under|Men At Work
MUS MIX_00006|Sister Christian|Night Ranger
MUS MIX_00007|Don't You Forget About Me|Simple Minds
MUS MIX_00008|Everybody Wants To Rule The World|Tears For Fears
MUS MIX_00009|Pretty In Pink|The Psychedelic Furs
MUS MIX_00100|Out of Touch|Hall and Oates
MUS SHARED_00052|Menu Music|Saints Row 2
MUS UNDERGROUND_00000|Don't Call It A Ghetto|The Architects
MUS UNDERGROUND_00001|Western Biographic|Bound Stems
MUS UNDERGROUND_00002|Hazel Street|Deer Hunter
MUS UNDERGROUND_00003|Shoot The Runner|Kasabian
MUS UNDERGROUND_00004|Every Single Line Means Something|Marnie Stern
MUS UNDERGROUND_00005|For Real|Okkervil River
MUS UNDERGROUND_00006|Third Gear Scratch|Shiner
MUS UNDERGROUND_00007|House Of Cards|Shipwreck
MUS UNDERGROUND_00008|Call In The Debts|South Street
MUS UNDERGROUND_00009|Terror|The Rakes
MUS UNDERGROUND_00010|Dead Friends|The Saps
MUS UNDERGROUND_00011|Here's Your Future|The Thermals
MUS UNDERGROUND_00012|And She Would Darken The Memory|The Twilight Sad
MUS UNDERGROUND_00013|Cheer It On|Tokyo Police Club
MUS WORLD_00109|Baidoushka|Robin Jeffrey
MUS WORLD_00110|Bangara Dance|Ravi Shani
MUS WORLD_00111|Brasilian Fiesta|Claudia Figueroa
MUS WORLD_00112|Cigany|Niko Radic
MUS WORLD_00113|Connaught Chase|Greg Knowles
MUS WORLD_00114|Drumjig|Greg Knowles
MUS WORLD_00115|El Viento En La Isla|Liza Carbe
MUS WORLD_00116|Emerald Jig|Ian Clarke
MUS WORLD_00117|Friss A Rozsa|Niko Radic
MUS WORLD_00118|Good Morning Polka|Jan Schneeberg
MUS WORLD_00119|Gypsy Dance|Laszlo Borteri
MUS WORLD_00120|Hot Nights|John Leach
MUS WORLD_00121|Humors Of Glen Dart|Greg Knowles
MUS WORLD_00122|Hungarian Sundance|Friedrich Sehl
MUS WORLD_00123|Mambo De Fito|Liza Carbe
MUS WORLD_00124|Mandilatos|Robin Jeffrey
MUS WORLD_00125|Mountain Hut Landler|Martin Beeler
MUS WORLD_00126|Over The Moor To Maggie|Greg Knowles
MUS WORLD_00127|Schenkt's Ma Mal Was Boarisch|Karl Barthel
MUS WORLD_00128|The Drunkard's Song|Viktor Mastoridis
MUS WORLD_00129|Zahrat El Sahra|Roger Abaji


Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Sun Feb 06, 2011 4:49 pm 
Offline
advanced

Joined: Mon Aug 02, 2010 4:11 pm
Posts: 51
Has thanked: 0 time
Have thanks: 2 times
FordGT90Concept wrote:
I noticed a bug in your 0.97 xactxtract.exe app when dealing with raw WAV format in SR2. Example: MUS MIX_00001.wav

Thanks a lot for the bug report, the list and the PM, FordGT90Concept. As I already wrote in the PM: my problem is still that I've no time at all :(
As regards the PCM bug: I'm not surprised that there are bugs left. The history of xactxtract is quite funny/sad: My goal was to insert new cues, sounds, tracks into .xsb files. About 60-70% of the time I worked on the project was spent on analyzing the xsb format. Unfortunately, I still don't know, how the .xsb hash function looks like. So I focussed on extracting the .xwbs to valid wmas...about 30% of the time, I spent on the WMA format...another fail. Finally I noticed that I only have to extract Xwma files.. the corresponding code for xwma was written in almost no time (1-2 hours), i.e. the code that is now used by most users was written in less than 1% of the time I worked on the project. And after all that happened to me in the last 3 months, I didn't even remember that I wrote a function for extracting PCM at all. But the problem is easy (and already fixed in the code): As you already wrote, I miscalculated the block align (didn't use INTEGER division). And the avg. byte rate was wrong, because I use the block align for calculating the byte rate...

I don't know why the file length is wrong... probably its better to extract PCM files with unxwb.
Apart from that I fixed one of the "unexpected" problems with the replace function mentioned in my last posting. So I'll try to include replace function(=still a big problem) and renaming function(=should be quite easy; thanks for the list once again!!!) in the next version...but honestly: I don't know when it will be finished. The next weeks are stuffed with work for my job :[

BTW: Thanks for the examples (MUS MIX_00001.wav, ...), too, but I can't test it with those, because I don't have Saints Row 2. I just have the two SR2-xwb files provided by IdolNinja.


Top
 Profile  
 
 Post subject: Re: Saints Row 2 XWB compressed wave
PostPosted: Mon Feb 14, 2011 10:15 pm 
Offline
n00b

Joined: Thu Oct 14, 2010 9:33 am
Posts: 14
Has thanked: 0 time
Have thanks: 0 time
Liandril wrote:
BTW: Thanks for the examples (MUS MIX_00001.wav, ...), too, but I can't test it with those, because I don't have Saints Row 2. I just have the two SR2-xwb files provided by IdolNinja.


My offer is still good to buy you a copy of the game for testing if you're interested. It's dirt cheap right now on Amazon and I can just give you the registration key for Steam that comes with the manual. Let me know!



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 56 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group