Author Topic: Models extracting tool  (Read 1142 times)

0 Members and 1 Guest are viewing this topic.

Offline nothingness

  • Scout
  • *
  • Posts: 1
  • Karma: 0
  • WFW User
    • View Profile
Models extracting tool
« on: September 14, 2012, 02:27:15 pm »
Recently I remembered about the game and I found some time to try again recreate the models format. Generally, it's stored in a models.bin file (machines, buildings) and in files with the extension *.psb (map tiles), *.arb (artefacts, trees, plants, etc.) from a pdata directory. I enclosed my program to extracting.
Usage: binex a <filename to extract, part of this name or dir branch> <input filename>. Copy program binary to machines root directory. Run command prompt and change dir again to game root (e.g. cd c:\games\machines). Now type binex a .x models.bin to extract all *.x files from models.bin, similarly for *.arb. For *.psb type e.g. binex a .agt pdata\m_desert.psb.





I can't discover orginal objects coordinates so they need to be pieced together, but I think that isn't a big problem.

I hope that in any way it will be useful for something. Meshes can be imported and smoothed in any 3D software. Don't ask how to export new models to original game. I don't recreated whole format and I am not able to do it.
« Last Edit: September 14, 2012, 02:57:38 pm by nothingness »

Offline Freek

  • Warrior
  • ***
  • Posts: 5
  • Karma: 2
    • View Profile
Re: Models extracing tool
« Reply #1 on: September 14, 2012, 02:53:15 pm »
Wow man, that's awsome ! Great job :) I was always wondering how would it look like :D

Offline mb

  • Wraith Reaper
  • *
  • Posts: 30
  • Karma: 13
    • View Profile
Re: Models extracting tool
« Reply #2 on: September 14, 2012, 06:37:56 pm »

Nice.

Importing back to game requires *.lod files (also psf and arf, but they are stored in metafile mach1.met). As I remember there is bug in loading colors from .x files materials. Maybe its related with animatix agt format that was used as orginal source for tiles and some models.

Offline SinJul/3rdSin

  • (・ω・)
  • Knight Templar
  • *
  • Posts: 128
  • Karma: -8
  • Gender: Male
    • View Profile
Re: Models extracting tool
« Reply #3 on: September 15, 2012, 06:09:02 am »
wow very nice.
Map Creator and Game Balancer for Open Machines.

Offline Mahmoud

  • Openmachines dev
  • Eradicator
  • *
  • Posts: 571
  • Karma: 0
  • Gender: Male
  • Sometimes change is needed, in any direction
    • View Profile
    • Just a game...
Re: Models extracting tool
« Reply #4 on: December 30, 2012, 11:58:05 am »
Don't we need to download the program before these commands work?
Anybody else think this would be a good place to start for the remaining openmachines models?
Also how do you and mb reverse engineer these things?  :eng101:
IRC join #wiredforwar
Development