archives (*.ehp, *.cip) in yu-gi-oh! tag force-games

Discussion in 'PSP - Hacking & Homebrew' started by hack_ziro, Oct 2, 2011.

  1. hack_ziro

    Newcomer hack_ziro Advanced Member

    Joined:
    Feb 26, 2011
    Messages:
    92
    Location:
    under your bed
    Country:
    Germany
    i was about to mess a little bit with the tagforce-game-files within the iso to mod some text/graphics, but unfortunately, most of the files are packed in an (for me) unknown file-format
    the card graphics are packed into a *.cip file
    texts, like card-effects, card-names, and so on are packed into *.ehp files, as well as some charakter graphics

    a searched around, but couldn't find any unpacker/extractor for those file-formats

    so now, i'll try my luck here [​IMG]
    any helpful information, how to extract/unpack these sort of files?
    did someone maybe got a tool, that would do this for me?

    thanks [​IMG]
     
    Margen67 and karius like this.


  2. Sinistral89

    Member Sinistral89 GBAtemp Regular

    Joined:
    Sep 12, 2009
    Messages:
    238
    Location:
    Sweden
    Country:
    Sweden
    When I googled .cip files I see that it's either a kind of encrypted file (cryptolocker) or a ghost keylogger file. If it's encrypted you would have to decrypt it. That could get messy [​IMG].

    .ehp is a helpl logic program file. Some sources say that you might be able to use notepad? Seems a bit wierd but what do I know.

    Dunno if these findings are correct, they might be more common in DS-roms and such and have another way of getting open.
     
  3. Ris312

    Newcomer Ris312 Advanced Member

    Joined:
    Mar 5, 2011
    Messages:
    59
    Country:
    Australia
    in Yu-Gi-Oh 5, the EHP andd CIP files are actually unencrypted packed GIM files.
    There are some CIP/EHP files that don't contain any GIM files (like card\cardj256_a.cip)


    Here is picture from the file "\field\map\bg_01a.ehp" (GIM file #41)
    [​IMG]

    Here is a picture I extracted from the file "card\cardh_e.cip" (GIM file #10)
    (That file contains a lot (2429 total) of small 5kb files like this)
    [​IMG]

    And here is one from database\charalist.ehp (GIM file #18)
    [​IMG]



    To extract them, you can use a program called 'textER'
    (aka "Textures Extractor/Reinserter v1.0b6 by Vash")
    its a command line program, to extract, use this command:
    TextER -e [filename.cip/ehp] -gim

    you will get your GIM files, to convert these to PNG
    you'll need a tool called 'GIMCONV', also a command line program:
    Gimconv [input.gim] -o [output.png]

    Here is a package I put together with the tools and a few helpful batch files.
    one to batch extract CIP/EHP files and one to batch convert GIMs to PNGs
    Download: http://www.mediafire.com/?68lktqjei1fxduy

    Tested and works on most of the CIP and EHP files in Yu-Gi-Oh 5 (USA), could work on the older games too...
     
    karius likes this.
  4. hack_ziro

    Newcomer hack_ziro Advanced Member

    Joined:
    Feb 26, 2011
    Messages:
    92
    Location:
    under your bed
    Country:
    Germany
  5. hack_ziro

    Newcomer hack_ziro Advanced Member

    Joined:
    Feb 26, 2011
    Messages:
    92
    Location:
    under your bed
    Country:
    Germany
    found an ehp-extractor, which not only extracts gim-files, but bin(text) files as well
    but now im screwed, because one file is encrypted, so ican't translate it [​IMG]
    ain't life a b****? [​IMG]
     
  6. hack_ziro

    Newcomer hack_ziro Advanced Member

    Joined:
    Feb 26, 2011
    Messages:
    92
    Location:
    under your bed
    Country:
    Germany
    anyone want to decrypt a file for me?
    i know nothing about this stuff...so if anyone wanna help, pm me :D
     
  7. Gercho San

    Newcomer Gercho San Newbie

    Joined:
    Mar 8, 2012
    Messages:
    1
    Country:
    Argentina
    the link is broken, and I need that program. Can you upload it again?
     
  8. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    18,751
    Country:
    United Kingdom
    It probably lacks the batch files but http://www.romhacking.net/utilities/659/ should be what you are after.

    I will have a poke around my machine to see if I have the original link though and edit this post later if I find it.
     
  9. karius

    Newcomer karius Newbie

    Joined:
    Jan 6, 2013
    Messages:
    1
    Country:
    Mexico
    Hi! i am a newbie with this things, can you explain how to run the "TextER"? I just open with double click (or as administrator) and a new window appear and closes. I tried to find info about how to use this tool but i cant find anything. How the TextER works? well i hope your answear, thanks.
     
  10. ben nahalewski

    Newcomer ben nahalewski Member

    Joined:
    Mar 17, 2013
    Messages:
    41
    Location:
    Lawndale, North Carolina
    Country:
    United States
    Do you still have the tools?
     
  11. ben nahalewski

    Newcomer ben nahalewski Member

    Joined:
    Mar 17, 2013
    Messages:
    41
    Location:
    Lawndale, North Carolina
    Country:
    United States
    does anyone know where in game text is located
     
  12. xairgeo

    Newcomer xairgeo Newbie

    Joined:
    Aug 29, 2014
    Messages:
    6
    Country:
    United States
    I'm also having problems with running TextER.exe, everytime i run the program a CMD window pops up and immediately closes. However i manage to get the program to stay open by typing [cmd.exe /k "C:\Users\UserName\Desktop\TextER.exe"] into Start>Run. Afterwards i typed TextER -e cardinfo_jpn.ehp -gim into the CMD window (cardinfo_jpn.ehp is the file i want to extract) and it tells me that "The file is marked read Only, or is used by another application or it doesn't exist". which of course isn't, can someone tell me what i'm doing wrong?
     
  13. ben nahalewski

    Newcomer ben nahalewski Member

    Joined:
    Mar 17, 2013
    Messages:
    41
    Location:
    Lawndale, North Carolina
    Country:
    United States
    Try this create a folder to hold your ehp files in called "TEXTER". Then open your folder
    ->when inside the folder hold SHIFT and right click to "open command window here"
    ->then type "texter -e FILENAME.ehp -gim" into cmd.
    make sure the file your wanting to extract from has TextER.exe inside the folder with it. The program will create a folder called GIM and sub-directories for each file.
     
  14. xairgeo

    Newcomer xairgeo Newbie

    Joined:
    Aug 29, 2014
    Messages:
    6
    Country:
    United States
    okay what i did was create a folder called TEXTER and moved cardinfo_jpn.ehp and TextER.exe into that folder. I hold shift and open command window here. Afterwards i typed in TextER -e cardinfo_jpn.ehp -gim into the command window and got this message: Sorry pal. No GIM files has been detected.

    Edit: nvm i was trying to find a way to extract the .bin file from .ehp not gim thanks anyways.
     
  15. ben nahalewski

    Newcomer ben nahalewski Member

    Joined:
    Mar 17, 2013
    Messages:
    41
    Location:
    Lawndale, North Carolina
    Country:
    United States
    I've found some are like that which yugioh game are you using
     
  16. ben nahalewski

    Newcomer ben nahalewski Member

    Joined:
    Mar 17, 2013
    Messages:
    41
    Location:
    Lawndale, North Carolina
    Country:
    United States
    I just tried that one as well and got the same message don't fret it may just not contain gim
     
  17. xairgeo

    Newcomer xairgeo Newbie

    Joined:
    Aug 29, 2014
    Messages:
    6
    Country:
    United States
    im using the latest Tag Force Arv V, let me know if you make any progress.
    Edit: from what i understand it should contain a bin file with all the Japanese text, i could be wrong.
     
  18. ben nahalewski

    Newcomer ben nahalewski Member

    Joined:
    Mar 17, 2013
    Messages:
    41
    Location:
    Lawndale, North Carolina
    Country:
    United States
    Yeah I havent found any tools for that. but will do
     
  19. xairgeo

    Newcomer xairgeo Newbie

    Joined:
    Aug 29, 2014
    Messages:
    6
    Country:
    United States
    Don't worry, omarrrion is working on the translation, so far all the cards are 100% translated he's just working on the story mode.
     
    ben nahalewski likes this.
  20. ben nahalewski

    Newcomer ben nahalewski Member

    Joined:
    Mar 17, 2013
    Messages:
    41
    Location:
    Lawndale, North Carolina
    Country:
    United States
    nice I've got this running on my vita my native language will be even better
     

Share This Page