[RELEASE]Metin2.SG & WoM2 .pyc Decompyler

07/24/2013 19:37 .MaisKolben™#46
Quote:
Originally Posted by MrFrancisc View Post
Artikel entfernen schnell, brauchen Sie nicht zu realisieren, Sie Hacks Förderer.

Google translate sorry.
Tipp: This have nothing to do with hacking, it's only a decompyler and all software you can get for free in the internet :).

And stop to write with google translator, this is creepy shit and not german.

Kind regards
07/24/2013 19:43 Zetsu WoC™#47
metin2 is death now :| ... you can see source, make a lot of stupid servers... rippers...
07/24/2013 19:43 meca4h4#48
Why don't see costume and pets and costume window ? [Only registered and activated users can see links. Click Here To Register...]

syser:

Quote:
0724 19:36:10709 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/buff/buff_item1.mse) Error
0724 19:36:10709 :: CInstanceBase::RegisterEffect(eEftType=269, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/etc/buff/buff_item1.mse, isCache=1) - Error
0724 19:36:10710 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/buff/buff_item2.mse) Error
0724 19:36:10710 :: CInstanceBase::RegisterEffect(eEftType=270, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/etc/buff/buff_item2.mse, isCache=1) - Error
0724 19:36:10713 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/buff/buff_item4.mse) Error
0724 19:36:10713 :: CInstanceBase::RegisterEffect(eEftType=272, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/etc/buff/buff_item4.mse, isCache=1) - Error
0724 19:36:17372 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted.
0724 19:36:18322 :: CPythonPlayer::SetItemData(dwSlotIndex=27, itemIndex=469) - Failed to item data

0724 19:36:18322 :: CPythonPlayer::SetItemData(dwSlotIndex=22, itemIndex=164400) - Failed to item data

0724 19:36:18322 :: CPythonPlayer::SetItemData(dwSlotIndex=54, itemIndex=71130) - Failed to item data

