eatrawmeat391

PAC Editor

Recommended Posts

eatrawmeat391

Due to requests of other people to post PAC Editor here, I will do it,this tool supports browsing,extracting,rebuilding PAC file.Originally designed for PS2 but can be used for 2k17 as well.
Supported format:
- PS2 SVR PAC(PAC,DPAC)
- PS3,XBOX SVR PAC (PACH,EPAC)
- DPK8,EPK8 PAC
- SHDC PAC
- HSPC PAC

- YAF format

- Wrestle Kingdom DIP/PAC format (change mode to DIP)
Easy to use GUI.This has 10+ buttons :
- Open: Open a file.
- Extract: Will extract a file you highlight in the filename box
- Extract All: Extract all the file into '@filename' folder
- Rebuild: Make a new file from '@filename' folder.(you must extract all first)
- Update arc: Will update the arc entry for the currently opened file.Note that PAC and PACH don't need to update arc.Generate new arc
- Inject file: Will inject a file into the pac.Generate old pac as backup
- Uncompress: Will extract the file and uncompress it (zlib or bpe algorithm only)
- Search: Will select the file which contains the string you want to search,ignore case.Press Enter or the button to search from the beginning of the filelist,press F3 to do a next search
- Mass Extract: Will extract all of the PAC and BPE and ZLIB
* Attention: How to use the mode selector

 

'2K15'
You have to change the mode to 2k15 only if you edit a 2k15 EPAC File,if you're not keep it to Default
'2K18'
The mode is for 2k18 PACH format.
'SYM'
The mode is for Shut Your Mouth CH.pac
'JBI'
The mode is for Just Bring It any DPAC format
'2k14 PS3'
Enable this to add support for updating arc of 2k14
'DIP'
Enable this to add support for Wrestle Kingdom 1 and 2 archive format


You can set the PAC/PACH file name id in 'config.ini' in section 'pac_name_id':
+ 0 : File will be named according to their index
Example: file000000.dat file000001.dat
+ 1 : File will be named according to their id
Example: 0A.pac 0B.pac 1AC3.pac
+ 2 : Same as 1 except the mimimum digits is 4 (for 2k users)
Example: 000A.pac 000B.pac 1AC3.pac
Credit to
Nikethebike for some of the source
CrocoX111 for info about DPK8 format
TheKingofKings for reporting about other PAC Tool's problem
ERI619, aluigi - For giving me suggestions
Philip Gage - For the original BPE script which I alerted
asmodean - For unrrbpe
Hardx36 - For the first to find out Philips' source
dadydodo - For BPE research

Version 6.7.1
Download here

Version 6.4.1 beta
Download here

From version 6.4 onward there is an updated GUI:

wwwzj76972t2cg3zg.jpg

 

* You should run the exe in cmd once and read the instruction first
PAC Editor path format:
* If the PAC has folders in it, it will have \ after the folder name
* If the PAC contains other PAC, when going inside them will add / after the path name
For example, supposing we have CH.pac that got the following structure:
* EMD\00010001.pac
and inside 00010001.pac has 02.yobj
The path will be:
* EMD\00010001.pac/02.yobj
* Just know that \ is for folders of the current pac, / is for children PAC.
* The -- switch inside [] is optional
* The --mode switch specify the mode used to open the file, just use the mode name in PAC Editor.It is case sensitive

Extract command
- Will extract a file out of the pac, can extract files inside children pac
For example to extract 02.yobj out of 00010001.pac of EMD folder in CH.pac
* pac_CMD.exe --input CH.pac --task extract --targetfile  EMD\00010001.pac/02.yobj --outputfile 02.yobj
You can use the --unpackedifneeded switch to automatically unpacked the requested file.

List command
- Will list all of the files in a pac, can do recursive listing as well.
For example to list the file out of CH.pac with recursive level 2 (attempt to list up to 1 children pac)
* pac_CMD.exe --input CH.pac --task list --outputfile list.txt --recursive --level 2
Please note that it is possible to do recursive listing on all children pacs but it is slow, especially if children is compressed
So only level 2 is recommended.

Inject command
- Will inject a file into the destination
For example to inject 02.yobj in 00010001.pac in EMD folder in CH.pac compressed as BPE
* pac_CMD.exe --input CH.pac --task extract --targetfile  EMD\00010001.pac/02.yobj --injectfile 02.yobj --injectBPE

Preview:

PAC_Editor_preview.png

*NEW: The Recent File Saving Feature

 


Now when you open a file and press CTRL-S,that current file will be saved to recent file and you will be given a hotkey to access it next time to a maximum of 9 recent files
If you forgot about the hotkey you can always open recentfiles.ini and look at the file's line number then press CTRL+(line number)


Misc Tool: PAC File Adder

unpack_temp_files option:
0 - The file will be unpacked on HDD (default)
1 - The file will be unpacked on RAM

 


