How much trouble would it be to add the functionality to create a new pak file from a directory structure? Or at least insert new files?
If that is asking to much, would it be possible to easily change the filenames?
Thanks
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
painkiller .pak files
-
- Site Admin
- Posts: 4073
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 450 times
- Been thanked: 682 times
- Contact:
Re: New pak files?
I'll see that I can do. I had already planned a "Create From Directory" option in the painkiller.dll file, for MultiEx Commander purposes, so it won't be a problem to implement it in Painfull. Changing filenames is also not a problem, but I wonder what the game will say if you do that. If some script expect some file with some name, you better make sure you change that script accordingly.fleabay wrote:How much trouble would it be to add the functionality to create a new pak file from a directory structure? Or at least insert new files?
If that is asking to much, would it be possible to easily change the filenames?
Thanks
Meanwhile, I show some minor modding in MexModCentral
viewtopic.php?p=3686#3686
Right now I can exchange the .scc file with one of my choice. Its not needed for the scripts. I can't change the name of it though.
If you have ways to put in new files or create a new pak from scratch, its not needed.
Thanks for the program, looking good so far.
I also liked the screenshot of the XeNTaX name in the sky in the other thread.
If you have ways to put in new files or create a new pak from scratch, its not needed.
Thanks for the program, looking good so far.
I also liked the screenshot of the XeNTaX name in the sky in the other thread.
-
- Site Admin
- Posts: 4073
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 450 times
- Been thanked: 682 times
- Contact:
Update : I have quickly implemented a function that will change the name of the resource in that which is used to replace a file. This will however be the full path (e.g. "c:\models\mymodel.mdl" ) to the file that you use to replace. It depends on what you would like. I could change it so it would be "models\mymodels.mdl" and ommit the "c:\".
All the paths are derived from the scripts. No path is needed or desired
for instance, if i wanted to change the filename in the pak file - Loader.lua to myloader.lua
It should be all relative to the root of the pak file.
I'm not really sure what your doing here. Has the program file been updated with these changes? If so, I'll check it out.
The path to the pak files are ../Data/
thats the absolute path from the painkiller.exe to the pak files and is used alot in the scripts. But again, your program shouldn't need to know this.
What is needed is to update the filename as well as the contents when a file is dropped from the left window.
Sorry if this was long. I thought it better to be to much info than not enough. Don't put to much into this quick fix on my behalf. I can issue my next update the same way i've been doing.
for instance, if i wanted to change the filename in the pak file - Loader.lua to myloader.lua
It should be all relative to the root of the pak file.
I'm not really sure what your doing here. Has the program file been updated with these changes? If so, I'll check it out.
The path to the pak files are ../Data/
thats the absolute path from the painkiller.exe to the pak files and is used alot in the scripts. But again, your program shouldn't need to know this.
What is needed is to update the filename as well as the contents when a file is dropped from the left window.
Sorry if this was long. I thought it better to be to much info than not enough. Don't put to much into this quick fix on my behalf. I can issue my next update the same way i've been doing.
having problems with painfull v1.1
it extracts ok but when i try to replace a file into the .pak it says 'import failed'
i am selecting the new file in the left side box (game.lau) and selecting the file to be overwritten (main/game.lau) within the pak contents list on the right, then click on the >> icon and i get 'import failed!'
any ideas what im doing wrong?
it extracts ok but when i try to replace a file into the .pak it says 'import failed'
i am selecting the new file in the left side box (game.lau) and selecting the file to be overwritten (main/game.lau) within the pak contents list on the right, then click on the >> icon and i get 'import failed!'
any ideas what im doing wrong?
multiex commander v3.9.701 is installed, zlib.dll is in the windows/system32 directory
i tried running the painfull.exe within the multiex directory but same problem, 'import failed'
wondering if its my directory structure, i have the new game.lua file from Dreamcatcher\LScripts\Main directory highlighted in the left side box and the 'main\game.lua' highlighted in the right side box
i tried running the painfull.exe within the multiex directory but same problem, 'import failed'
wondering if its my directory structure, i have the new game.lua file from Dreamcatcher\LScripts\Main directory highlighted in the left side box and the 'main\game.lua' highlighted in the right side box