New Compression Algorithm

Doubts, help and support about QuickBMS and other game research tools
talismansk
Posts: 3
Joined: Sun Apr 12, 2015 1:55 pm

New Compression Algorithm

Post by talismansk »

Guys i have a algorithm code to unpack a unusual file [Evp]... but now days it seem all... nah most of all have this code.. and i don't know how to protect my work.. is there anyone.. who can make adjustment in the coding so that it works like old same compression method but old code cant reverse that file made with new one by old code.

Code: Select all

# Sk online 
#   incomplete script, no support for compressed files!
# script for QuickBMS http://quickbms.aluigi.org

get DUMMY string
get NAMESZ long
getdstring NAME NAMESZ
get DUMMY long
get OFFSET long
get SIZE long
get FILES long
goto OFFSET

get NAMESZ long
getdstring NAME NAMESZ
get DUMMY long
get DUMMY long
get DUMMY long

for i = 0 < FILES
    get NAMESZ long
    getdstring NAME NAMESZ
    get OFFSET long
    get ZSIZE long
    get SIZE long
    get FLAG long
    get DUMMY long
    get DUMMY long
    getdstring DUMMY 0x10

    # flag 1 are ok
    # flag 6 files have 0x80 bytes obfuscated (I guess a simple algorithm)
    # the others are usually compressed with an unknown algorithm

    if ZSIZE == SIZE
        log NAME OFFSET SIZE
    else
        set EXT extension NAME
        strlen TMP EXT
        string NAME -= TMP
        string NAME -= 1
        string NAME += "_compressed_"
        string NAME += SIZE
        string NAME += "."
        string NAME += EXT
        log NAME OFFSET ZSIZE
        # unknown compression algorithm
        #clog NAME OFFSET ZSIZE SIZE
    endif
next i 



Thank you.... Pm.. waiting for you.. thanks alot
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: New Compression Algorithm

Post by aluigi »

That one is my work-in-progress script for TZ Online.
Do you have the compression algorithm?

The script is old so it's highly possible that now the compression is already embedded in quickbms but I don't have the archives to test, anyway the code is appreciated for my collection.

Regarding your question, you are limited by the format used by the game and how it's implemented by the game itself.
It means that if the game has a field (like a flag, for example FLAG equal to 6) that allows to obfuscate a part of the file, you can use it, but at the same time anyone can reverse engineer the file format and implement the obfuscation.
So, in short, doesn't exist a real way except if you modify also the executable of the game or use dll injection to modify some of its parts. But still it's something that can be reverse-engineered.
talismansk
Posts: 3
Joined: Sun Apr 12, 2015 1:55 pm

Re: New Compression Algorithm

Post by talismansk »

yea.. i can compress and decompress.... but i only want to protect my works.. i spend hours.. and someone copy and get better advantage than me.. it S##ks. i earn 0$ from tht but i payed a lot for host and the webpage.. now i stopped... more i work others get more and more... yea, im a noob... i dont want earnin.. i want others to like my game.. and my work.. i have 2 types of evp files... 1. can decompress with ur code... other u cant... yea.. editing dll a bit might work.. but.. idk... tnx anyways
no need.. no more codes.. 1. quickbms have revers feature.. but beta and there is a both way exe.. to convert :? i want a bit different one.. so to protect my work
talismansk
Posts: 3
Joined: Sun Apr 12, 2015 1:55 pm

Re: New Compression Algorithm

Post by talismansk »

Evp 2015-文件说明.rar
this is the evp exe file... thnx to u who made the code making.. and tht pic is with da other evp which works but protected thn bro... Tc!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: New Compression Algorithm

Post by aluigi »

Are you a modder or a developer of the Talisman mmorpg?
chrrox
Posts: 388
Joined: Thu Aug 07, 2014 10:28 pm

Re: New Compression Algorithm

Post by chrrox »

he is most likely someone who makes a private server.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: New Compression Algorithm

Post by aluigi »

marznz
Posts: 3
Joined: Fri Dec 02, 2016 10:59 am

Re: New Compression Algorithm

Post by marznz »

can you make algorithm code to pack all files in evp... tnx in advance