Jump to content

Recommended Posts

  • Members
Posted (edited)

Is there any tool or plugin that can import .kf2 and .ldb from Max Payne 2: The Fall of Max Payne? Files share the same format as the first game.

https://mega.nz/file/JTgUlK7L#xQALBTbSEZOpSssz0C49g72qpvoT50mVAylzfehZMM8

https://mega.nz/file/QeBDlRIB#mSjB7eTQARruCSYT1AyoY9UcVZ6y6gRRMW53U1DDf1s

Fixed macroscripts: https://mega.nz/file/Uf4DzJ4K#JzEnZ7zI5nNB1F9OylxJJTah5TU0D8OWDw8_N-rxOLE

Here is the 3ds Max v5.1 plugin named KFExport.dle which allows authors to export custom character models.

Here is MaxED v2.0 which allows authors to create custom level models (LDBs).

And here is the file format specification for Max Payne KF2: https://github.com/m0nstr0/max_payne_ldb_importer/blob/master/docs/specification/KF2.MD

maxpayne2_3dsmax5_plugin.7z maxpayne2_leveleditor.7z

Edited by mrmaller1905
  • Members
Posted

Sir, perhaps you should send me the model file for testing. Also, your 3ds Max script already follows clear read‑write rules, which can be used to figure out the storage format of this model.pt222.png.57704053d43e389adab6f8aeceef079d.png

  • Members
Posted

Sir, you really should have done this earlier. It makes analysis much easier. The LDB file you provided is actually a DDS format, which can be extracted effortlessly.pp22.png.a3bca41ef315819e7ff6ca9d70db4fd7.pngppt1.png.010fa07f3eb294aafd7e53e93e427d49.png

  • Members
Posted

KF2 files are actually models, but sometimes they're standalone skeletal models and may contain no vertices at all. Either way, the model structure is a very old sequential format, and the faces are all triangles. You can easily parse it. The bone matrices follow this structure ~skeleton2.png.39ee2068152ceaa79001ee689fe66bf9.pngkf2model1.png.9f509d5f090d8f2b401623991398a50d.png

  • 2 weeks later...
  • Members
Posted (edited)
On 5/22/2026 at 2:46 PM, shak-otay said:

[...]

I need more information about Max Payne 2 LDBs and the 3ds Max v5.1 plugin KFExport.dle.

Edited by mrmaller1905
  • Engineers
Posted
23 hours ago, mrmaller1905 said:

I need more information about Max Payne 2 LDBs and the 3ds Max v5.1 plugin KFExport.dle.

Supposed you have that 3ds Max version you could use a debugger to check the dle in action. (I never debugged 3ds max, it surely has anti debug features implemented.)

If you don't have chances are low

  • Members
Posted
On 6/3/2026 at 9:27 AM, shak-otay said:

Supposed you have that 3ds Max version you could use a debugger to check the dle in action. (I never debugged 3ds max, it surely has anti debug features implemented.)

If you don't have chances are low

And what about the level editor MaxED v2.0?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...