This tool allow file adding,removing on DPAC (Most tool can extract it),DPAC 2 (found on some unique PS2 pac file of the old SVR),PAC/PACH and SHDC format
Usage:
1. Input folder name if DPAC2
2. Input file name (a 4 digits hex string or a 4 length characters name if DPAC1)
3. Choose Add or Remove
4. Backup the current opened file and use the -NEW file
5. Repeat

You can edit config.ini to set pac_name_id to 2 for 2k users.

Download here Version 2.6 FIXED

Edited by eatrawmeat391
Tool update
  • Like 20
  • Too Sweet 2
  • Thanks 3
  • Glorious 1

Share this post


Link to post
Share on other sites
kim666

Thank you very much for sharing your awesome tools also here at smacktalks.org. 

 

  • Like 2

Share this post


Link to post
Share on other sites
PoopingGamer

I'm sure it will be very useful for many modders, thanks for sharing

Share this post


Link to post
Share on other sites
laddanator

Yes! I use this tool daily! Thank you soooo much for this tool! :)

Share this post


Link to post
Share on other sites
TheLegendaryDx2009

I was the first ever modder To Use This FreakinG awesome Tool

Share this post


Link to post
Share on other sites
Auday Elyafe

Been using this for a while, perfect tool! Thank you so much!

Share this post


Link to post
Share on other sites
zhigge

so are you saying we can update the arc on the 360 with this tool? i've used it go get pach files but thats about it.

Share this post


Link to post
Share on other sites
eatrawmeat391

Updating arc is only for PS2 SVR.Can you send me the arc file of xbox and a pac file?

Share this post


Link to post
Share on other sites
TheLegendaryDx2009
3 hours ago, Auday Elyafe said:

Been using this for a while, perfect tool! Thank you so much!

Auday his tool is just freaking awesome i use it to extract ps3 files

Share this post


Link to post
Share on other sites
eatrawmeat391

Tool updated to version 5.2

- Corrected a typo in the source code that causes errors rebuilding DPK8/EPK8 pac

Edited by eatrawmeat391
Pressing Enter too many times
  • Like 2

Share this post


Link to post
Share on other sites
ChequeMods

Im a noob when it comes to modding, but if i extract the pac of a minitron/walltron in 2k17, edit it, can i then just inject it and then it will start working or do i need to do something else, i tried doing it that way but it still shows the old minitron, would you be able to help please?

 

Share this post


Link to post
Share on other sites
eatrawmeat391
13 minutes ago, ChequeMods said:

Im a noob when it comes to modding, but if i extract the pac of a minitron/walltron in 2k17, edit it, can i then just inject it and then it will start working or do i need to do something else, i tried doing it that way but it still shows the old minitron, would you be able to help please?

 

One of my users had a problem like that,it turned out that he forgot to put the new pac file into the iso.

Share this post


Link to post
Share on other sites
ChequeMods
36 minutes ago, eatrawmeat391 said:

One of my users had a problem like that,it turned out that he forgot to put the new pac file into the iso.

ahh ok thanks

 

7 minutes ago, ChequeMods said:

ahh ok thanks

 

also when im replacing the minitrons/walltrons do i need to put it in the _long pac files too?

Share this post


Link to post
Share on other sites
MKKHAN
1 hour ago, eatrawmeat391 said:

Tool updated to version 5.2

- Corrected a typo in the source code that causes errors rebuilding DPK8/EPK8 pac

can we update the ARC for ps3??

Share this post


Link to post
Share on other sites
eatrawmeat391

@MKKHAN

You can't now.

You can send me the ARC file and a PAC file and tell me the process of updating arc.

I will add support for it.

@ChequeMods: I'm not a 2k modder so I can't answer that.Try creating a new help topic

Share this post


Link to post
Share on other sites
eatrawmeat391

PAC Editor updated to version 5.3
- Added a cool feature,just see the picture below.It is still in beta


Untitled.png

After you see it


- Double Click or Press Enter on a PAC file or a BPE,ZLIB which is a PAC file compressed to go inside that PAC
- Press Esc to go back to the previous PAC, or choose the file name '..'
- You can only inject to the children's PAC,extract all and rebuild works differently.

  • Like 2

Share this post


Link to post
Share on other sites
The Devil Gamer

Hey will this work for wwe 2k17 PC?

Share this post


Link to post
Share on other sites
eatrawmeat391
10 hours ago, The Devil Gamer said:

Hey will this work for wwe 2k17 PC?

It should.

Share this post


Link to post
Share on other sites
TheLegendaryDx2009
On 5/1/2017 at 9:59 AM, The Devil Gamer said:

Hey will this work for wwe 2k17 PC?

it works on ps3 and pc even xbox 360 have funn 

Share this post


Link to post
Share on other sites
The Devil Gamer
On 4/13/2017 at 3:46 PM, eatrawmeat391 said:

