Register  FAQ  Search  Memberlist  Profile  Log in to check your private messages  Log in  Main Site 

Whitepaper: Halo Wars "sounds.pck"
Goto page Previous  1, 2, 3
 
Post new topic  Reply to topic   Infectionist Machinima Forum Index » Programming
View previous topic :: View next topic  
Author Message
RaptorXZ
Infection Form
Infection Form

Joined: 28 Jan 2012
Posts: 6
Status: Offline
Style: Xbox 360

PostPost subject: Reply with quote
XB0Xm0d wrote:
32 -bit windows 7.... can't seem to convert to wav either have used ToWav.zip

help! lol

Did you manage to successfully extract the XMA files, then?
_________________
Tuesday, February 14, 2012 2:35:42 am
View user's profile Send private message
Author Message
XB0Xm0d
Infection Form
Infection Form

Joined: 07 Feb 2012
Posts: 5
Status: Offline
Style: Xbox 360

PostPost subject: Reply with quote
RaptorXZ wrote:
XB0Xm0d wrote:
32 -bit windows 7.... can't seem to convert to wav either have used ToWav.zip

help! lol

Did you manage to successfully extract the XMA files, then?


I think so... i'll have a quick play with it tomorrow hopefully and see where i get with the source.

Oddly they were 2048kb each...
_________________
Tuesday, February 14, 2012 2:08:23 pm
View user's profile Send private message
Author Message
HaLo2FrEeEk
Overlord Extraordinaire

Joined: 15 Aug 2006
Posts: 5782
Status: Offline
Style: Xbox 360
Location: Trying really hard to do something

PostPost subject: Reply with quote
I will take a look at this when I get home later tonight. It probably has to do with the fact that you're on 32 bit, I'm on 64 bit so my projects default to that. Should be a quick fix.

Edit: hmm...raptor is using 64 bit, same as me. That's weird. I probably made some changes to the file and didn't finish. I should be able to restore the basic functionality though.
_________________
This user has made more than 500 posts on the Infectionist forums!

~HaLo2FrEeEk

I wrote:
I'm sexy, admit it.


Are you?
Tuesday, February 14, 2012 3:25:24 pm
View user's profile Send private message Visit poster's website
Author Message
RaptorXZ
Infection Form
Infection Form

Joined: 28 Jan 2012
Posts: 6
Status: Offline
Style: Xbox 360

PostPost subject: Reply with quote
I hope it will not be too difficult. I'll await your success eagerly. Thank you again.
_________________
Wednesday, February 15, 2012 4:31:12 am
View user's profile Send private message
Author Message
XB0Xm0d
Infection Form
Infection Form

Joined: 07 Feb 2012
Posts: 5
Status: Offline
Style: Xbox 360

PostPost subject: Reply with quote
RaptorXZ wrote:
I hope it will not be too difficult. I'll await your success eagerly. Thank you again.


double thanks :))
_________________
Thursday, February 16, 2012 2:34:12 pm
View user's profile Send private message
Author Message
HaLo2FrEeEk
Overlord Extraordinaire

Joined: 15 Aug 2006
Posts: 5782
Status: Offline
Style: Xbox 360
Location: Trying really hard to do something

PostPost subject: Reply with quote
I'm looking at the code right now...I think I see the issue. It's weird because I remember having this same issue when I originally wrote the program, but I know I have to have resolved it because I extracted all the sound files...yet somehow the code is back to how it was. I've fixed the issue and I'm taking the opportunity to spruce up the code a bit, make things a little faster.

Edit: Here's the updated app. I hope this works for you guys, let me know if you have any other problems:

http://infectionist.com/extras/csharp/p...actApp.zip

In addition to actually working, you'll notice significant speed improvements while loading the file, because I blocked updating of the list box until all records have been read and added, meaning that the program doesn't have to continuously redraw itself. It takes me about 13 seconds to read the 7100+ audio files in the pck file.
_________________
This user has made more than 500 posts on the Infectionist forums!

~HaLo2FrEeEk

I wrote:
I'm sexy, admit it.


Are you?
Friday, February 17, 2012 7:46:26 pm
View user's profile Send private message Visit poster's website
Author Message
RaptorXZ
Infection Form
Infection Form

Joined: 28 Jan 2012
Posts: 6
Status: Offline
Style: Xbox 360

PostPost subject: Reply with quote
Dude, if you weren't already married.. no but seriously, this is awesome. It works perfectly. If there's ever anything you need, you have but to ask.

I did notice the files being read a minute and a half faster if I went into any manner of fullscreen while it was reading them, I wasn't sure if that was a good or bad thing at the time, haha. Nice job though.

Also, @XB0Xm0d:
Did you extract ToWav.zip in the same folder as the XMA files? And did you run the ToWav.exe or the ConvAll file?
For extracting the .zip you could use WinRAR, and you should run the ConvAll file, not the ToWav file.
_________________
Friday, February 17, 2012 9:45:19 pm
View user's profile Send private message
Author Message
HaLo2FrEeEk
Overlord Extraordinaire

Joined: 15 Aug 2006
Posts: 5782
Status: Offline
Style: Xbox 360
Location: Trying really hard to do something

PostPost subject: Reply with quote
Another @XB0Xm0d:
The files are all going to be at least 2048 bytes (or a multiple of that number, like 4096). This is because of the way the file is laid out, it uses 2048-byte blocks. A file might only take up 100 bytes, but if that's the case there will just be 1948 null bytes before the next file starts. Does that make sense? It's a really odd way of doing it, but it allows for each file to be placed on a boundary and to be addressed by a block start offset rather than a byte offset. Xbox files are the same way, but they use 4096-byte blocks...and files that take up multiple blocks don't always have to come one after another, they can be in any order. It's confusing as hell.
_________________
This user has made more than 500 posts on the Infectionist forums!

~HaLo2FrEeEk

I wrote:
I'm sexy, admit it.


Are you?
Saturday, February 18, 2012 1:59:34 am
View user's profile Send private message Visit poster's website
Author Message
RaptorXZ
Infection Form
Infection Form

Joined: 28 Jan 2012
Posts: 6
Status: Offline
Style: Xbox 360

PostPost subject: Reply with quote
HaLo2FrEeEk wrote:

It's confusing as hell.


Agreed. I've spent an hour or two categorizing the sounds, and there's really no order to them at all; other than the largest ones being music tracks, and then background atmosphere.
250 down, 6900 to go!
_________________
Saturday, February 18, 2012 8:04:25 am
View user's profile Send private message
Post new topic  Reply to topic   Infectionist Machinima Forum Index » Programming

Page 3 of 3
All times are GMT - 8 Hours
Goto page Previous  1, 2, 3

Display posts from previous:

  

Jump to:  
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 vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Xbox 360 by Scott Stubblefield