Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Devil May Cry 3 (HD collection PC port) .pac files

Featured Replies

  • Author
  • Localization

domkisho, posted Sat Sep 04, 2021 6:57 pm (66149)


hey all,

As the title states, I don't know how to open the .pac archives from DMC3. I've tried several BMS scripts for .pac files, but no luck so far. Any help is much appreciated!
I have posted this to Xentax, but i'm asking for help here too.

edit: I have tried to add the file after clarification, but i'm unable to as "The extension pac is not allowed.".
edit 2: used a braincell and made a zip file out of it
  • Author
  • Localization

Ekey, posted Sat Sep 04, 2021 9:43 pm (66151)


No files = no help
  • Author
  • Localization

aluigi, posted Thu Sep 09, 2021 11:15 am (66204)


@domkisho
Please note that post edits are not visible to other users, nobody could know that you uploaded the sample.

The information about the archived files is not clear because I can't find information about the offset and size of each file.
Luckily all the archived files are probably just vag ("VAGp") so they are very easy to dump.

If you don't know how to dump them, use this script:
Code:
findloc OFFSET string "VAGp"
do
    goto OFFSET
    get DUMMY long
    findloc NEXT_OFFSET string "VAGp" 0 ""
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE -= OFFSET
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""


In the meantime I leave a script with an idea of the first section of the format (do NOT use it):
Code:
idstring "PAC\0"
get ENTRIES long
for i = 0 < ENTRIES
    get OFFSET[i] long
next i

math i = 0
goto OFFSET[i]
idstring "dbsT"
get CHUNK_HEAD_SIZE long
get DUMMY long
get FILES long
for i = 0 < FILES
    get DUMMY1 long
    get DUMMY2 long
    get DUMMY3 long
    get DUMMY4 long
    get DUMMY5 long
    get DUMMY6 long
    get DUMMY7 long
    get DUMMY8 long
next i

math i = 1
goto OFFSET[i]
idstring "Head"
  • Author
  • Localization

domkisho, posted Thu Sep 09, 2021 1:33 pm (66211)


.

thanks! sorry about the files, im new to this forum - and decoding in general.
I will try to dump the files (i'm guessing its a bms script), but I'll add a file here too.
  • Author
  • Localization

domkisho, posted Thu Sep 09, 2021 2:15 pm (66212)


i was able to dump the files. Aluigi was correct, they're all .vag file types. I take it there's already a way to decode those?
  • Author
  • Localization

domkisho, posted Thu Sep 09, 2021 2:17 pm (66213)


I used vgmstream to convert one to .wav and it worked!
. thank you for your help!
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.