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

hack_ziro

Well-Known Member
OP
Newcomer
Joined
Feb 26, 2011
Messages
92
Trophies
0
Location
under your bed
XP
63
Country
Gambia, The
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
yaypsp.gif

any helpful information, how to extract/unpack these sort of files?
did someone maybe got a tool, that would do this for me?

thanks
rolleyes.gif
 
  • Like
Reactions: Margen67 and karius

Sinistral89

Well-Known Member
Member
Joined
Sep 12, 2009
Messages
238
Trophies
0
Age
34
Location
Sweden
XP
215
Country
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
wink.gif
.

.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.
 

Ris312

Well-Known Member
Newcomer
Joined
Mar 5, 2011
Messages
59
Trophies
0
XP
92
Country
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)
Z4ykw.png


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)
rDpcd.png


And here is one from database\charalist.ehp (GIM file #18)
F3DDk.png




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...
 
  • Like
Reactions: karius

hack_ziro

Well-Known Member
OP
Newcomer
Joined
Feb 26, 2011
Messages
92
Trophies
0
Location
under your bed
XP
63
Country
Gambia, The
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
frown.gif

ain't life a b****?
laugh.gif
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
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.
 

karius

New Member
Newbie
Joined
Jan 6, 2013
Messages
1
Trophies
0
Age
32
XP
51
Country
Mexico
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)
Z4ykw.png


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)
rDpcd.png


And here is one from database\charalist.ehp (GIM file #18)
F3DDk.png




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...
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.
 

ben nahalewski

Well-Known Member
Newcomer
Joined
Mar 17, 2013
Messages
51
Trophies
0
Age
34
Location
Lawndale, North Carolina
XP
281
Country
United States
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)
Z4ykw.png


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)
rDpcd.png


And here is one from database\charalist.ehp (GIM file #18)
F3DDk.png




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...

Do you still have the tools?
 

xairgeo

Member
Newcomer
Joined
Aug 29, 2014
Messages
6
Trophies
0
Age
33
XP
59
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?
 

ben nahalewski

Well-Known Member
Newcomer
Joined
Mar 17, 2013
Messages
51
Trophies
0
Age
34
Location
Lawndale, North Carolina
XP
281
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.
NO "" quotations
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.
 

xairgeo

Member
Newcomer
Joined
Aug 29, 2014
Messages
6
Trophies
0
Age
33
XP
59
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.
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.
 

xairgeo

Member
Newcomer
Joined
Aug 29, 2014
Messages
6
Trophies
0
Age
33
XP
59
Country
United States
I just tried that one as well and got the same message don't fret it may just not contain gim
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.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
    Karma177 @ Karma177: @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really...