Extract icons from Prefab and Items

A file by bmx22c(Trusted developer)

Downloads 27
Created 5 months ago
Updated 5 months ago
Disclaimer: This file has not been reviewed by the Openplanet team. Please use it at your own risk.

This little script will allow you to extract all icons from .Prefab.gbx (usually used for Blocks) and .Item.gbx. It will prompt the user for the path to Blocks and Items. It will output all the icons in a subfolder named "Icons" with all icons named after the blocks or item that it's related to. How to extract Prefab and Item with Openplanet:

  • Switch to Developer mode
  • Navigate to System > Packs > Stadium.pak > Stadium > GameCtnBlockInfo
  • Click Load Fids on GameCtnBlockInfoClassic then Extract
  • Navigate to System > Packs > Stadium.pak > Stadium
  • Click Load Fids on Items then Extract

In the program, you'd typically enter something like:

  • C:\Users\XXX\OpenplanetNext\Extract\GameData\Stadium\GameCtnBlockInfo\GameCtnBlockInfoClassic
  • C:\Users\XXX\OpenplanetNext\Extract\GameData\Stadium\Items

UPDATE: Schadocalex pointed out that the images weren't flipped correctly. This is now the case.