how to encode BIN files?

Results 1 to 7 of 7
  1. #1
    Member awerakz is offline
    MemberRank
    Oct 2013 Join Date
    71Posts

    how to encode BIN files?

    Is it possible to encode the bin files so QUICKBMS dont work?


  2. #2
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: how to encode BIN files?

    Code:
    # War Inc. Battle Zone (script 0.1.1)
    # script for QuickBMS http://quickbms.aluigi.org
    
    		getdstring SIGN 4
    		if SIGN != "arfl"
    			print "you must open only the first file, WZ_00.bin"
    			cleanexit
    		endif
    
    		get VER long
    		get DUMMY long
    		get FILES long
    		get SIZE long
    		get DUMMY long
    		savepos OFFSET
    		comtype unzip_dynamic
    		clog MEMORY_FILE OFFSET SIZE SIZE
    		comtype zlib
    
    		get PACK_EXT extension
    		get PACK_BASENAME basename
    		string PACK_BASENAME >>= "_"
    
    		math LAST_PACK = -1
    		for i = 0 < FILES
    			getdstring NAME 260 MEMORY_FILE
    			get TYPE byte MEMORY_FILE
    			get PACK byte MEMORY_FILE
    			get OFFSET long MEMORY_FILE
    			get SIZE long MEMORY_FILE
    			get ZSIZE long MEMORY_FILE
    			get CRC long MEMORY_FILE
    			getdstring DUMMY 0x12 MEMORY_FILE
    			math PACK += 1
    
    			if PACK != LAST_PACK
    				string PACK_NAME p= "%s_%02d.%s" PACK_BASENAME PACK PACK_EXT
    				open FDSE PACK_NAME 1
    				math LAST_PACK = PACK
    			endif
    			math OFFSET += 4    # arfd
    
    			if TYPE == 2
    				clog NAME OFFSET ZSIZE SIZE 1
    			elif TYPE == 1
    				log NAME OFFSET SIZE 1
    			else
    				print "unknown TYPE %TYPE%, contact me"
    				cleanexit
    			endif
    		next i

  3. #3
    Member awerakz is offline
    MemberRank
    Oct 2013 Join Date
    71Posts

    Re: how to encode BIN files?

    Yeah thats the script for quickbms but I want to BLOCK quickBMS like DeadZ, so other people cant unpack it...

  4. #4
    Sorcerer Supreme fpskiller is offline
    Member +Rank
    Oct 2013 Join Date
    englandLocation
    416Posts

    Re: how to encode BIN files?

    any bin can be unpacked if you make a script for the type of encodeing it is

  5. #5
    Member awerakz is offline
    MemberRank
    Oct 2013 Join Date
    71Posts

    Re: how to encode BIN files?

    There is no way to protect them? But DeadZ did it...

  6. #6
    Sorcerer Supreme fpskiller is offline
    Member +Rank
    Oct 2013 Join Date
    englandLocation
    416Posts

    Re: how to encode BIN files?

    nope they did not as there was someone who unpacked them last week but inless you know how to make a script for the type of encoded bins you will not unpack them so its not to easy to

  7. #7
    Grand Master javaz97 is offline
    Grand MasterRank
    May 2006 Join Date
    HellLocation
    1,537Posts

    Re: how to encode BIN files?

    i can unpack all server



Advertisement