Page 1 of 1

Mass Internalizer?

Posted: Mon Dec 19, 2005 6:10 pm
by ckyfan2k
hey guys i dont think any one has asked this yet is there an internalizer that can internalize all the bitmaps of a map at once (or at least more than one at a time)? Having to intenalize tons of bitmaps takes a while and gets pretty annoying. THANKSSSSSFAFGHAFHSGHS
EDIT: cmon you dont need to have one to answer me i just want to no if there is such a thing

Posted: Wed Dec 21, 2005 10:13 am
by Shalted
Heh, you want it to internalize >all< the bitmaps in a map, its possible, it would just bloat the map.

Posted: Sat Dec 24, 2005 9:19 am
by ckyfan2k
yea it would make the map huge. is there somthing to internalize all vehi, weap, etc. at the same time time?

Posted: Wed Dec 28, 2005 9:35 pm
by Juniorman030790
I don't care if i would bloat the map :D I just wish i didn't have to internalize all the lil bitmaps.

What if we dragged the BITM tag from Shared.map into a map. That would internalize all the bitmaps wouldn't it?

Posted: Wed Dec 28, 2005 10:16 pm
by Shalted
IMO, I don't think you'll find anyone to write a program to do this(actually there are two people who probably would... But you end up with a buggy, rushed and poorly made application), I would, but I have better things to do, like, making a list of things I'd rather do than programming(for you anyways)....

I would probably do it for money, heh, but I doubt anyone would to do it...

Posted: Thu Dec 29, 2005 6:16 am
by modder4321
acually i've been working on an app like this here and there. about 1/4 done and probaly wont be done for some time because as i said i work on it here and there.

Posted: Thu Dec 29, 2005 7:48 am
by Aequitas
Shalted wrote:I would probably do it for money
Hehe, same here.. Donations via PayPal are welcome :p

Posted: Thu Dec 29, 2005 11:10 am
by Juniorman030790
How much? :P

Posted: Thu Dec 29, 2005 12:41 pm
by Shalted
Maybe if I get bored of writing libhalo2 I'll write a small "Mass Internalizer".

It would be fairly simple.
Program Opens a map and loads all the bitmap tags.
Loops through each one, checks if its extenal.
If it is Record(for each LOD that isn't nulled or the first LOD and null the rest)
The External Map, the offset the Bitmap is at, and the offset's to the bitmap's bitmap offset and size(The offset to the offset(s) will be invalidated when you add space to inject the bitmaps, so you'd just add the size of the new space you created to them :roll: ).
Once you've looped through all the bitmaps once, you'd have to add all bitmap's sizes together and add space to the end of the map's bitmaps, and read all the bitmaps from the external maps. Then loop through the bitmaps again, injecting the bitmaps, and relinking the data for each. Pretty simple...