Users browsing this thread: 1 Guest(s)
[Tutorial] Ripping models from LittleBigPlanet Karting/Modnation Racers
#1
Information 
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
Reply
Thanked by:


Messages In This Thread
[Tutorial] Ripping models from LittleBigPlanet Karting/Modnation Racers - by Some1_On_TheInternet - 08-13-2023, 10:00 PM

Forum Jump: