You can use your own compression algorithms, people tend to use the standard protocols to make it easier to recover the data without custom tools.
A simple LZ algorithm with a couple KB window can be quite effective on ASCII text files, would expect 2:1 ratio to be achievable relatively easily.
>>Is this possible to make zip file?
Software is like Lego, you can build whatever you're able.
.ZIP or .CAB files might be the easier to construct and recover. Phil Katz did describe his algorithms in a way most coders of the time could reconstruct. Mark Adler had code for the Deflate/Inflate algorithm.
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..