AMX has written a command line tool to modify device files that are used by the pk2cmd tool:
This gives a new device file named “pk2dev.dat”.
I was able to dump and recompile the PK2DeviceFile.dat I am using and checked that the files are identical using “diff”. There are probably
still some bugs but I think it might be usable already. I attached the source code, you need libconfuse to compile it and it probaly wont work under windows natively (because the are some system(“mkdir …”) calls as well as “/” in filenames …).
Via the forum.