Due to requests of other people to post PAC Editor here, I will do it,this tool supports browsing,extracting,rebuilding PAC file.Originally designed for PS2 but can be used for 2k17 as well.
Supported format:
- PS2 SVR PAC(PAC,DPAC)
- PS3,XBOX SVR PAC (PACH,EPAC)
- DPK8,EPK8 PAC
- SHDC PAC
- HSPC PAC
Easy to use GUI.This has 10+ buttons :
- Open: Open a file.
- Extract: Will extract a file you highlight in the filename box
- Extract All: Extract all the file into '@filename' folder
- Rebuild: Make a new file from '@filename' folder.(you must extract all first)
- Update arc: Will update the arc entry for the currently opened file.Note that PAC and PACH don't need to update arc.Generate new arc
- Inject file: Will inject a file into the pac.Generate old pac as backup
- Uncompress: Will extract the file and uncompress it (zlib or bpe algorithm only)
- Search: Will select the file which contains the string you want to search,ignore case.Press Enter or the button to search from the beginning of the filelist,press F3 to do a next search
- Mass Extract: Will extract all of the PAC and BPE and ZLIB
* Attention: How to use the mode selector

  Reveal hidden contents


There are two modes: 'Default' or '2k15'.
You have to change the mode to 2k15 only if you edit a 2k15 EPAC File,if you're not keep it to Default


You can set the PAC/PACH file name id in 'config.ini' in section 'pac_name_id':
+ 0 : File will be named according to their index
Example: file000000.dat file000001.dat
+ 1 : File will be named according to their id
Example: 0A.pac 0B.pac 1AC3.pac
+ 2 : Same as 1 except the mimimum digits is 4 (for 2k users)
Example: 000A.pac 000B.pac 1AC3.pac
Credit to
Nikethebike for some of the source
CrocoX111 for info about DPK8 format
TheKingofKings for reporting about other PAC Tool's problem
ERI619, aluigi - For giving me suggestions
Philip Gage - For the original BPE script which I alerted
asmodean - For unrrbpe
Hardx36 - For the first to find out Philips' source
dadydodo - For BPE research

Version 5.2.3 (beta)

Download here

Version 5.2
Download here

Preview:

PAC_Editor_preview.png

*NEW: The Recent File Saving Feature

  Reveal hidden contents


Now when you open a file and press CTRL-S,that current file will be saved to recent file and you will be given a hotkey to access it next time to a maximum of 9 recent files
If you forgot about the hotkey you can always open recentfiles.ini and look at the file's line number then press CTRL+(line number)


Misc Tool: PAC File Adder

  Reveal hidden contents


This tool allow file adding,removing on DPAC (Most tool can extract it),DPAC 2 (found on some unique PS2 pac file of the old SVR),PAC/PACH and SHDC format
Usage:
1. Input folder name if DPAC2
2. Input file name (a 4 digits hex string or a 4 length characters name if DPAC1)
3. Choose Add or Remove
4. Backup the current opened file and use the -NEW file
5. Repeat

You can edit config.ini to set pac_name_id to 2 for 2k users.

Download here Version 2.6 FIXED

Hey when I download this and when I try to open the rar file of ur tool it says archive not found plzz help

Share this post


Link to post
Share on other sites
BeleeDat

Thank you for this tool, it is so handy :D

Share this post


Link to post
Share on other sites
The Devil Gamer

Finally it got extracted by 7-zip now will add alt attires

Can someone teach me how to add alt attires in WWE 2K17 ?

Share this post


Link to post
Share on other sites
TheBleedingRed21

Here is an error I am getting when trying to inject a .pac file for WWE 2K17... any ideas?

Exception in Tkinter callback
Traceback (most recent call last):
  File "Tkinter.pyc", line 1532, in __call__
  File "pac_GUI.py", line 1250, in inject_file
  File "pac_GUI.py", line 419, in rebuild_all_memory
  File "control.pyc", line 54, in read_string
MemoryError: out of memory
 

Share this post


Link to post
Share on other sites
eatrawmeat391
On 5/31/2017 at 9:24 AM, TheBleedingRed21 said:

Here is an error I am getting when trying to inject a .pac file for WWE 2K17... any ideas?

Exception in Tkinter callback
Traceback (most recent call last):
  File "Tkinter.pyc", line 1532, in __call__
  File "pac_GUI.py", line 1250, in inject_file
  File "pac_GUI.py", line 419, in rebuild_all_memory
  File "control.pyc", line 54, in read_string
MemoryError: out of memory
 

Please put in on sendspace (no registeration) the pac file and the file you want to inject and send it to me.

Share this post


Link to post
Share on other sites
TheBleedingRed21

Will upload tonight man for sure. 

I will say I had lordjustice and Hova test it for them and they were able to inject it.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.