Mappers, please test a program for me
Post Reply
Quote
Re: Mappers, please test a program for me
Posted by Rof on Tue Jan 11th at 3:16am 2005


I've written a program that allows you to embed files into compiled map files (Edit: for Half-Life 2). The idea is that you can embed custom textures, materials, models, etc. into the .bsp so that you don't have to distribute them as extra files with the map (and also so you don't have to mess around with .res lists to let custom stuff download from servers).

The snag is that it's written in Java, so you'll need the Java Runtime Environment (v1.4.2 or later) to run it.

The program is here:
http://www.gci-net.com/users/k/knot/misc/pakrat.zip
(it's about 58 kb). It has a readme explaining how it works, etc.

The JRE can be downloaded from here:
http://java.sun.com/j2se/1.4.2/download.html
(It's the J2SE JRE link, not the SDK one above it.) Depending on how you download it, it could be up to 15 Mb

Anyway, I'd appreciate it if anyone could test it and see how it works for them. I'm particularly interested if someone who's doing custom model work could try embedding models, since I haven't been able to test that.

Thanks,
Rof.




Quote
Re: Mappers, please test a program for me
Posted by Tracer Bullet on Tue Jan 11th at 4:22am 2005


Sweet!

Unfortunatly I don't even have any custom resources atm, but I'll definitly remember this program for the future. I assume you have already done some testing?

[addsig]




Quote
Re: Mappers, please test a program for me
Posted by Rof on Tue Jan 11th at 4:29am 2005


Yeah, it seems to work fine for textures/materials at least. (I'd guessed it would, because the pak file is used extensively to hold the textures and materials used by cubemaps and so on). I haven't tried it for sounds or model files, but I don't see any reason it wouldn't work.





Quote
Re: Mappers, please test a program for me
Posted by Crono on Tue Jan 11th at 4:57am 2005


? quote:
Yeah, it seems to work fine for textures/materials at least. (I'd guessed it would, because the pak file is used extensively to hold the textures and materials used by cubemaps and so on). I haven't tried it for sounds or model files, but I don't see any reason it wouldn't work.



A deadly mistake to make

I can't even count how many times this thinking has caused me hours of extra work.
Oh well, looks cool.
[addsig]




Quote
Re: Mappers, please test a program for me
Posted by Orpheus on Tue Jan 11th at 12:26pm 2005


all this info, and none of it has any relevance to his inquiry.

you egg heads, you crack me up.

oops, now i am offering unrelated info.

*slinks away*

[addsig]




Quote
Re: Mappers, please test a program for me
Posted by WorldCraft on Thu Jan 20th at 2:42am 2005


Not having any luck here trying to test your program out. I have converted the entire HL wad into source materials and I am using some of the old textures in a map under construction. Installed the Java app. and your program. Picked out a texture to imbed and ran it through the process. Everything appears to happen the way you describe it. When I take a look at the map I dont see the texture in question only the dreaded pink and black (i didnt do it right) texture.

WC.





Quote
Re: Mappers, please test a program for me
Posted by Campaignjunkie on Thu Jan 20th at 3:16am 2005


It seems as though this program won't be neccesary anymore: the latest Source SDK update adds a program called "bspzip" that performs this functionality.
[addsig]




Quote
Re: Mappers, please test a program for me
Posted by rs6 on Thu Jan 20th at 3:17am 2005


sry to tell you but your works seems to be gone to waste.
http://www.steampowered.com/index.php?area=news&id=390

The bsp zip looks liek it does what your program dones only its intergrated into steam, probly making it easier to use . [addsig]




Quote
Re: Mappers, please test a program for me
Posted by Bro_21 on Fri Mar 4th at 9:29am 2005


Models work with Pakrat.<img src=" border="0" height="13" width="13"> Thank you soooo much to the creator if Pakrat. I use it to stuff all my maps. Soooo much easier then any other, (A.K.A. Winbspzip, BSPzip).

Only thing is, when you go to find your model files, you have to tell it to show all files. Its default settings only show materials and their vmts.

Thanx again!




Quote
Re: Mappers, please test a program for me
Posted by thursday- on Fri Mar 4th at 10:04am 2005


Is it possible to implement WADs to work in HL2? For those lazy people who can't be bothered or don't know how to convert? Just an interesting (if not in anyway really good) feature.
[addsig]





Post Reply