0724 19:36:33088 :: CRaceManager::RegisterRacePath : RACE[34001] LOAD MSMFILE[d:/ymir work/npc2/phoenix1/phoenix1.msm] ERROR. Will Find Another Path.
0724 19:36:33088 :: CRaceManager::RegisterRacePath : RACE[34001] LOAD MSMFILE[d:/ymir work/npc/phoenix1/phoenix1.msm] ERROR. Will Find Another Path.
0724 19:36:33088 :: CRaceManager::RegisterRacePath : RACE[34001] LOAD MSMFILE[d:/ymir work/monster/phoenix1/phoenix1.msm] ERROR. Will Find Another Path.
0724 19:36:33089 :: CRaceManager::RegisterRacePath : RACE[34001] LOAD MSMFILE[d:/ymir work/monster2/phoenix1/phoenix1.msm] ERROR. Will Find Another Path.
0724 19:36:33089 :: CRaceManager::RegisterRacePath : RACE[34001] LOAD MSMFILE[d:/ymir work/guild/phoenix1/phoenix1.msm] ERROR
0724 19:36:33089 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 34001
0724 19:36:33089 :: CPythonCharacterManager::CreateInstance VID[46707] Race[34001]
0724 19:37:10707 :: CRaceManager::RegisterRacePath : RACE[34002] LOAD MSMFILE[d:/ymir work/npc2/reindeer_young/reindeer_young1.msm] ERROR. Will Find Another Path.
0724 19:37:10707 :: CRaceManager::RegisterRacePath : RACE[34002] LOAD MSMFILE[d:/ymir work/npc/reindeer_young/reindeer_young1.msm] ERROR. Will Find Another Path.
0724 19:37:10708 :: CRaceManager::RegisterRacePath : RACE[34002] LOAD MSMFILE[d:/ymir work/monster/reindeer_young/reindeer_young1.msm] ERROR. Will Find Another Path.
0724 19:37:10708 :: CRaceManager::RegisterRacePath : RACE[34002] LOAD MSMFILE[d:/ymir work/monster2/reindeer_young/reindeer_young1.msm] ERROR. Will Find Another Path.
0724 19:37:10708 :: CRaceManager::RegisterRacePath : RACE[34002] LOAD MSMFILE[d:/ymir work/guild/reindeer_young/reindeer_young1.msm] ERROR
0724 19:37:10708 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 34002
0724 19:37:10708 :: CPythonCharacterManager::CreateInstance VID[46715] Race[34002]
0724 19:37:11499 :: CRaceManager::RegisterRacePath : RACE[34003] LOAD MSMFILE[d:/ymir work/npc2/phoenix2/phoenix2.msm] ERROR. Will Find Another Path.
0724 19:37:11500 :: CRaceManager::RegisterRacePath : RACE[34003] LOAD MSMFILE[d:/ymir work/npc/phoenix2/phoenix2.msm] ERROR. Will Find Another Path.
0724 19:37:11500 :: CRaceManager::RegisterRacePath : RACE[34003] LOAD MSMFILE[d:/ymir work/monster/phoenix2/phoenix2.msm] ERROR. Will Find Another Path.
0724 19:37:11500 :: CRaceManager::RegisterRacePath : RACE[34003] LOAD MSMFILE[d:/ymir work/monster2/phoenix2/phoenix2.msm] ERROR. Will Find Another Path.
0724 19:37:11501 :: CRaceManager::RegisterRacePath : RACE[34003] LOAD MSMFILE[d:/ymir work/guild/phoenix2/phoenix2.msm] ERROR
0724 19:37:11501 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 34003
0724 19:37:11501 :: CPythonCharacterManager::CreateInstance VID[46716] Race[34003]
0724 19:37:49746 :: CRaceManager::RegisterRacePath : RACE[34002] LOAD MSMFILE[d:/ymir work/npc2/reindeer_young/reindeer_young1.msm] ERROR. Will Find Another Path.
0724 19:37:49746 :: CRaceManager::RegisterRacePath : RACE[34002] LOAD MSMFILE[d:/ymir work/npc/reindeer_young/reindeer_young1.msm] ERROR. Will Find Another Path.
0724 19:37:49747 :: CRaceManager::RegisterRacePath : RACE[34002] LOAD MSMFILE[d:/ymir work/monster/reindeer_young/reindeer_young1.msm] ERROR. Will Find Another Path.
0724 19:37:49747 :: CRaceManager::RegisterRacePath : RACE[34002] LOAD MSMFILE[d:/ymir work/monster2/reindeer_young/reindeer_young1.msm] ERROR. Will Find Another Path.
0724 19:37:49747 :: CRaceManager::RegisterRacePath : RACE[34002] LOAD MSMFILE[d:/ymir work/guild/reindeer_young/reindeer_young1.msm] ERROR
0724 19:37:49747 :: CRaceManager::GetRaceDataPointer: cannot load data by dwRaceIndex 34002
0724 19:37:49747 :: CPythonCharacterManager::CreateInstance VID[46725] Race[34002]
07/24/2013 19:47 ´LaLu`#49
the new patches is type 4-5 packet
07/24/2013 19:47 requeson2008#50
the decompyler dont work for me :( win32 no valid
07/24/2013 19:51 -TÜRK-#51
Tipp:

Also people can make own crypted .pyc files.

Just change patch bytes in patch2tec2:

Replace="54"
Replace="45"
Replace="43"
Replace="32"

Like This:

Replace="F0"
Replace="64"
Replace="A0"
Replace="01"

You can improve your client sources with pyc & this byte patcher.

Note: Thanks for patcher & bytes. ^^
07/24/2013 20:18 .MaisKolben™#52
Quote:
Originally Posted by -TÜRK- View Post
Tipp:

Also people can make own crypted .pyc files.

Just change patch bytes in patch2tec2:

Replace="54"
Replace="45"
Replace="43"
Replace="32"

Like This:

Replace="F0"
Replace="64"
Replace="A0"
Replace="01"

You can improve your client sources with pyc & this byte patcher.

Note: Thanks for patcher & bytes. ^^
pls, but that's not all.
The client is checking the bytes, and if you change them you cant use the files ;). You have to edit some other files with the check system.

Kind regards
07/24/2013 20:37 -TÜRK-#53
Ah I forgot that. Thanks for remember:

def Import(*args, **kwargs):
name = str(args[0])
if name in sys.modules:
return sys.modules[name]

data = pack.Get(name + '.pyc')
if data != None:
if data[:4] != imp.get_magic():
raise ImportError, 'Bad magic'

module = ProcessCodeObject(marshal.loads(data[8:]), name)
module.__dict__['execfile'] = execfile
return module
else:
return old_import(*args, **args)

import __builtin__
__builtin__.__import__ = Import

Are you said that? :)

TEC2 = 4
07/24/2013 20:43 .MaisKolben™#54
Quote:
Originally Posted by -TÜRK- View Post
Ah I forgot that. Thanks for remember:

def Import(*args, **kwargs):
name = str(args[0])
if name in sys.modules:
return sys.modules[name]

data = pack.Get(name + '.pyc')
if data != None:
if data[:4] != imp.get_magic():
raise ImportError, 'Bad magic'

module = ProcessCodeObject(marshal.loads(data[8:]), name)
module.__dict__['execfile'] = execfile
return module
else:
return old_import(*args, **args)

import __builtin__
__builtin__.__import__ = Import

Are you said that? :)

TEC2 = 4
Right that's what i mean. :)
If you want i can add this later into the Thread.

Kind regards
07/24/2013 20:50 -TÜRK-#55
Quote:
Originally Posted by .MaisKolben™ View Post
Right that's what i mean. :)
If you want i can add this later into the Thread.

Kind regards
I think can be good for everybody.

Just I want to ask:

Can this decompiler, can decompyle other .pyc file extensions? (python 2.2)
07/24/2013 21:37 .MaisKolben™#56
Yes, only the magic number you have to change to other versions.

Kind regards
07/24/2013 22:01 -TÜRK-#57
Quote:
Originally Posted by .MaisKolben™ View Post
Yes, only the magic number you have to change to other versions.

Kind regards
Nice job & I love you :awesome:
07/24/2013 22:20 iÝoshii36#58
Nett von dir ;)
07/24/2013 22:22 ´LaLu`#59
kennst jemand ein typ 4-5 entpacker und kann ihn mir senden für den sg client
07/24/2013 22:54 Corvis™#60
Quote:
Originally Posted by .MaisKolben™ View Post
Hallo Epvp-Community der Metin2 Sektion,

