Pixtractor 1.0!

A program to extract all Carmageddon and Splat Pack correctly

« Older   Newer »
 
  Share  
.
  1. jomalin
     
    .

    User deleted


    Finally, here it is! I finished programming this little tool for the Carmageddon modders, it is attached below in a ZIP file.

    As I said in other posts, pixtractor can extract ALL images from Carmageddon and Splat Pack perfectly, without any error. Pixed and Carmagedit fails (crash) on some pixpack files and also, sometimes they don't extract the image correctly because it doesn't interpret well the width, like in GO.PIX, the width is 54, and not 56. If you you change pixels in the last two vertical pixel columns in the image, and then import it with Carmagedit, you will not see that change in the game (this is because the width is 54, not 56, so the two columns are not rendered).

    IMPORTANT NOTE: The program hasn't got a GUI (Graphical User Interface) so it doesn't have a window, you must execute it by command line. This is why if you double click on pixtractor.exe, it shows a black window and it closes.

    HOW TO USE:
    In Windows 95/98: Start, Execute, write "command" (without the quotation marks) and press enter.
    In XP/Vista/Win7: Start, Execute, write "cmd" (without the quotation marks) and press enter.
    A black window must appear. Now, go to the folder where pixtractor is, writing this for example: cd c:\carma (and press enter). Now you can execute the program writing some of the following lines:

    Extract all textures (recursively) from the Carmageddon CD with race palette:
    pixtractor D:\data C:\carmatextures –racepal –r

    Extract all textures (recursively) from the Carmageddon CD with race palette, with file organizational mode (instead of folder organizational mode):
    pixtractor D:\data C:\carmatextures –racepal –r -file

    Extract all textures (recursively) from the Carmageddon CD with race palette and write the output (details about each texture extracted, and the total number of they) to a text file:
    pixtractor D:\data C:\carmatextures –racepal –r > report.txt

    Pixtract accepts a few parameters to customize the resulting BMP filenames (add or not numeration, add the pixpack filename, etc) and other things. Executing pixtractor without parameters will show all of they, but if you want even more details, look at the README.RTF.

    IMPORTANT NOTE 2: If Pixtractor crash with some PIX files, this is because the PIX file has been incorrectly manipulated. Pixtractor works perfectly with ALL of the original Carmageddon and Splat Pack pixpack files. Pixed and Carmagedit got some bugs, and one of they, it adds some 0x00 bytes to end of an edited PIX file that can cause this crash.

    ENJOY IT!

    Next thing, is to do a pixtractor for the PSX version of Carmageddon, and then, the pixpacker program (to convert from BMP files to PIX files)! I will take my holidays this Friday, so I will have it finished on a few weeks/months...

    Edited by jomalin - 16/8/2012, 11:52
    File Allegato
    pixtractor.zip
    (Number of downloads: 94)

     
    Top
    .
  2.  
    .
    Avatar

    Dios

    Group
    Administrator
    Posts
    6,887
    Location
    Beaver City

    Status
    Offline
    Gran aporte! ;) Gracias por el esfuerzo y dedicación.

    Tengo un problema con el programa, ni bien le doy doble click al archivo se me cierra instantaneamente. Tendré que abrirlo de otra manera?
     
    Top
    .
  3. jomalin
     
    .

    User deleted


    Es completamente normal que te ocurra eso. He editado el primer post, lee la primera "IMPORTANT NOTE" y sabrás como ejecutarlo. ¡Ya me dices!
     
    Top
    .
  4.  
    .
    Avatar

    Dios

    Group
    Administrator
    Posts
    6,887
    Location
    Beaver City

    Status
    Offline
    Me quedé estancado en esta parte:

    pixtractor D:\data C:\carmatextures –racepal –r

    Supongo que D:\data debe ser la ubicación de la carpeta DATA del carma y C:\carmatextures una carpeta cualquiera donde ván a terminar las texturas extraidas no?

    El tema es que no me reconoce la primera carpeta.
     
    Top
    .
  5. jomalin
     
    .

    User deleted


    QUOTE (Mastro 666 @ 16/8/2012, 08:52) 
    Me quedé estancado en esta parte:

    pixtractor D:\data C:\carmatextures –racepal –r

    Supongo que D:\data debe ser la ubicación de la carpeta DATA del carma y C:\carmatextures una carpeta cualquiera donde ván a terminar las texturas extraidas no?

    El tema es que no me reconoce la primera carpeta.

    D:\Data se supone que es la ruta hacia la carpeta "DATA" del CD de Carmageddon. Si en cambio lo quieres probar con tu Carmageddon instalado en disco duro, podría ser algo como:
    pixtractor C:\carma\data C:\carmatextures –racepal –r
    o
    pixtractor C:\games\carma\data C:\carmatextures –racepal –r

    Si no te funciona es porque seguramente tu CD de Carmageddon no esté en la unidad D, revisa que la ruta que estás poniendo (parámetro src_folder) existe.

    ¿Qué error te da?

    Edited by jomalin - 16/8/2012, 14:01
     
    Top
    .
  6.  
    .
    Avatar

    Dios

    Group
    Administrator
    Posts
    6,887
    Location
    Beaver City

    Status
    Offline
    Ahora si! Me vás a pegar, la carpeta del juego es carm95 y yo siempre escribía carma95.

    Cómo hago para extraer las texturas de la carpeta PIXELMAP?
     
    Top
    .
  7. jomalin
     
    .

    User deleted


    QUOTE (Mastro 666 @ 16/8/2012, 17:26) 
    Cómo hago para extraer las texturas de la carpeta PIXELMAP?

    Muy fácil, si esa carpeta que dices la tienes en la unidad C,

    sería por ejemplo:
    pixtractor C:\carm95\data\pixelmap C:\carmatextures -racepal -file

    O esta variante (para organizar las texturas por carpeta por pixpack)
    pixtractor C:\carm95\data\pixelmap C:\carmatextures -racepal -folder

    Eso te dejaria las texturas en la carpeta C:\carmatextures

    Si quieres que no te enumere los BMP (0001. ..., 0002. ..., etc) ponle tb el parametro -noenum al final, o si tampoco quieres que te escriba el nombre del archivo pixpack en el nombre del BMP (solo el de la textura en si), añadele también -nopixpackname. Todo eso viene explicado en el README.RTF con detalle, y con ejemplos. Escribi 9 paginas de manual... jaja
     
    Top
    .
  8.  
    .
    Avatar

    Dios

    Group
    Administrator
    Posts
    6,887
    Location
    Beaver City

    Status
    Offline
    Gracias por los datos, más tarde lo testeo. Como notarás soy bastante lento con estos tipos de programas, te vás a tener que acostumbrar a los cuestionarios. :P

    QUOTE
    Escribi 9 paginas de manual... jaja

    Lo estuve leyendo, en unos días lo termino. Se notá que plasmaste mucha info concisa sobre el tema. :B):
     
    Top
    .
  9.  
    .
    Avatar

    Master

    Group
    Member
    Posts
    235
    Location
    Bleak City

    Status
    Offline
    Tested Pixtractor and it works well!
    Too bad there's no GUI :P

    BTW and just FYI there are more PIXELMAP types: http://rr2000.toshiba-3.com/R4/BRENDER/TEB....HTM#HEADING577
     
    Top
    .
  10.  
    .
    Avatar

    Dios

    Group
    Administrator
    Posts
    6,887
    Location
    Beaver City

    Status
    Offline
    El programa ya está subido a la web de Kalcos: https://sites.google.com/site/kalcoscarma/...rgas/utilidades

    EDIT: Ahora que me doy cuenta es un link para este topic. :P

    EDIT 2: Mirror de Mediafire: www.mediafire.com/?3a5vs17w10v3bzq
     
    Top
    .
  11. jomalin
     
    .

    User deleted


    I will do a pixtractor for the PSX version of Carmageddon. It will extract textures from the .mat, .mot, .tex, .hgx and .tim files. Please, tell me if you know more PSX Carmageddon texture formats
     
    Top
    .
  12.  
    .
    Avatar

    Dios

    Group
    Administrator
    Posts
    6,887
    Location
    Beaver City

    Status
    Offline
    Alguna novedad Jomalin? Sigo con muchas ganas de ver un programa capaz de armar un PixPack de forma rápida. :B):
     
    Top
    .
  13. jomalin
     
    .

    User deleted


    Buenas Mastro,

    Hace más de un año que no me metía aquí... De hecho se ha borrado mi usuario y he tenido que volvérmelo a dar de alta (he perdido todos los mensajes privados que tenía). ¿Sabéis si me los pueden recuperar? Tenía algunas sugerencias para añadir a pixtractor creo recordar...

    Tengo pensado hacer el programa para crear los archivos .pix algún día, me parece muy útil. Ya escribí en su día un "boceto" de como iba a ser el programa, pero no me puse a desarrollarlo.

    ¿Sigues necesitándolo?

    ¡Gracias!
     
    Top
    .
  14.  
    .
    Avatar

    Dios

    Group
    Administrator
    Posts
    6,887
    Location
    Beaver City

    Status
    Offline
    Nop, por lo que sé Forumfree elimina usuarios cuando pasan mucho tiempo sin postear y todo la mensajería se pierde sin vuelta atrás, es uno de los puntos negativos de este servidor. -_-

    QUOTE
    Tengo pensado hacer el programa para crear los archivos .pix algún día

    Mientras estabas ausente desarrollaron un programa para construir PixPacks de nombre Trixx, por acá te lo podés descargar: http://rr2000.toshiba-3.com/pc-files
     
    Top
    .
  15. jomalin
     
    .

    User deleted


    Veo que trixx necesita tener instalado el .Net Framework v4.0.30319.
    De hecho me da error por no tenerlo instalado:

    ---------------------------
    TRixx.exe - Error de inicialización de .NET Framework
    ---------------------------
    Para ejecutar esta aplicación, debe instalar previamente una de las siguientes versiones de .Net Framework:
    v4.0.30319

    Póngase en contacto con el editor de la aplicación para obtener instrucciones sobre cómo obtener la versión adecuada de .Net Framework.
    ---------------------------
    Aceptar
    ---------------------------

    Funciona bien trixx? Tiene algún fallo o sugerencia que queréis que tenga? Lo digo porque creo que aunque ya exista este, seguramente yo haga el mío (y no requerirá tener el .NET Framework instalado).
     
    Top
    .
19 replies since 15/8/2012, 21:04   621 views
  Share  
.