Internalizing Sounds

Discuss general issues about modding HaloPC. Post ideas for mods here.
User avatar
EchoRanger449




Articulatist 250

Posts: 463
Joined: Thu Aug 10, 2006 2:44 pm
Location: It was all fun
Contact:

Post by EchoRanger449 »

Yeah, when I was scripting b30, I made an error with the way I ended the music in my custom scene. There isn't even a tag for music. What it was was a script that I think ran a dormant script, which in turn ran at least one sound clip, or at least a series in a certain order. there were 2 of them and they had to be started like....
sound
sound_alt

and ended like...
sound_alt
sound

Or something like that- I can't remember. Also, yes, about the chunks:
I tried using a sound effects tag once for a weapon and there was something about the chunk count that caused an exception error. I'm thinking it was because the "sound looping" tag was asking for another chunk in the file, but the file didn't have it.

Oh, one more thing (about the bitmaps this time): so you just EOF>UPDATE and it doesn't matter what the meta says the dimensions are? You just inject the larger bitmap file?
--------------------------------------------------

Edit:

I found that the bitm.meta, at offsets 0x18,0x19 and 0x1a,0x1b contain the dimensions of the bitmap file. I haven't tested for multiple sub-bitmap files, but for one sub-bitmap, those are the offsets. Note that the numbers are in hex so if you have 512, that's 200 in hexidecimal. Also, that would read out in the offset as "00 20" I think. However, for smaller dimensions like 128, it would read out as "80 00".
It's reversed by bit...I think.

Makes sense that it's reversed since xml files call dependency tag types the same way (dpib, paew, ihpw)

Also, about "sufficient space in your raw data section", how would I go about doing that? I did click the link to that article, but I don't remember seeing anything there about it. Was it further down the topic?
User avatar
Altimit01




Connoisseur Snitch! Literarian 500

Posts: 947
Joined: Sun Jun 04, 2006 12:10 pm

Post by Altimit01 »

EOF trick would give you sufficient space. The issue would primarily be with internalization since that does silly things and means you have to modify a lot of addresses.

Couldn't really tell you what was wrong with your sounds. I've dabbled in them but haven't actively looked into it in about a month. Conure might have some insight though. Since he also knows how to use CE unlike myself.
Image
Download Eschaton: Halomods | Filefront | Mediafire
User avatar
EchoRanger449




Articulatist 250

Posts: 463
Joined: Thu Aug 10, 2006 2:44 pm
Location: It was all fun
Contact:

Post by EchoRanger449 »

Yeah I had a mod that I had a few people with macs recursively inject stuff for me. All the names get "messed up" in sparkedit. Messed up because I'm sure Sparkedit has the default locations for item names stored somewhere so anything that alters the location of anything in the map would cause that.