da ich in letzter Zeit mitbekommen habe,
dass der Decompyler den ich erstellt habe für die .pyc Dateien des Metin2.sg Clients für teures Geld verkauft wird,
werde ich diesen hier mit allen nötigen Tools releasen.

Ich weiß das es nicht viel Arbeit war,
nur gibt es in dieser Sektion einfach Leute die ihren Kopf nicht anstrengen können um sowas selbst hinzubekommen.

Das Release beinhaltet den Decompyler,
einen Patcher um die Magic Number zu ändern um die .pyc Dateien decompylen zu können oder wieder im Clienten verwenden zu können und einen Compyler dementsprechend zum compylen.

Um Fehler und Probleme zu vermeiden, installiert bitte vorher Python2.2 auf eurem PC.
Achtet darauf, dass der Pfad zum Decompyler keine Leerfelder beinhaltet!

Anleitung:

Die Tools sind im Anhang.
Das Passwort zum entpacken der Archive lautet: distance2

Bei Problemen oder Anregungen reicht einfach ein Beitrag hier im Thread, spammt bitte nicht mein Postfach voll!

Credits gehen natürlich an die Ersteller bzw, sind diese auch in den Programmen gekennzeichnet. Der Patcher stammt übrigens aus der Shaiya Sektion von einer Person dessen Namen ich leider nicht mehr kenne.

Virustotal:
Tools: [Only registered and activated users can see links. Click Here To Register...]
DLLs: [Only registered and activated users can see links. Click Here To Register...]

Mit freundlichen Grüßen
.MaisKolben™
Thx Danke!