Jump to content

eatrawmeat391

Recommended Posts

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 22
  • Too Sweet 2
  • Thanks 4
  • Glorious 1
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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?

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

@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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 3 weeks later...
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

Link to comment
Share on other sites

  • 2 weeks later...

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
 

Link to comment
Share on other sites

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.

Link to comment
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.

×
×
  • Create New...