Mirror’s Edge PC port came out a few days ago, I got my copy today. I updated my Unreal3 package reading code that I wrote for Mass Effect to be compatible with Mirror’s Edge archives.
I wrote some code to dump information about all music tracks and made a tool with this information so anyone who has a copy of the PC port can extract the music with ease.
The music files are all in Ogg format.
Note that due to how Unreal packages are generated by the Unreal editor, there are probably lots of dupes of tracks.
As usual if you encounter any bugs or issues feel free to comment this post.

Nice tool. Appreciate it.
Awesome, you pwn rawr now I’m off to be srscat
You don’t happen to know how to stuff custom audio files into those unreal packs do you?
Whats all this again? Woobooboobooboo!
in what directory mirror’s put the music files ?
Uh, what? It extracts to whatever directory you specify.
Freyar: It’s generally not possible, due to the complicated nature of unreal package files.
Nice Tool yeah, but for the wrong game
I’d like to see this tool für GTA4, is this notpossible rick?
Or is there any other reason you create a soundextractingtool for games like mirror edge, but not for GTA4 with all the great radios?
Rick, I’m sorry that I’m posting it here, but you wouldn’t notice it otherwise.
It’s about “Steam Achievement Manager 4.0″.
Can you check if it’s still working? For some reason, it doesn’t list all games and adding games manually doesn’t work.
If it does work, please contact me through my email, I don’t have SA account and you seldom use your FP account.
Thanks.
Umm.. did you say that you wrote a similar tool for Mass Effect? I recently decided to dust off the old ME DVD and have been playing it again. I can’t help but feel though that ME could have been so much more of it weren’t locked down. So disappointing and so like EA. Bioware has always made their games modder friendly but here comes the first game under the EA miniker and it’s totally locked down like 99.999999% of EA games. Sad.
So do you have this unpacking tool for Mass Effect PC? Do you know if there are file checks that run at startup to make sure the files haven’t been modified? Thanks.
It isn’t a case with EA intentionally locking down Mass Effect.
Unreal Engine 3 games are simply unfriendly to mod themselves in general without having the Unreal Editor, due to the complexity of the file formats involved.
Is there any chance that you could post (or email) some info about your source code, or at least how packages are generated? I’m working on messing with custom levels, the Mirror’s Edge binary, and such. I don’t know if I’ll be able to have much success (I can currently create custom maps in .umap format, but the editor crashes on trying to reopen them…and actual maps from the levels don’t show skyboxes properly), but any information about the .me1 or .umap format that might be new for Mirror’s Edge would be greatly appreciated…or even information from how UT3 did it.
For reference, I’m using resources from UT3 (editor bitmaps, primarily) to allow the Mirror’s Edge editor to run (with the mirrorsedge.exe command).
Thanks!
Any way you can write a upk extractor for us? or at least open source the code so others can do it?
Are you seeking the code for use with Mirror’s Edge or Unreal games in general? Because the code that works for Mirror’s Edge would not work for Mass Effect, etc.
Sorry for the negative EA slant
So modding Mass Effect would be possible if I installed UnrealEd? I guess I didn’t think it would be as simple as that since many people create mods using Unreal Ed and I have yet to see a single one for Mass Effect. Do you know off hand if there are file checks or encrypted files that would limit what you can create and or modify? Thanks for the reply Rick.
UnrealEd for Mass Effect? It could be possible, but I doubt it. Most Unreal Engine 3 games have editor support explicitly compiled out. Mirror’s Edge is the first case I’ve seen where editor support was left in, just the editor files were not provided.
Well I’m going to experiment a little and see what’s possible. Thanks for the answers.
Hello and thank you for this.
However, is it possible to make the same thing for sounds and effects?
hi rick,
nice work, thanks a lot!
anyway, could you expand this little tool for the DLC audio library?
it is located at /Program Files/EA Games/Mirror’s Edge/TDDLC/DLC1/Audio/
and there are 8 small upk files only…
cheers,
bias.
Hey dude, nice stuff, thanks, is there a way to have a look at your source code (for learning purpose) or do you have any article where u say how you made this tool?
Cheers,
Claudiu
could you please make one for brothers in arms Hells highway?
hi Rick,
could you make a more free version of your tool where one can choose the upk file to extract?
it really kicks ass anyway, but would be good to extract DLC audio and other blink video contents as well.
bias: bink video can be extracted (or rather, converted) using Bink Video Tools, they’re free (google)
I was wondering, since it appears in-game, would anyone know where the hell to find the music from the intro itself? I mean, I have like a dozen different remixes of Still Alive, and yet I can’t find the one playing in the background when Faith first starts her run.
So I’ve figured, I had to mix that one myself, but:
a) I don’t have a remix that starts (or even contains) the silence-then-upbeat-instrumental-version of Still Alive, and
b) before the upbeat, there is this longer, very cool music piece (from Title to the crane) which I also lack
and both of these tracks appear in-game,
YET
both of these files are missing from the extracted files.
Any ideas? Perhaps we’re talking different formats, like MP3 or something else completely? I’m pretty sure they have to be two separate tracks (otherwise board-jump-crane-music timing hell ensue!), but it’d be nice to be able to extract these as well. They MUST be SOMEWHERE in there… right?
I’ve also checked the OST – not there either.
What am I missing?
Okay, a little correction – apparently the original music I’m thinking about is “Shine” by Alcorus, and that DOES contain the upbeat part I’m looking for (get the original, not the remix), but not the right `version` (the piece used in the game fades out quicker and is shorter).
The music I’m talking about is here:
http://www.youtube.com/watch?v=LNUnQhFd5jI
from 1:14 to about 2:12. (crappy quality though)
egon: its music and effects are rendered along the video realtime. the animation part has parts included from the full version of Still Alive (Solar Fields remix) b.k.a the menu theme, the 3d intro has a violin orchestral part that can be found among the ogg loops and a part from the instrumental version of Still Alive (SP01A_Intro_upk_*.ogg).
actually i am looking for some animated cutscene musics that are not among the loops.
you know where the audio ytacks for the cutscenes are, and btw it will only allow me to open the first upk file and not the othwea
TOO COOL!! lookin for this for quite a while now, thanks a lot dude!
I GOT THE SONG I WANTED WHICH WAS A GOOD ONE AND IT WAS THE SONG PLAYED AS YOU ENTER THE SHARD AND I LIKED TO PLAY IN THE CITY WHILE THAT SONG WAS ON AS IT WAS SOMBERING AND YOU KNEW THE END WAS NEAR AND YOU WERE SAD.
Thank you so much for this great tool! Exactly what I was looking for!
SolarFields_Remix is gr8…
love the app, thanks alot, the oggextract i was using was taking too long! Thanks to you and google, have a great one
[...] http://blog.gib.me/2009/01/16/mirrors-edge-music/ __________________ Windows 7║Fan Club http://valid.canardpc.com/show_oc.php?id=510438 Steam :: pOLLY pOCKET Quote: [...]
[...] EDIT: I should mention that the music is nice, and if you have the game there’s a tool to extract it here. [...]
Hello, mate!
You are so pro in making unpackers, then would you make one for Dark Void music extraction. In fact i suspect the music to be inside of the FMod.tfc file, which is the only possible variant. So many people is praying on you from this moment!)
It’s not high on my list of games to play but I will see what I can do.
thank you for coding such a helpfull tool.