hessi Posted January 25, 2008 Report Posted January 25, 2008 hi folks. since i recently made a bsp for dod_kolsch that should include all custom content i hit the problem of writing a file list with relative and absolute paths for bspzip. bspzip is a sourcesdk default application, but you can't hint it to a specific directory to include all files that are in there. to bypass this poor situation i wrote a litte command line based java application, that iterates through a folder and spits out the correct format. you can download it here: http://www.thomashess.net/exchange/DirtyHelper.jar to run it you have to open a command line (windows key + r -> enter "cmd" -> click on ok) and browse to the directory that contains the jar. now run the following command "java -jar DirtyHelper.jar PATH_OF_YOUR_RELEASE_FOLDER OUTPUT_FILE_NAME" while PATH_OF_YOUR_RELEASE_FOLDER equals a folder that contains all files that should be included (for example i make a folder on my desktop and recreate the source engine folder layout and put in every file where it belongs. that way i dont include files that i dont need) and OUTPUT_FILE_NAME equals a filename like "files.txt" then you see some output on your screen. after the termination you find files.txt in the folder of the DirtyHelper. you can now run bspzip with the filelist. the jar file is including source codes, so you can modify and/or check out for security reasons
e-freak Posted January 25, 2008 Report Posted January 25, 2008 http://www.mapping-tutorials.de/forum/s ... php?t=5885
hessi Posted January 25, 2008 Author Report Posted January 25, 2008 i checked that tool, but its rather usable in my eyes. the UI is horrible. though i want to run my bspzip on my own. i want to have 100% of control over the inclusion process. oh and i think the tool you posted isnt open source and not command line based.
Recommended Posts