Jump to content

[HELP] understanding MakePack


Recommended Posts

I am here to learn and understand the functions of the soft MakePack
And try to make a little guide on this one
I now put the thing I already know
 
Usage:
MakePack.exe --createiv <filename>
MakePack.exe --openiv <filename>
MakePack.exe --extract <packname> <IV filename> // Iv File With Panama
MakePack.exe --extract <packname>
 
ex. decryptor:
MakePack.exe --extract pack/packName > MakePack_Extract.txt // no iv file (no panama crypt)
MakePack.exe --extract pack/packName  packName .iv > MakePack_Extract.txt
 
I am looking for a good way to put it simply: D
To encrypt but pack
 
Of small python script found on pastebin
import os
with open('PackName.txt', 'w') as x:
    try:
        x.write('FolderName "pack"{n'+'n')
        x.write('Group PackList'+'n{n')
        for f in os.listdir(os.getcwd()):
            if os.path.isdir(f):
                fileName, fileExtension = os.path.splitext(f)
                x.write('tGroup '+fileName+'n')
                x.write('t{'+'n')
                x.write('ttPathNamet"'+fileName+'/*"'+'n')
                x.write('ttFixedtTRUE'+'n')
                x.write('t}'+'n')
           
        x.write('}n')
    finally:
        x.close()
PACK_NAME = "PackName"


import os
with open('Metin2PackMaker' +PACK_NAME.title() +'.txt' , 'w') as fp:
     fp.write('nFolderName "pack"n')
     fp.write('nPackName "'+PACK_NAME+'"n')
     fp.write('List ExcludedFolderNameListn{ntt".exe n}n')
     fp.write('List FileListn{n')
     for root, directories, files in os.walk("d:"):
          for filename in files:
               
              filepath = os.path.join(root, filename)
              fp.write('"'+filepath+'"n') 
     lenstr = len(os.getcwd())
     for root, directories, files in os.walk(os.getcwd()):
         for filename in files:
              filepath = os.path.join(root, filename)
              fp.write('"'+filepath[lenstr+1:] +'"n')    
     fp.write('}')
     fp.close()

and a script that I improved and structured

PACK = "PackName"

import os
with open(PACK.title() +'.txt' , 'w') as fp:
	fp.write('FolderName "pack"n')
	fp.write('PackName "'+PACK+'"nn')
	fp.write('List ExcludedFolderNameListn{nt"Folder_Excluded"n}nn')
	fp.write('List FileListn{nt')
	for root, directories, files in os.walk('PackName'):
		for filename in files:
			filepath = os.path.join(root, filename)
			fp.write('"'+filepath+'"nt')
	fp.write('}')
	fp.close()

Change PackName by yours

 

I think that is soft and has a lot of potential we can unlock :)

Link to comment
Share on other sites

  • Replies 11
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 months later...
  • Former Staff

did you manged to compile it with VS2013 ?? i got only this idiot error

'../../extern/libreducio.lib' was created with an older compiler than other objects; rebuild old objects and libraries

the reducio.lib was created by older compiler i can't include it (i know that i can compile it with 2008) but my client src and server are compiled with 2013 so i can't

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.