Information on porting Kratos from PS3 to PC / Impossible

Post Reply
User avatar
thethiny
Immortal
Posts: 2260
Joined: Fri Jan 17, 2014 12:08 pm
Side: Light
PSN: thethiny
XBox Live: thethiny
Location: Earthrealm
Contact:

Information on porting Kratos from PS3 to PC / Impossible

Post by thethiny »

Hi,
I've tried to port over Kratos from PS3 to PC, and after too many searches, I've concluded that it is almost impossible to do that. (It's not impossible, it's almost impossible).

Now, the way we can do this is simple in theory, but rather very long when performed. We need to rebuild the package from scratch, which is not very hard to do as all you have to do is add some imports, exports and names. And I've already did that in MKX, so no big deal. Anyways moving on, the impossible part comes from the files themselves, I took Kratos's PS3 package and extracted every single file from it using Gildor's Tools, I had to swap every 4 bytes together to swap their Endianness (01 02 03 04 becomes 04 03 02 01), but there's a catch, Strings MUST NOT BE SWAPPED! So If I have this file:
DF 92 38 20 4C 4F 4C 20 4E 4F 4F 42 D2 03 9D 23
it becomes
20 38 92 DF 4C 4F 4C 20 4E 4F 4F 42 23 9D 03 D2.
The part 4C 4F 4C 20 4E 4F 4F 42 wasn't changed.
There are over 20000 files within Kratos' files, and if I have to do this manually to every byte, where each file is a million bytes, I would finish in 419430400000 seconds, or 13300 years.

So unless someone is smart enough to write a tool that can automatically exclude Strings from random chunks of data, then they're free to do so.

tl;dr
Kratos to PC is not gonna happen.


Image

All of my Mortal Kombat 11 Mods are now unified under a Single Thread. Click The Image to go to the thread.
User avatar
xXSimoTheBestXx
Mortal
Posts: 69
Joined: Sat Oct 04, 2014 7:23 am
Side: Light
XBox Live: xXSimoTheBestXx

Re: Information on porting Kratos from PS3 to PC / Impossibl

Post by xXSimoTheBestXx »

Better start working now then!














just kidding.
User avatar
thethiny
Immortal
Posts: 2260
Joined: Fri Jan 17, 2014 12:08 pm
Side: Light
PSN: thethiny
XBox Live: thethiny
Location: Earthrealm
Contact:

Re: Information on porting Kratos from PS3 to PC / Impossibl

Post by thethiny »

I did start and I stopped halfway through the first file.
Image

All of my Mortal Kombat 11 Mods are now unified under a Single Thread. Click The Image to go to the thread.
User avatar
leebaldz5332
Apprentice
Posts: 90
Joined: Wed Oct 22, 2014 3:59 pm
Side: Light

Re: Information on porting Kratos from PS3 to PC / Impossibl

Post by leebaldz5332 »

Sorry I just saw this. There MIGHT be a way to do it. I'm using Linux and there's a way to replace strings like that. GEDIT or LEAFPAD text editor on any Linux distributions may do the trick. Can you send me those files through PM?
User avatar
xXSimoTheBestXx
Mortal
Posts: 69
Joined: Sat Oct 04, 2014 7:23 am
Side: Light
XBox Live: xXSimoTheBestXx

Re: Information on porting Kratos from PS3 to PC / Impossibl

Post by xXSimoTheBestXx »

leebaldz5332 wrote:Sorry I just saw this. There MIGHT be a way to do it. I'm using Linux and there's a way to replace strings like that. GEDIT or LEAFPAD text editor on any Linux distributions may do the trick. Can you send me those files through PM?
Here's everything you need.
http://www.mksecrets.net/forums/eng/dow ... hp?id=3813
http://www.mksecrets.net/forums/eng/dow ... hp?id=3812
User avatar
dcex
Mortal
Posts: 1
Joined: Thu Apr 20, 2023 1:29 am

Re: Information on porting Kratos from PS3 to PC / Impossible

Post by dcex »

So, the problem is that the PS3 is big endian while the PC is little endian, right?

Couldn't we use the PS Vita version instead? It is little endian.

What would be the problem? Low res models?
User avatar
MFS
Warrior
Posts: 171
Joined: Sun Jun 12, 2022 1:32 pm

Re: Information on porting Kratos from PS3 to PC / Impossible

Post by MFS »

The problem is PS3 files are encrypted and can be read only by PS3 consoles. Don't know anything about Vita though, but pretty sure situation there is the same.
Telegram: @mfskhaos
Post Reply

Return to “Mortal Kombat 9 PC Modding Tutorials and Discussions”