![]() |
|
[Tutorial] Extracting files from My Little Pony Magic Princess - Printable Version +- The VG Resource (https://archive.vg-resource.com) +-- Forum: The Resources (https://archive.vg-resource.com/forum-109.html) +--- Forum: General Ripping (https://archive.vg-resource.com/forum-145.html) +--- Thread: [Tutorial] Extracting files from My Little Pony Magic Princess (/thread-43101.html) |
[Tutorial] Extracting files from My Little Pony Magic Princess - ego-lay_atman-bay - 10-25-2024 Ripping files from My Little Pony Magic Princess
Before ripping from My Little Pony Magic Princess (the mlp gameloft mobile game), you need to get and extract the .ark files, which are compressed (and encrypted) archives that contain all the assets in the game. [spoiler=Getting .ark files] The easiest way to get the .ark files, is through the android version, which is what this guide will use.
[/spoiler] Since .ark files are a proprietary format made specifically for the game, you need a specific program to extract them. [spoiler=Extracting .ark files] In order to extract .ark files, you need Luna Kit, which only requires python and git to install (well, it technically doesn't need git, but that's the easiest way to install it). Here's how to extract the files with Luna Kit.
[/spoiler] Now here are some tutorials on ripping files from the game. [spoiler=Models] The models in the game are stored in .rk files, a proprietary format used by rkengine (although their website is defunct), which is used by a couple different games besides this website. There are currently 3 methods to converting models. [spoiler=rk-blender (no animations)] I have created a blender extension called rk-blender to import the .rk files directly in blender. You can download it here. https://github.com/ego-lay-atman-bay/rk-blender Follow the instructions there to install it. After you install it, you can make sure the extension (add-on) is enabled, then you can just drag and drop .rk files into blender (or open them with File > Import > Import RK File. [/spoiler] [spoiler=rk-convert (includes animations)] Currently this is the only method that supports animations.
One benefit that this program brings, is that when you import the exported models into blender, the shaders are already set up (though you do have to change the blend mode to Dithered instead of Blend). This program does also have the ability to extract ark files, however it's not as easy to use as Luna Kit. [/spoiler] [spoiler=Noesis]
As for rendering the models, you might want to understand how they work. The pony models have an outline, which is a copy of the model, just a bit bigger, and different colors (and less detail), however the outline model has it's backface facing outside. This means that if you turn on backface culling, you'll see the pony with all it's detail, as well as it's outline. The only other thing you need to do, is use flat shading, and make sure the exposure is 0, and the gamma is 1. If you used rk-convert, you have to change the Blend Method from Blended to Dithered. If you used rk-convert, it should just set everything up correctly. If you used noesis, you have to go through these steps. You can render with either the Workbench or EEVEE renderers. With both renderers, it is also recommended to delete any light sources, because those will give the wrong shading. [spoiler=EEVEE] Select the object
[spoiler=Workbench]
Unfortunately I have been unable to rip animations, since they're located in .anim files, which I do not know how to read, and many properties for animations are located in other xml and csv files. [/spoiler] [spoiler=Sounds] The sounds are stored in 2 formats, Musepack mpc files, and Gameloft VXN header (vxn) files. mpc files You can open the mpc files in audacity or use ffmpeg, however those output some files in low quality with static that is not heard in-game. The best way to convert the mpc files to another format, is by using the Musepack tools found on the Musepack website. It can be used like this. Code: mpcdec file.mpc file.wavThis will only output in wav format, however you can pipe the output wav file into ffmpeg to save it to a different format. Code: mpcdec file.mpc - | ffmpeg -i - output.flacvxn files vxn files contain multiple audio streams, which are normally used for looping music. You can extract all the streams to audio files by using vxn-py. vxn-py can be installed by running Code: pip install vxn-pyAnd you can use it by running Code: vxndec input.vxn -o "output.{ext}"It is recommended that you use {ext}, because the file extension can either be wav or mpc. [/spoiler] [spoiler=Images] You can find most of the pony images in the gui folder, and they're in png format. The only problem is finding the image in a very very large folder. If you want to extract the .pvr files, you can use PVRTexTool. [/spoiler] [spoiler=Extracting strings] All the strings in the game are in .loc files, which can be read using Luna Kit. Code: luna-kit loc english.loc -o english.jsonIf I figure out more stuff, I'll update this tutorial. RE: [Tutorial] Extracting files from My Little Pony Magic Princess - Futatabi6 - 10-26-2024 YOU'RE A LFIE SAVER. Be aware that heaven is waiting for you !!!! ToT tysm for this RE: [Tutorial] Extracting files from My Little Pony Magic Princess - Diego6mick - 03-19-2025 which is the other method for extract the rk models? like, im not interesed on the animations at all :,v RE: [Tutorial] Extracting files from My Little Pony Magic Princess - ego-lay_atman-bay - 03-19-2025 (03-19-2025, 08:48 PM)Diego6mick Wrote: which is the other method for extract the rk models? You can also import .rk files into blender with rk-blender. I just added it to the main post. RE: [Tutorial] Extracting files from My Little Pony Magic Princess - Diego6mick - 03-19-2025 (03-19-2025, 09:18 PM)ego-lay_atman-bay Wrote:(03-19-2025, 08:48 PM)Diego6mick Wrote: which is the other method for extract the rk models? Again, thanks for your quick awnser, now the problem im having is trying to make the "PATH" run blender :,U RE: [Tutorial] Extracting files from My Little Pony Magic Princess - ego-lay_atman-bay - 03-19-2025 (03-19-2025, 09:28 PM)Diego6mick Wrote:(03-19-2025, 09:18 PM)ego-lay_atman-bay Wrote:(03-19-2025, 08:48 PM)Diego6mick Wrote: which is the other method for extract the rk models? Assuming you're on windows, you can search "blender.exe" in the start menu search, then click "open file location". If that doesn't work, you can search for blender in a path similar to this "C:\Program Files\Blender Foundation\Blender 4.3" (it may have a different number at the end). Once you found the folder with "blender.exe", copy that path, then follow this tutorial to add it to the PATH. |