KELFBinder 2

PS2 KELFBinder 2 v1.1.1

Maybe you could take my kelftool, decrypt it, and re-encrypt the generated ELF as fmcb or dnasload KELF...

This is exactly what I did to make it work. I tried many times to install dvd updates via kelfbinder, sometimes i got an error red screen, changing procedure i noticed that the update was installed (maybe only renaming or reencrypting the elf, i don't remember) however even copying attached files to the right folder the dvd fails to start and i got back to osd in a loop. Then I understood that the starting elf was encypted so I thought that decrypting an reencypting in dnasload mode would work and that way it definitely works, the dvd starts in rgb mode (not green). Maybe we can talk to krhacken to have a repack or we could do by ourself, maybe we can include also the dvdplayer updates in an archive (remember that many files are redundant such as dvdplayer.elf itself)... At this time we have only this working method (choose package, decrypt, encrypt-dnasload, install via kelfbinder, copy attached files via uLaunchELF), it is enough for me to not use a pendrive and windows command line, to have a console side install method, but in the next months maybe your KelfBinder could become the standard to apply dvdplayer updates including a proper lua script and a folder containing every non redundant file by dvdplayer package by krhacken, and a user friendly selection on kelfbinder side of model/device/version/progressive/region/language. Each memory card dvdplayer.elf needs to be processed via kelftool. However what do we have to do with PS2 USB DVDPlayers and PSX DVDPlayers? Are they also encrypted? Do they need to be processed via kelftool dnasload?
 
My question is not entirely about KELFBinder 2, but only about one of its capabilities:
Is MagicGate test (only MagicGate test) available as a separate application/binary?
My search for any MagicGate test utility for PS2 ended right here; I couldn't find anything else anywhere.
 
My question is not entirely about KELFBinder 2, but only about one of its capabilities:
Is MagicGate test (only MagicGate test) available as a separate application/binary?
My search for any MagicGate test utility for PS2 ended right here; I couldn't find anything else anywhere.
It could be coded as a separate program, yes.

Why you want it as a separate program?
 
I'm used to one task - one utility. And the full KELFbinder is an updates binder and installer, one might say a multitool.
Checking memory cards for MagicGate is a separate task.
 
I'm used to one task - one utility. And the full KELFbinder is an updates binder and installer, one might say a multitool.
Checking memory cards for MagicGate is a separate task.
I'm not maintaining two programs...

However, since kelfbinder is based on Enceladus, and most of the program behavior is implemented as an external script, you can modify it so program starts straight to memory card prompt then test magicgate.

And don't show the main menĂş.
 
VS Dnasload KELF

Code:
header.UserDefined = 01 00 00 04 00 06 00 4A 00 0E 01 00 00 00 00 02
header.ContentSize = 0X69A04
header.HeaderSize = 0X80
header.SystemType = 0 (SYSTEM_TYPE_PS2)
header.ApplicationType = 1 (xosdmain)
header.Flags = 0X22C - kelf:HDR_FLAG2|HDR_FLAG3|HDR_FLAG4_3DES|HDR_FLAG9|
header.BitCount = 0
header.MGZones = 0XFF |All regions allowed|
header.gap = 00 00 00
HeaderSignature = 88 09 04 6C E0 E2 70 B3

Kbit = D9 4A 2E 56 01 6E A7 31 00 00 00 00 00 00 00 00
Kc = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BitTableSize = 0X28
bitTable.HeaderSize = 0X80
bitTable.BlockCount = 2
bitTable.gap = 00 00 00
Size Signature Flags
bitTable.Blocks[0] = 000699F4 0000000000000000 0 (not encrypted, not signed)
bitTable.Blocks[1] = 00000010 44E39D1E31993959 3 (encrypted and signed)
BitTableSignature = 9D 7C 8B A5 1F 68 72 21
What command (arguments) you used to get file with such 'decrypt' information?

I got my decrypted ELF by decrypting the original file (from the one archive in the Internets, MD5: f9fc7cae2799d5e45e0b6106848f2282).
The information I get when decrypt original file looks absolutely identical to what you show in your post.
Next I try to encrypt this decrypted file. For this I use the V2 utility (its arguments mention dnasload):
Code:
kelftool.exe encrypt dnasload decrypted.elf encrypted.elf
When decrypting this encrypted file which I received, I get a different infirmation than the one you show:
Code:
header.UserDefined  = 01 00 00 04 00 02 00 4A 00 08 01 00 00 00 00 1B (FHDB)
header.ContentSize  = 0X69A04
header.HeaderSize  = 0X80
header.SystemType  = 0 (SYSTEM_TYPE_PS2)
header.ApplicationType = 1 (xosdmain)
header.Flags  = 0X22C - kelf:HDR_FLAG2|HDR_FLAG3|HDR_FLAG4_3DES|HDR_FLAG9|
header.BitCount  = 0
header.MGZones  = 0XFF |All regions allowed|
header.gap  = 00 00 00
HeaderSignature  = 92 64 3B 25 32 FE 61 CD

Kbit  = 40 E9 80 4D 2E 92 B0 A8 00 00 00 00 00 00 00 00
Kc  = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BitTableSize  = 0X28
bitTable.HeaderSize  = 0X80
bitTable.BlockCount  = 2
bitTable.gap  = 00 00 00
  Size  Signature  Flags
  bitTable.Blocks[0] = 000699F4  0000000000000000  0 (not encrypted, not signed)
  bitTable.Blocks[1] = 00000010  44E39D1E31993959  3 (encrypted and signed)
BitTableSignature  = BF CC 7D BE C5 AC 30 81
Then I had nothing to do, I tried all the possible arguments and also V1 tool. Also nothing similar.
 
On nightly release that landed today: ompilation fixed on SDK and faster installation table calculation

Please test, since SDK toolchains were upgraded and I'm not sure if they changed anything...
 
  • Like
Reactions: TnA
I tried the latest versions, but none of them worked. Got a blackscreen when launched
Only the version that added MagicGate test worked
 
Test stages using encrypted binaries with Single DES encryption began.

Sony made Single DES for KIRX, krHACKen said it can reduce boot times a bit. if it does and all common PS2s dont have issues with it. all the encrypted binaries will be moved to single DES.


Code:
$ ./kelftool.exe decrypt SYSTEM.XLF a.o
header.UserDefined     = 01 00 00 04 00 06 00 4A 00 0E 01 00 00 00 00 02 (DNASLOAD)
header.ContentSize     = 0X14E58
header.HeaderSize      = 0X80
header.SystemType      = 0 (SYSTEM_TYPE_PS2)
header.ApplicationType = 0X1 (xosdmain)
header.Flags           = 0X21C  - kirx:HDR_FLAG2|HDR_FLAG3|HDR_FLAG4_1DES|HDR_FLAG9|
header.BitCount        = 0
header.MGZones         = 0XFF  |All regions allowed|
header.gap             = 00 00 00
HeaderSignature        = C9 9C CD 35 C4 8F CD E9
Kbit                   = 24 25 1D 05 D1 5E 2D 7D 94 3F 4A 30 3F 28 24 DB
Kc                     = 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
BitTableSize           = 0X28
    bitTable.HeaderSize    = 0X80
bitTable.BlockCount    = 2
bitTable.gap           = 00 00 00
                         Size        Signature           Flags
    bitTable.Blocks[0] = 00014E48    0000000000000000    00000000 (not encrypted, not signed)
    bitTable.Blocks[1] = 00000010    003BEB0B63B32769    00000003 (encrypted and signed)
BitTableSignature      = 66 21 D6 C3 AE E5 CF E9

Test file to use on KELFBinder (Latest PS2BBL)
 
KELFBinder 2 allows users to install system updates and DVDPlayer updates into a memory card. it can also test the update binding capabilities of a card without even writing a single byte to the card.
as well as installing a bootloader to the HDD.

this program is easily adaptable to other projects.
The stock update will be PS2BBL.

More information will be added soon!
Hello.
I keep reading how great this is and all the stuff it can do. I just want to install it on my PSX DESR-7000 and bring back PS1 compatibility as Mechapwn killed it. There's not 1 tutorial on YouTube for the DESR and I've searched all through google there are no tutorials. Can someone please explain how to install on the PSX and where to get the files for that specific console please.
Any help would be much appreciated.
 

Similar threads

Back
Top