News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: .cat files in Act.img  (Read 9520 times)

0 Members and 1 Guest are viewing this topic.

Offline xXxNarumi

  • Apprehended (Captured)
  • Hero Member
  • ****
  • Posts: 2,641
  • Gender: Male
  • xNarumi wont be missed.
    • View Profile
Re: .cat files in Act.img
« Reply #15 on: January 05, 2013, 04:46:22 AM »
Nope
Amateur means new, noob, low lv, getting started, etc
Pro means good, expert, highly skilled, etc

Offline Evolution

  • Elitist
  • *********
  • Posts: 13,574
  • Gender: Male
    • View Profile
Re: .cat files in Act.img
« Reply #16 on: January 05, 2013, 08:31:31 AM »
Nope
Amateur means new, noob, low lv, getting started, etc
Pro means good, expert, highly skilled, etc

What you said is true, but you can still be an awesome Amateur.

Like 4 example, in Porn there can be an amateur pornstar who is awesome at her job. :P

Offline xXxNarumi

  • Apprehended (Captured)
  • Hero Member
  • ****
  • Posts: 2,641
  • Gender: Male
  • xNarumi wont be missed.
    • View Profile
Re: .cat files in Act.img
« Reply #17 on: January 05, 2013, 09:48:34 AM »
If were gonna bring up porn we can bring that back the
[SICK/18+] RapeLay thread

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: .cat files in Act.img
« Reply #18 on: January 05, 2013, 11:06:33 AM »
Nope
Amateur means new, noob, low lv, getting started, etc
Pro means good, expert, highly skilled, etc

What you said is true, but you can still be an awesome Amateur.

Like 4 example, in Porn there can be an amateur pornstar who is awesome at her job. :p

Amateur is usually used as a insult to some people and personally it doesn't bother me.

It simply means that  the person is not formally trained and does not get paid as a professional to do the work. I have seen professionals that actually suck balls at the chosen profession they do ....like graphics professionals that use photoshop for example....I have been told by many people that I would far outstrip most so called professionals with my own skill and knowledge alone with just that program even tho I have NEVER been formally trained in its use...I am entirely all self taught....am self taught in almost everything I do know...including programming. That technically makes ME a amateur and not a professional.

xNarumi......what I would do is reword what you said to say that it is simply a nightmare for those that are not experienced enough...and just leave it that way since it could be taken in the wrong context  8)

Offline Scoff

  • Jr. Member
  • **
  • Posts: 13
  • Gender: Male
  • ...........
    • View Profile
Re: .cat files in Act.img
« Reply #19 on: January 05, 2013, 11:09:50 AM »
I found a program on google.It says that he can open .cat files.He is called ''FileViewPro''.I will check it out.

Edit:Forget it.That crap doesn't work.I will look another methods.
« Last Edit: January 05, 2013, 11:18:59 AM by .RaDiO.? »

Offline xXxNarumi

  • Apprehended (Captured)
  • Hero Member
  • ****
  • Posts: 2,641
  • Gender: Male
  • xNarumi wont be missed.
    • View Profile
Re: .cat files in Act.img
« Reply #20 on: January 05, 2013, 11:43:57 AM »
Yea ik i dont call people amateurs at all
when someone a beginner I just simply say new, newjack, freshblood, newbie ,etc

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: .cat files in Act.img
« Reply #21 on: January 05, 2013, 01:16:53 PM »
I found a program on google.It says that he can open .cat files.He is called ''FileViewPro''.I will check it out.

Edit:Forget it.That crap doesn't work.I will look another methods.

The .cat files are compiled. There's no decompiler for these things unless we write it ourselves.

Offline Jordanator599

  • "Don't you usually laugh at that? Yes. Yes I do. Aheeheeheehee..."
  • Jr. Member
  • **
  • Posts: 7
  • Gender: Male
  • Greetings.
    • View Profile
Re: .cat files in Act.img
« Reply #22 on: January 05, 2013, 05:10:02 PM »
Can changing the strafe be done in HxD Hex Editor? I've opened the Locomotion.cat file and found a strafe line, but I'm not sure what to do with it.

Offline Red Blaster

  • The BB Arab
  • More Than Halfway There
  • *****
  • Posts: 5,649
  • Gender: Male
  • Hi
    • View Profile
Re: .cat files in Act.img
« Reply #23 on: January 05, 2013, 06:58:31 PM »
Not unless you want to risk fucking up the .cat file.

