
Originally Posted by
obsta
Thanks for solving your own problem and helping me haha ^^
Edit: What tools are you using to import TGAs?
Edit2: After searching around it seems that you cannot repack the TGA's into the UPK files. Thus making texture hacks obsolete?
Unless it is possible to extract all the files, repack with the edited ones and replace the entire UPK file in the BLR directory?
I used the Unreal Development Kit (UDK) to edit the TGAs
YES i had the same problem of putting them back into UPK files! So I tried to just import the UPK files directly into the UDK but i couldn't open them. I did some research and it turns out that companies like perfectworld have licensed versions of UDK that they use to make their game (including the UPKs). and you have to have that SAME licensed version of UDK to edit the UPKs!!
When i tried to import them into my UDK i would get an error like "blah blah blah... licenseversion is '2' max allowed is '0'." so at first i tried to get a licensed version of UDK but could not procure one. then i thought on the flip side "what if i just make this UPK not licensed..." I had found a thread where a guy was trying to use a Hex editor to change the value of "licenseversion" (or whatever it was) from "4" to "0". I tried the same method and was able to change the "2" to "0" but then UDK would crash /: I then tried to hex edit UDK
and the UPK.... it got complicated and long story short it didn't work.
I found that if you edit that it's hex, it is impossible to open.
ALSO as another answer to your second question: There was some point that I decided "wait... what if this game automatically checks for discrepancies and patches weird files..." so Hex edited the UPK so the license version was 0 again and put it back in the game folder and started BLR. then exited and opened the file with hex editor and it turns out that BLR did in fact patch it back to the original version.... so even if i was able to somehow open the UPK, edit the files, repack it, the game would have patched it back to normal anyway... but then again i was using the launcher to run the game. you can run BLR directly out of the directory without the launcher and maybe it wouldn't have patched.
but that is neither here nor there. it looks like as for now, we just can't edit the UPKs for texture hacks. /: At least we gave it an honest shot trying not to be leechers haha. A for effort!