-
[Tutorial]Edit *.iff files (shop/items/caddies/etc...)
Here's mikumiku tutorial on Item Shop editing with my edits and advives of X_Sarah_X and Tsukasa
What you need: WinRAR, A hex editing program, and a Pangya PAK unpacker/repacker. I will NOT tell you where to find these. Just do a Google search to find them.
- Using Pangya .pak unpacking program, unpack the most recent PAK file in the Pangya game folder. (IN CASE YOU MAKE ANY MISTAKES, MAKE A BACKUP OF THE PAK FILE BEFORE CHANGING IT.)
- In the 'data' folder that was extracted, look for pangya_th.iff (./data/pangya_th.iff). Change the file extension from .iff to .zip.(./data/pangya_th.zip) Ignore the warning and hit Yes.
- You will see that there are a bunch of smaller IFF files in the IFF you changed. Extract the ZIP with WinRAR.
- Use a hex editor to edit the appropriate values in the appropriate extracted IFF files. Don't forget to save your progress. (I would suggest to use the FileXplorer : http://forum.ragezone.com/f513/appli...plorer-720000/ )
- When you're done editing, repack all of the files with WinRAR into another ZIP called "pangya_th.zip"
- Change the file extension from .zip to .iff. Again, ignore the warning and hit Yes.
- Overwrite the old pangya_th.iff in the 'data' folder with the new one. (./data/pangya_th.iff )
- Make a copy of the pangya_th.iff outside of the 'data' folder.
Repack the data folder into a PAK file. - Rename the new PAK to the PAK file that you originally unpacked.
- Replace the old PAK file in the PangyaTH game folder with your new PAK.
- Go into the PANGYA_SRV>Login folder and replace the "pangya_th.iff"
- Go into the PANGYA_SRV>Py_GameServer folder and replace the pangya_th.iff there with the new one.
- Restart the server or use the RELOAD IFF command.
source : http://forum.ragezone.com/f513/pangy...ml#post6065044
How can I add new item with it is no in Th server?
Quote:
Originally Posted by Tsukasa
The basic steps: Get the record length, copy the record, append it to the file-to-be-edited, copy the resources (models, textures, sounds etc.). You need a good understanding of the IFF files (or at least some street-smarts) for this to work.
To import items from other regions you need to do minor translations for the values. If you don't have a program that does this for you, you'll have to correct the records by hand. You have to be wary, there's at least 5 different versions of IFF files in use for each file, so you better know the structure.
For basic operation and use it's sufficient to have the item data in the IFF files, for a lot of other features you need to insert data into the database, though (and I'm not talking about Item_Typelist only!).
Simply put: This isn't something you do between getting up and showering, it takes some experience to do this correctly and you better have your own set of tools ready, otherwise it'll be a lot of manual work if you want the items to work correctly in all situations. Study the IFF files thread, compare KR and TH IFFs... you know... work with the files. No guide will replace good old-fashioned hands-on experience you get from experimenting on your own.
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
13. Restart the server or use the RELOAD IFF command.
Nice guide ;)
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
How can I add new item with it is no in Th server ex. I want the item in KR server how can I add it to Th.iff server ??
Need to add item to sql or just add item to iff ?
help me please
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
Quote:
Originally Posted by
Kamikaze1
How can I add new item with it is no in Th server ex. I want the item in KR server how can I add it to Th.iff server ??
Need to add item to sql or just add item to iff ?
help me please
This topic has been discussed in varying degrees of detail a few times already, so I'll keep this reply brief. If you need more in-depth informations, please search.
The basic steps: Get the record length, copy the record, append it to the file-to-be-edited, copy the resources (models, textures, sounds etc.). You need a good understanding of the IFF files (or at least some street-smarts) for this to work.
To import items from other regions you need to do minor translations for the values. If you don't have a program that does this for you, you'll have to correct the records by hand. You have to be wary, there's at least 5 different versions of IFF files in use for each file, so you better know the structure.
For basic operation and use it's sufficient to have the item data in the IFF files, for a lot of other features you need to insert data into the database, though (and I'm not talking about Item_Typelist only!).
Simply put: This isn't something you do between getting up and showering, it takes some experience to do this correctly and you better have your own set of tools ready, otherwise it'll be a lot of manual work if you want the items to work correctly in all situations. Study the IFF files thread, compare KR and TH IFFs... you know... work with the files. No guide will replace good old-fashioned hands-on experience you get from experimenting on your own.
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
If you want my advice:
Start off by learning to import items from a same structured iff.
Once you understand how that works and if you completely understand that, start worrying about iff files of a different structure.
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
Hello I have new question about adding new club set
I'm adding new club set in clubset.iff and club.iff and it can use in the server
But when I got Pangya it didn't show the texture as
http://upic.me/i/8t/text_pangya57_mask.jpg
http://upic.me/i/x5/text_pangya57.jpg
How can I fix it ? help me please
---------- Post added at 03:06 PM ---------- Previous post was at 03:02 PM ----------
PS. I'm not add club set in to mssqlserver
I think it is irrelevant.
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
These effects are hardcoded into the game executable. You need a ProjectG.exe that "knows" how to associate a clubset with a custom Pangya logo.
Same goes for items that have special effects (like increasing the Pangya white-pixels, reducing wind, playing sounds etc.) and items that have special animation sequences.
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
Oh thank you
but can you do it ? Tsukasa
or no people do it
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
Quote:
Originally Posted by
Kamikaze1
Oh thank you
but can you do it ? Tsukasa
or no people do it
It's a somewhat troublesome issue. You probably won't find anyone trying it because the work involved simply isn't worth the result.
The approach of getting new effects by unpacking and modifying new TH executable has it's limits (585.00 can't be used because of the new login sequence and the IFF encryption) and adding new special items to an older executable has it's limits too, unfortunately (you can only replace existing entries, not add new ones).
People with vast amounts of free time could probably start working on an injector that hooks some of the game's functions and extends the special item lists of the client in memory. I think that's the most feasonable and portable approach if you really need it...
To answer your question: I don't do it, if I were to attempt it - I'd try the hook approach.
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
I got some addendum to the guide. Since most people don't know, I'll share this little knowledge.
You might found out that the files have different attributes (Write Protected + System). I found out that this mustn't be left out.
Simple thing to do:
before Editing simply type into the command line pointing to the folder where the iffs are in (example: "C:\pangya_th>" <- this could be the prompt) (or create a batch file for this): attrib -R -S
After Editing it's almost the same. Instead of minus you use plus. (attrib +R +S)
Then simply rezip all files with winrar or any other program you'd like to use. There you go, a ~289KB file. I noticed a difference when the attributes were removed: the file had only a size of about 170KB.
IFF Files with improper Attributes will lead to a server crash!
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
patch pangya-th new file pangya_th.rar
i cannot unpack.
how to....
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
I don't understand your question.
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
niffalose read these damn topics pretty well before you come up with an already mentioned problem.
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
hallo i have repack the pangya_Th.iff and my problem is i can't find the rare items in item.iff can you help me please???
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
i need a PangYa Iff Encrypt / Decrypt PangYa Iff Encrypt / Decrypt - YouTubehelp me please.
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
its all in the files, train your brain and you can do it too. Its really not that hard.
-
It's pretty damn easy, if you ask me :) I already have tools for it, but don't ask me to release them, cause I won't. Do it on your own.
Sent from my GT-I9100 using Tapatalk
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
The IFF encryption didnt stop me i just learned to add things manually...
example my exe doesnt support +1 pixel on cyber wings so i added a caddie card slot with a 4 star caddie SC now there better than fairy wings...
The whole point of a custom server is for it to be Custom!
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
Quote:
Originally Posted by
Acardia
The IFF encryption didnt stop me i just learned to add things manually...
example my exe doesnt support +1 pixel on cyber wings so i added a caddie card slot with a 4 star caddie SC now there better than fairy wings...
The whole point of a custom server is for it to be Custom!
I was thinking about it days ago...
I supposes that cyber wings already comes "carded". And is this cyber wings tradeable? Is it affectable by Card Removers? Did you inserted a "hidden card" on it?
Off course this measure will satisfy many players, but the majority? There's already a couple of blamers... Other way, this is a good trick to implement (as example) the fresh new Wooden/High Elf Ears!
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
Hi everybody,
Sorry to disturb you with ny "noob" message...
I have a Pangya server just to play with my friends and I try to modify .pak files.
I unpacked, modified .iff, repacked, ... (I followed the tutorial) on the client. I copied the pangya_th.iff on the server and restarted it.
But when I launch the game the pangya windows open and close 5 seconds after...
So pleeease, Could you help me, me and my friends ? We would like fun server... :(
Thank you VERY much for your help !!!
Geoffrey
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
Quote:
Originally Posted by
Bourrique
Hi everybody,
Sorry to disturb you with ny "noob" message...
I have a Pangya server just to play with my friends and I try to modify .pak files.
I unpacked, modified .iff, repacked, ... (I followed the tutorial) on the client. I copied the pangya_th.iff on the server and restarted it.
But when I launch the game the pangya windows open and close 5 seconds after...
So pleeease, Could you help me, me and my friends ? We would like fun server... :(
Thank you VERY much for your help !!!
Geoffrey
What patch-level has your client (what's the last official PAK file?)?
What's the MD5 or CRC32 checksum of your wangreal.dll?
What ProjectG executable are you using?
Does this happen even without you editing the PAKs/IFFs? If that's the case, your post is completely off-topic here.
Without more details about your setup there's no way to help you.
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
Thank you for your quick response.
Sorry I forgot to give you more information, I use the Client Ver.582.02
I used this tutorial to install the server http://forum.ragezone.com/f514/v1-2-...-setup-719617/
I don't know about the wangreal.dll, how can I check it ?
The game works very well without editing the PAKs/IFFs.
Thank you for your help, very appreciated !
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
Quote:
Originally Posted by
Bourrique
Thank you for your quick response.
Sorry I forgot to give you more information, I use the Client Ver.582.02
I used this tutorial to install the server
http://forum.ragezone.com/f514/v1-2-...-setup-719617/
I don't know about the wangreal.dll, how can I check it ?
The game works very well without editing the PAKs/IFFs.
Thank you for your help, very appreciated !
No need for the checksums - if the game works fine without the modifications, it's indeed a problem with the modifications and not the game itself. I was just covering all possible bases. :)
There's something you can try here: Unpack an unmodified PAK, grab the IFF from it, unpack the IFF as well, repack the IFF and repack the PAK. If the PAK/IFF loads well in the game, it's a problem with your modifications to the IFF itself, otherwise it's a problem with the way you pack them.
If it's indeed a problem with the modifications made to a file, it'd be interesting to know what and how you modified. If the number of modifications is small, you can fix them by hex-editing - but if you applied mass operations to items, it's usually easier to start over than to fix each and every item.
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
Hi, good idea !
I unpacked my projectg501th.pak, I renamed my .iff file to .zip, I extracted the club.iff, I opened it with FileXplorer and closed it (without modification).
I inserted the file into the pangya_th.zip and I renamed it to .iff. Finally I repacked my folder "data" and when I laucnhed the game, nothing worked :s ...
So the problem comes from my unpacker/repacker, my OS is Windows 7, I don't know if it can impact something...
Thanks you very much !
Edit: I just tried without renaming the .iff to .zip, just unpack and repack, and it doesn't work... I don't know what can I do now :s
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
i have the same problem with repacking..
are you using mkpypak.exe?
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
Yes, I tried on Windows XP and it works !
It works for editing pangya_th.iff but not when I edit a picture, somebody have any idea ?
Thank you !
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
How do I remove this message welcome~ in .iff?
https://i.imgur.com/qJKi3yr.jpg
-
Re: [Tutorial]Edit *.iff files (shop/items/caddies/etc...)
[QUOTE = eds; 8947703] Como faço para remover esta mensagem welcome ~ in .iff?
https://i.imgur.com/qJKi3yr.jpg[/CITAR]
this messagebox of the project itself has been modified to upload this message every time it is openedsummarizing to remove this need to use the kurama methods and look at the referent to that message