[RELEASE]Metin2.SG & WoM2 .pyc Decompyler

07/24/2013 23:02 requeson2008#61
0724 16:30:10826 ::
D:\svn\branches\live\client\data\.obj\root\network Module.py(line:160) SetSelectCharacterPhase
D:\svn\branches\live\client\data\.obj\root\main.py (line:84) Import
D:\svn\branches\live\client\data\.obj\root\main.py (line:62) ProcessCodeObject
D:\svn\branches\live\client\data\.obj\root\introSe lect.py(line:19) ?
D:\svn\branches\live\client\data\.obj\root\main.py (line:84) Import
D:\svn\branches\live\client\data\.obj\root\main.py (line:62) ProcessCodeObject
D:\svn\branches\live\client\data\.obj\root\uiAffec tShower.py(line:9) ?
D:\svn\branches\live\client\data\.obj\root\main.py (line:83) Import

networkModule.SetSelectCharacterPhase - exceptions.ImportError:Bad magic

0724 16:30:10826 :: ================================================== ================================================== ========
0724 16:30:10826 :: Abort!!!!

Selection character error on wom client :(
07/24/2013 23:15 Laben#62
so can i crypto serverinfo.py with that ?
07/25/2013 01:43 Metin2.es#63
Quote:
Originally Posted by Laben View Post
so can i crypto serverinfo.py with that ?
PHP Code:
# Source Generated by .MaisKolben™-Decompyler
# File: serverinfo.pyc

import app
import locale
import debugInfo
app
.ServerName None
STATE_NONE 
'OFF'
STATE_DICT = {
    
0'NORM',
    
1'NORM',
    
2'BUSY',
    
3'FULL' }
SERVER01_CHANNEL_DICT = {
    
1: {
        
'key'11,
        
'name''CH1',
        
'ip''67.228.176.73',
        
'tcp_port'13000,
        
'udp_port'13000,
        
'state'STATE_NONE },
    
2: {
        
'key'12,
        
'name''CH2',
        
'ip''67.228.176.73',
        
'tcp_port'13010,
        
'udp_port'13010,
        
'state'STATE_NONE },
    
3: {
        
'key'13,
        
'name''CH3',
        
'ip''67.228.176.73',
        
'tcp_port'13020,
        
'udp_port'13020,
        
'state'STATE_NONE },
    
4: {
        
'key'14,
        
'name''CH4',
        
'ip''67.228.176.73',
        
'tcp_port'13030,
        
'udp_port'13030,
        
'state'STATE_NONE } }
REGION_NAME_DICT = {
    
0'Singapore' }
REGION_AUTH_SERVER_DICT = {
    
0: {
        
1: {
            
'ip''67.228.176.73',
            
'port'11000 } } }
REGION_DICT = {
    
0: {
        
1: {
            
'name''Singapore',
            
'channel'SERVER01_CHANNEL_DICT } } }
MARKADDR_DICT = {
    
10: {
        
'ip''67.228.176.73',
        
'tcp_port'13099,
        
'mark''10.tga',
        
'symbol_path''10' } }
TESTADDR = {
    
'ip''127.0.0.0',
    
'tcp_port'50000,
    
'udp_port'50000 
07/25/2013 02:50 Laben#64
Quote:
Originally Posted by Metin2.es View Post
PHP Code:
# Source Generated by .MaisKolben™-Decompyler
# File: serverinfo.pyc

import app
import locale
import debugInfo
app
.ServerName None
STATE_NONE 
'OFF'
STATE_DICT = {
    
0'NORM',
    
1'NORM',
    
2'BUSY',
    
3'FULL' }
SERVER01_CHANNEL_DICT = {
    
1: {
        
'key'11,
        
'name''CH1',
        
'ip''67.228.176.73',
        
'tcp_port'13000,
        
'udp_port'13000,
        
'state'STATE_NONE },
    
2: {
        
'key'12,
        
'name''CH2',
        
'ip''67.228.176.73',
        
'tcp_port'13010,
        
'udp_port'13010,
        
'state'STATE_NONE },
    
3: {
        
'key'13,
        
'name''CH3',
        
'ip''67.228.176.73',
        
'tcp_port'13020,
        
'udp_port'13020,
        
'state'STATE_NONE },
    
4: {
        
'key'14,
        
'name''CH4',
        
'ip''67.228.176.73',
        
'tcp_port'13030,
        
'udp_port'13030,
        
'state'STATE_NONE } }
REGION_NAME_DICT = {
    
0'Singapore' }
REGION_AUTH_SERVER_DICT = {
    
0: {
        
1: {
            
'ip''67.228.176.73',
            
'port'11000 } } }
REGION_DICT = {
    
0: {
        
1: {
            
'name''Singapore',
            
'channel'SERVER01_CHANNEL_DICT } } }
MARKADDR_DICT = {
    
10: {
        
'ip''67.228.176.73',
        
'tcp_port'13099,
        
'mark''10.tga',
        
'symbol_path''10' } }
TESTADDR = {
    
'ip''127.0.0.0',
    
'tcp_port'50000,
    
'udp_port'50000 
so what is this

really i having a hard time for understand this

i just have ask and learn but you just giving serverinfo.py really interesting
07/25/2013 11:41 sLay.#65
Metin2 SG & WoM2 are using compiled python files (not .py - they use .pyc) some people had problems to decompile such files from .pyc to .py ...
So for example if you're willed to modify the SG Client your weren't able to do this without decompile the .pyc files to .py and the other way around.

I hope you understand now ;-)
07/25/2013 20:33 Jakuz0#66
Mscorlib.dll missing
07/25/2013 21:16 ´LaLu`#67
ist der sg client auch typ 4 oder 5 gepackt ?
07/25/2013 21:49 Ocelot2606#68
Quote:
Originally Posted by ´LaLu` View Post
ist der sg client auch typ 4 oder 5 gepackt ?
jop
07/25/2013 21:53 ´LaLu`#69
ist hier ein entpacker zum entpacken ?
und welche daten sind alles typ 4 oder 5 gepackt
07/25/2013 21:59 Ocelot2606#70
Nein es ist kein Entpacker dafür public

Meistens sind die metin2_patch_xxx mit type 4 etc gepackt und die sg2011Q1 etc auch
07/25/2013 22:00 ´LaLu`#71
wie kann man sie entpacken sonst , es wahr doch mal ein pyhton entpacker plubic
07/25/2013 22:01 Ocelot2606#72
Der Python entpacker funktioniert aber ohne Modifikationen nicht mehr soweit ich das jetzt noch weiss ansonsten teste es aus
07/25/2013 22:03 ´LaLu`#73
aber der wom client ist doch auch sg standart der dürfte ja nicht mehr typ 4 gepackt sein oder ?
07/25/2013 22:07 Ocelot2606#74
Das weiss ich nicht den WOM Clienten nutze ich ned^^
07/26/2013 19:46 xP3NG3Rx#75
The decompiling is easy, just the magic was changed in the SG files.
You have to replace to the original Python2.2 magic.(The first four characters is the magic!)
>>> import imp
>>> print(str(len(imp.get_magic())))
4

Ehm, this tool able to decompile the npclist.pyc? Because the decompile-lib is not can decompile it.