Offline Evolution

  • Elitist
  • *********
  • Posts: 13,574
  • Gender: Male
    • View Profile
Re: .cat files in Act.img
« Reply #24 on: January 05, 2013, 10:09:26 PM »
^ I'm guessing reinstalling isn't an option to fix it if you were to fuck up on the .cat files?... Or am I wrong?

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: .cat files in Act.img
« Reply #25 on: January 06, 2013, 12:41:58 AM »
Just to let everyone in here know...Red knows this btw.

The .cat files are actually archives similar to the .img files. Only they use a small layer of encryption and rather then compress the contents...the .cat files act like simple container files.

Their contents are simple:

folders listing, and config files in each folder sharing the same name. The folder and config files are for each move or moves for the fighting style or animations in question. There is also a index file that references all the rest of the files in that .cat archive...loads all of them and also references from a master .cat file. There is a binary file that deals with the strafe animation and maybe one or two more binary files....not fully sure there since I am going off what my contact told me and what I was able to find out by brute forcing the file to see what is really inside.

I was able to partially extract one file but what I got was not usable so I know they can be extracted....but even I am not skilled enough at reverse engineering a file format like this...its a tough one.

One of my modding team-mates asked for help regarding this format over at the xenetax forums but it was ignored totally so.....its gonna be hard finding someone that can really help with cracking this.


Offline Nixon

  • Newbie
  • *
  • Posts: 0
    • View Profile
Re: .cat files in Act.img
« Reply #26 on: March 25, 2013, 07:07:15 PM »
Only they use a small layer of encryption and rather then compress the contents...the .cat files act like simple container files.
What are the possibilities of getting the key from the .exe as it triggers an animation? Using a debugger like Ollydbg

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: .cat files in Act.img
« Reply #27 on: March 29, 2013, 04:26:58 PM »
I don't know.

The encryption actually is more like a encoding rather then a true cypher....They are just basicly container files but using a debugger like Ollydbg might shed some light on the format of the file in question and give clues to coming up with a extraction method...as well as a method to build new .cat archives. This is the main reason why fighting styles are so limited......once we can figure out how to extract those files....we can customize the fighting styles to a degree that will make it possible to make brand new styles just by combining parts of the already existing styles....including redoing jimmy's style totally....

If enough people posted requests about this over at xenetax forums......I would imagine the coders there will look into it....since they only seem to tackle popular games rather then games hardly anyone plays.

Offline Nixon

  • Newbie
  • *
  • Posts: 0
    • View Profile
Re: .cat files in Act.img
« Reply #28 on: April 03, 2013, 01:18:48 PM »
...

I opened some .cat files in a hex editor and converted the hexadecimal to word sized unsigned numbers. This example is from "Act.img>Ambient.cat", which is one of the larger files in the folder, 50KB, most are about 2KB. I believe that is because it defines alot of generic animations, as you can see at the end of the file, where, as always, there is a list that names the separate animations from the mess above.
I am not sure of the format, but the pattern goes something like this: A, 0, B, 0, 1 or 2, A+n, 0, B+-?,
not sure. Unsigned words may not be the correct format, it could be signed bytes or even signed words. Whatever makes the pattern look most sensible.

At line A470, the pattern goes away as the file turns to text strings.
The number of three consecutive 0's is closely related to the number of names in the file. It either marks the beginning of an animation. X,Y,Z at default. Or acts as a separator between animations, because it does not occur before the first coord or after the last one.

I decided to attach the example as .txt
"numbers.txt" is in unsigned, word sized numbers.
"strings.txt" is in strings.
Both are the same file.

Offline MadmaN

  • Bully-Board Admin Team
  • Newbie
  • *
  • Posts: 0
  • Gender: Male
  • Biblio-Techa Mods (retired)
    • View Profile
Re: .cat files in Act.img
« Reply #29 on: April 07, 2013, 05:05:10 PM »
Glad to see someone else also helping out with this.

I came to the exact same conclusions myself about a month back but like I just mentioned to Red via xfire....I decided to keep that part very quiet just incase I was completely wrong...but seeing someone else come up with the same conclusions as I have.....that means that we just might be able to crack this since this will really open up a lot of doors for modding bully.

I will check the files you posted and get back to you on some things since we may be onto something here.

btw.....good work!  :biggrin: