The VG Resource
[Tutorial] Ripping models from LittleBigPlanet Karting/Modnation Racers - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Models Resource (https://www.vg-resource.com/forum-111.html)
+---- Forum: Ripping Help (https://www.vg-resource.com/forum-115.html)
+---- Thread: [Tutorial] Ripping models from LittleBigPlanet Karting/Modnation Racers (/thread-41934.html)



[Tutorial] Ripping models from LittleBigPlanet Karting/Modnation Racers - Some1_On_TheInternet - 08-13-2023

Note: A chunk of UI textures and lightmaps won't export correctly from LBPK, I use renderdoc to export these. Backgrounds (at least in LBPK) will often have inconsistent scaling and will need to be adjusted.

Tools:
UFG - https://github.com/ennuo/ufg

1. Download the ufg program

This can be done either through compiling it manually, or downloading it through the actions tab.

2. Open a command prompt/terminal window in the exporter folder

3. Run the export command.

For a good chunk of models, this command should work fine, though some texture packs are indexed, so you may need to adjust it. Costumes can be found in DATA/CREATE/ROBOTOY, and backgrounds can be found in DATA/WORLD/TRACKSTUDIO2/ENVIRONMENT

java -jar ufg.jar -g <game> <...model_packs> -o <output_folder> -tp <perm.bin> <temp.bin>

Indexed textures command

java -jar ufg.jar -g <game> <...model_packs> -o <output_folder> -tps <perm.bin> <perm.idx>

Example

java -jar ufg.jar -g lbpk CHARMODELPACKSTREAMING.BIN -o export -tp CHARTEXTUREPACK.PERM.BIN CHARTEXTUREPACK.TEMP.BIN

4. Import into Blender

On the more recent versions you should have textures on import already applied. There currently isn't any rig exporting as of the writing of this tutorial, and you will have to use an older repo named ufg.js for morphs exporting.

[Image: YJPxQWD.png]

Note: Due to .GLB limitations, specular textures will not export, you will have to export the texture pack manually, which can be done through

java -jar ufg.jar -g <game> -o <output_folder> -tps <perm.bin> <perm.idx> --dump-textures
or
java -jar ufg.jar -g <game> -o <output_folder> -tp <perm.bin> <temp.bin> --dump-textures