Source Code Release: PoP BF Lab – Open source tool for Jade Engine & Prince of Persia modding/reverse engineering

Hey everyone!

Following up on my previous post where I shared the demo build, I’m excited to announce that the full source code for PoP BF Lab is now officially open source!

For those who missed the last post, PoP BF Lab is a Python & Tkinter GUI tool made specifically for reverse engineering and modding Jade Engine games—like the Prince of Persia: Sands of Time trilogy. Unlike generic hex editors, it natively decodes Jade engine structures to edit files safely without breaking archives.

💡 A Small Request for Support

This isn't a plea for personal money—I'm just looking to cover a one-month ChatGPT Plus subscription ($20) to help me keep coding and developing new features for this project. If you find the tool useful and want to throw a couple of bucks into the coffee fund, I’d be incredibly grateful!

👉 Support the project here:https://buymeacoffee.com/fulger

✨ Key Features:

  • OVA & Variable Editor: Safely edit game variables (booleans, floats, ints) with native Jade engine struct decoding.
  • Smart Texture Swapper: Convert and swap textures (PNG, JPG, WebP, DDS) with an integrated Python encoder that matches exact original mipmap byte counts.
  • Big File (.bf) Browser: Direct FAT indexing to search, extract, and swap files inside huge 100k+ entry archives.
  • Scene & Mesh Tools: Inspect scene hierarchies (.gao, .bin) and in future replace 3D geometry.
  • Built-in Diff Tool & LZO Extraction: Compare binary dumps to track down variables and decompress data blocks on the fly.

💻 Easy to Run

Written in Python 3.11 & Tkinter. The release package includes its own standalone runtime launcher (run_pop_bf_lab.bat), so users don't even need Python installed to use it.

🔗 Links:

Feedback, bug reports, or GitHub stars are always welcome. Thanks for checking it out!

github.com
u/TheSuperMan_ — 1 month ago

Finally Found Built-In Cheats in PoP Warrior Within Demo and SoT full game for original xbox

With my tool you can modify OVA variables and activate internal and hidden functions of the whole PoP trilogy, the OVA cheats variable on the WW demo is 21, on Sands of Time full game it's the same as the PC version, variable 22, in the SoT demo it was instead 8, on WW and T2T retail I'm still looking for it

Warrior Within demo built-in cheats: https://youtu.be/pHZXnOrxzPY

My tool: https://www.mediafire.com/file/r3zpn41tzd0xd1x/PoP_BF_Lab_Demo.zip/file

u/TheSuperMan_ — 2 months ago

Made a tool for PoP modding, never been so easy to replace textures

Hey modders and Prince of Persia fans!

I’ve been working on PoP BF Lab, a lightweight Python and Tkinter suite designed to parse, inspect, and modify Jade Engine assets and archives (.bf / .bin) for The Sands of Time, Warrior Within, and The Two Thrones.

If you've ever tried modding Jade games using generic hex editors, you know how easy it is to break file alignments or corrupt name tables. PoP BF Lab natively decodes the engine's record structures and container layouts, letting you safely edit game data without destroying archive integrity.

Key Features:

  • Automated Texture Swapping: Import PNG, JPG, TGA, BMP, WebP, or DDS. The tool automatically resizes and converts them into the exact original PoP format.
  • Exact DDS/DXT5 Conversion: Built-in Python encoder matches the original block and mipmap byte count perfectly (e.g., a 349,504 B payload stays exactly 349,504 B), keeping archives completely stable.
  • Graphical Asset Browser: Search, preview, and extract resources directly from .bf archives containing over 100,000 files without temporary disk extraction.
  • OVA & Variable Editor: Structurally decodes AI_tdst_VarInfo engine records to edit integers, floats, and booleans safely without overwriting adjacent headers.
  • Binary Diff Utility: Compare two binary dumps to instantly track down modified byte offset variations.

Feedback, bug reports, and suggestions are all welcome!

Demo here: https://www.mediafire.com/file/3fje1gyblzk0eza/PoP+BF+Lab+Demo.exe/file

u/TheSuperMan_ — 2 months ago

How to fix this error?

After installing a fpkg game on firmware 11.52 as soon as I start the application this error always appears, how to fix?

u/TheSuperMan_ — 4 months ago