Still, I wish there were some plugins for eschaton that edited the bitmap (Kornman's Guerilla allowed you to edit a lot of stuff, mostly useful for sprite animations). Yesterday I was trying to convert a custom sprite bitmap to PC, but since it wasn't like any of the other bitmaps, I had to adjust the dds file itself so the gauss flashes would fit the locations of another effects bitmap. Little did I know that only the images in the top line of the dds file were used in the sprite animations (the creator decided not to use the others). I found it out later after working several hours on it.
User avatar
Altimit01




Connoisseur Snitch! Literarian 500

Posts: 947
Joined: Sun Jun 04, 2006 12:10 pm

Post by Altimit01 »

Well bitmap plugins only go so far. 0.6 is lame and denies possibility of plugins for places where hard coded controls would be used. 0.7 corrects that. I think I also got a bitm plugin from conure. But then again, that's pretty far in the future.

Hopefully your bitmap stuff works out alright.
Image
Download Eschaton: Halomods | Filefront | Mediafire
User avatar
EchoRanger449




Articulatist 250

Posts: 463
Joined: Thu Aug 10, 2006 2:44 pm
Location: It was all fun
Contact:

Post by EchoRanger449 »

Yeah it's fine. I'm mostly concerned about the sounds though. Also my "battle rifle" sniper rifle sound has a problem- though it's clean and it's larger than the original sniper rifle sound, it still makes this weird clicking sound at the end. A better sound extractor/injector in general would be better. However, nothing could beat duplicating or internalizing the sounds. I'll compromise until then, if I'm still around. Thanks for your work Alt- it's made modding a lot easier for me.
User avatar
WaeV




Advisor

Posts: 1045
Joined: Tue Jun 01, 2004 10:45 am
Location: New England

Post by WaeV »

Couldn't you just use Philly's renaming trick and a batch extract?
Image
User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

Post by Philly »

That method literally does what it says on the tin: it renames the tags. That's great if you want separate tags and models, but it doesn't do bitmaps or sounds. :(
For anybody still wondering where FTD has gone, here it is.
User avatar
Altimit01




Connoisseur Snitch! Literarian 500

Posts: 947
Joined: Sun Jun 04, 2006 12:10 pm

Post by Altimit01 »

Well... it'd make new meta tags for the bitmaps and sounds. They'd just point to the exact same raw data for those bitmaps and sounds.
Image
Download Eschaton: Halomods | Filefront | Mediafire
User avatar
Philly




Collaborator

Posts: 3607
Joined: Thu Oct 12, 2006 9:08 am

Post by Philly »

Amen.
For anybody still wondering where FTD has gone, here it is.
User avatar
WaeV




Advisor

Posts: 1045
Joined: Tue Jun 01, 2004 10:45 am
Location: New England

Post by WaeV »

Oh right, cause you can only extract metadata with HMT.
Image
User avatar
bcnipod





Posts: 3580
Joined: Tue May 15, 2007 8:52 am
Location: 45 Minutes outside Boston
Contact:

Post by bcnipod »

I believe I already said this at some point. The sound clips that play in-game are determined via skip-fractions. These dynamically chose and play a sound clip depending on the location, surroundings, and other such factors. This causes all the sound clips to create these enormous chains of sound tags to play if the circumstances are correct. This is why when you open a sound tag in a dependancy swapper, you see a lot of the same tag, because it is linked. Hope this explains a bit more on how they work to you.
Twitter: Dirk Gently | Major lulz
Mr. Brightside: Worst mod I've seen since 'Nam.
Website
User avatar
DeadHamster




Snitch! Advisor Articulatist 500

Posts: 2289
Joined: Thu Feb 15, 2007 9:38 pm

Post by DeadHamster »

Well Put bcnipod.

It should still be very easy to internalize, it's just that the dependancies will have to point to a new location for the tags. We just need a tool to do so...(nudges Alt). :wink:
User avatar
Altimit01




Connoisseur Snitch! Literarian 500

Posts: 947
Joined: Sun Jun 04, 2006 12:10 pm

Post by Altimit01 »

Not dependencies, but pointers to raw data. I did have something in the works but my HD got wiped and my back up source isn't available at the moment.

Although sound chains are actually a bit more self-contained than that. Music clips for example have enormous amounts of data in many reflexive chunks. Sound effects on the other hand are short simple and to the point.
Image
Download Eschaton: Halomods | Filefront | Mediafire
User avatar
DeadHamster




Snitch! Advisor Articulatist 500

Posts: 2289
Joined: Thu Feb 15, 2007 9:38 pm

Post by DeadHamster »

I was actually gonna say raw data there, but thought it was wrong and you would correct me. Go figure.


And that sucks with losing the sources. You still have the stuff for eschaton right?

And BTW, I wasnt trying to be pushy before, it's just that if anyone is gonna make a new app, it's gonna be either you or conure, because anyone else who could make something like that isn't interested in PC/Mac Halo 1
User avatar
EchoRanger449




Articulatist 250

Posts: 463
Joined: Thu Aug 10, 2006 2:44 pm
Location: It was all fun
Contact:

Post by EchoRanger449 »

Yeah, I'm just interested in the sound effects.
Post Reply