EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   Can we extract the contents of a *.vpk file? (https://www.eq2interface.com/forums/showthread.php?t=570)

ShinaKitsune 12-23-2006 03:47 PM

I know this thread is really old and everything...
but I can't extract the .vpk stuff because it says something about number of files in the header doesn't match.

ashes2flames 12-27-2006 10:52 PM

Quote:

Originally Posted by ShinaKitsune
I know this thread is really old and everything...
but I can't extract the .vpk stuff because it says something about number of files in the header doesn't match.

same problem here :(

blaz 01-05-2007 02:06 PM

Version 1.2.3 released
 
Just wanted to mention that I have released a new version that fixes this bug.

You can grab it from the tool's site: http://eq2.blazlabs.com

If you are still having problems with this release you can send me an email.

lordebon 01-05-2007 07:08 PM

Still doesn't seem to work on MediaSupLib, unfortunately.

And does anyone know where the following things are in there?

*Textures (object ones)
*Wireframes or whatever of obects. I think I may have found these... 3 files, a .hit a .draw (which I think may be the frame of it) and a .sp. Anyone know how to open these?

blaz 01-06-2007 05:48 AM

Yes, I don't know what the deal with MediaSupLib.vpl is, but its format has never made any sense to me. It seems to be a VPL file but with some key data structures missing.

As for object meshes and such, they are contained in the .draw, .hit and .sp files you mention. The .draw file contains the static object mesh (vertex and index data). The .hit file contains the collision mesh for physics. The .sp file contains the "shader palette", or list of shaders that are applied to the object.

By far the easiest format to deal with is the object mesh file (.draw). If you take a look at the tool's source code and open the VeRenderMesh.cs file you'll see the exact format of these .draw files. If you know some 3D programming you should be able to make sense of it and build a little tool to display the files.

lordebon 01-07-2007 07:39 PM

Ahh, I'll try and take a look at the tool's source code, but unfortunately my programming experience doesn't go very far into 3D and such.

lonrot 03-19-2007 02:16 AM

Kinetica .VPK
 
Blaz

Hello, I'm trying to extract with your tools the music tracks from the
game, Kinetica for PS2. The game was realeased by Sony CE and that
must be the main reason why the songs are converted in that format.
And maybe you should find out how to. That's why I beg you so much
that you give it a try, I love this game and I love the album, such a
pitty that Sony never released the Sountrack.

Here's one of the tracks, this should be enough for you to test:
http://consolemaniak.com/TOUCHING.VPK
Just write me back if you want more files.

poss 05-14-2007 12:19 AM

voc and sp files
 
I have been playen with the eq2 program files a lot and thanks to blaz I have been searching even deaper into the files.. thanks man.....

I have been playing with the dds files mostly and downloaded the plugins for adobe to play a bit.

now that I have access the the rest of the files. I want to view and edit the sp, voc, lut and draw files any one have any programs for this? it seams to me this is the backbone if the client program and houses more info then any ui program.

it seams that blaz's program is being used for nothing more then recovering the audio files but if any one realy thinks hard enuf you can replace these files for personalized ingame audio. and even better change thay way the your toon looks by changing weapons armor or even the way the game lookes by changing the flora terrain or objects with in the terrain

if any one can find or creat a program to edit the sp, voc, lut, and draw files the changes would be endless.



also I have extracted some of the audio files and played them with no plugins on wmp 9.0 and normaly I find when I have a codec problem with wmp realplayer will play it.

btw thanks blaz

darkflux 06-18-2008 07:38 AM

Kinetica PS2 Music .VPK's
 
@lonrot (+anyone else interested):
http://www.playground.ru/files/8498/
try this prog (ToWav Music Converter). seems to work surprisingly well on Kinetica and a bevvy of other gamez...
the link is at the bottom of the list of games, by the way.
happy ripping :)
darkflux

Seagoat 01-21-2009 11:12 AM

2 Attachment(s)
Been using Blaz's wonderful tool for a while now, but when I booted it up today, my WinXP (Media Center Edition, SP3) kept telling me that the program had crashed, even though I could still see it extracting files in the tool's status bar and I could still use the program if I moved the "It Died" window out of the way. It's done this every time I've tried to open assetslib.vpl today -- which by now is about half a dozen.

It really *did* die when I tried to extract the entire assetslib.vpl file the first time, but I was since able to extract a small section of files successfully (and again, working around the "It Died" window).

Here are screenshots of the error message (attached). Has anyone else experienced this lately, and/or does anyone have suggestions on how to keep it from happening?

EQAditu 01-21-2009 04:16 PM

Kinda strange that it tries to crash the application. When its enumerating the VPK files it seems to be having problems with one file. The actual exception text being:
Quote:

Error reading file directory inflated size of pak 'paks\OP2englishVoiceOver.vpk'. The compressed data is invalid.
The exception is being thrown by the decompression library(which is a derivative of ZIP, I think). Aborting the method for that file seems to allow the rest of the enumeration to proceed. I imagine that if you skipped that file or ignored the error everything would work okay except if you tried to get files from that VPK.

You'd probably need a recompiled version made to ignore that error.

gm9 01-21-2009 04:47 PM

1 Attachment(s)
Quote:

Originally Posted by EQAditu (Post 80091)
You'd probably need a recompiled version made to ignore that error.

It may be enough to just recompile. At least I don't encounter any errors using the source code from blaz' site as is, compiled in MS VC# 2008. But then again I never used that program before so maybe I missed the bug you encountered.

EDIT: Attaching a recompiled version, maybe it works for you.

Seagoat 01-21-2009 05:09 PM

Nope, didn't make a difference, gm9. :-/ Thanks for trying, though!

gm9 01-21-2009 05:14 PM

Ok wait for Aditu to get you a fixed version then, or ask me for a specific file, since I can extract them just fine over here.

EQAditu 01-22-2009 12:10 AM

Hmm, I got different exception in another place when I tried again. I'll try to circumvent crashes on exceptions where possible and see how that leaves it.

EQAditu 01-22-2009 02:57 PM

1 Attachment(s)
Apparently I'm more lazy than I expected so I only circumvented the one exception that I ran into instead of doing it to more of them.

Oh, and be sure to put the executable with its normal dependency files you'd get from a binary download.

Seagoat 01-22-2009 05:00 PM

Whee! That one mostly worked. Window still thought the program crashed, but I just let it extract files in the background, and all of them were processed without the program totally dying on me.

Thanks! :D

blaz 03-24-2009 05:01 PM

Wow, I come really late to this conversation. Sorry about that.

Thanks EQAditu and gm9 for helping Seagoat out with the problem (s)he was having. I guess the problem is that either the VPK format has changed slightly, or there is a bug in my code that has only been triggered by a recent patch.

If anybody wants to email me the assetslib.vpl and OP2englishVoiceOver.vpk file that are failing I can fix the tool and release a new version. I don't have EQ2 any more, so I can't test it myself. You can find my email address on my website.

Thanks, and sorry for the trouble!

Seagoat 03-24-2009 06:08 PM

I'm totally not a guy. :) If I could still edit the text next to my icon, I'd change it to, "I'm totally not a guy. :)" LOL

I'm going to PM you with a download link for a zipped version of the latest assetslib.vpl file. Thanks very much for your help on this, especially since you're not playing the game anymore.

gm9 03-24-2009 07:04 PM

Quote:

Originally Posted by blaz (Post 81645)
If anybody wants to email me the assetslib.vpl and OP2englishVoiceOver.vpk file that are failing I can fix the tool and release a new version.

Quote:

Originally Posted by Seagoat (Post 81649)
I'm going to PM you with a download link for a zipped version of the latest assetslib.vpl file.

And here's the other file you wanted:
http://amsrrpatch.everquest2.com:701...hVoiceOver.vpk

Hanta 09-27-2009 05:50 PM

Hey! Since this is the thread that never dies, I'll just bump it asking the same old question, with a different twist.

Has anyone ever figured out the voiceovers? I am not really interested in playing them out-right, but I am very interested in the data used to encrypt them. In the sound packet, along with the path and some text, there are 2 "keys"... int's that, without these, do not seem to playback the files correctly.

What I am after is now how to play the MP3's in iTunes :D but where I might score the info on where these 2 keys might be stored in the VPL/VPKs.

If this doesn't make sense, then nevermind :nana: and sorry for the necro. Just trying to figure some things out on my own.

TIA

DiegoWolfwood 01-18-2010 04:01 AM

Sorry to resurrect an old thread, but It's hard to find any kind of information on .VPK files anywhere.

I have a ps2 game called The Mark of Kri, and the music is not available in any sort of way save for ripping it from the game itself. It's in a .VPK file format and I have no idea how to access it, The EQ2 program will not work as it won't target .VPK files and the "towave" program listed earlier will not open properly, so I' maskign if anyone here knows a way I can access this file?

lordebon 01-18-2010 09:14 AM

Given that it's a completely different game, the file structure may be different, so anything that worked for EQ2 would probably not work for that. .VPK is not really a "standard" filetype with standards that make it easy to decode.

Sadres 07-26-2010 09:47 PM

Time for the bi-annual necro of this thread to ask the same question:

Is there a way yet to extract voiceovers into a playable format? :confused:

~flatlined~ 08-28-2010 02:41 AM

Took a quick look at the files and istm that the voiceover files are encrypted with a key pair that are provided by the server when it instructs the client to play that particular mp3 clip / set.

From my quick look I think the controlling script or data files are encrypted and probably provide stop/start indexing and so on, and the mp3s are encrypted also.

This same technique is used for maps and suchlike, to stop folks ripping out all the goodies and knowing all the expansion plot etc before actually playing to that point.

If someone cared enough, a list of key pairs could possibly be collected and stored+used against the voice overs (and the maps). No-one has bothered to undertake this yet, and I would guess it won't happen any time soon.

lethe5683 04-11-2011 11:27 AM

Does anyone know if it is still possible to override the contends of a .vpk somehow? e.g. making it use a new file instead of the original.

Edit: Figures, I've been trying for months but as soon as I finally ask for help I figure it out. -_-
It's sort of obvious in retrospect...


All times are GMT -5. The time now is 08:44 PM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI