Author Topic: Compressed Oxygen  (Read 378 times)

0 Members and 1 Guest are viewing this topic.

Charles Pegge

  • Author
  • *****
  • Posts: 3290
    • Oxygen Basic
Compressed Oxygen
« on: August 07, 2017, 06:39:37 AM »
oxygen.dll 140Kb :)

UPX is a utility for compressing binaries to a minimal size. They self-extract very efficiently at run-time, so I don't see any significant disadvantage in distributing oxygen.dll in this compacted form.

What do you think?

Mike Lobanovsky

  • Hero Member
  • *****
  • Posts: 1600
    • FBSL
Re: Compressed Oxygen
« Reply #1 on: August 07, 2017, 01:10:51 PM »
Hi Charles,

We've been using UPX --force --ultra-brute (the deepest compression among its 70+ intrinsic algos) for at least 15 recent years to compress the FBSL binaries (Fbsl.exe and Fbsl.dll) v2 and 3+, as well as most end user executables written in FBSL containing BASIC and/or Asm and/or C code, without a single fault attributable to UPX as reported either by the devs or our end users.

To the best of my knowledge, Eros has been using UPX as well to compress his binaries for at least as long as we did it and ever since I became aware of thinBasic, and to the exact same effect.

So, in my opinion UPX is faultless and very, very fast even in its deepest compression variations. Modern AV software is aware of UPX intrinsics and signatures, and thus it does not throw false alarms just on account of the executable having been exe-packed the way it usually does when dealing with other less popular and more cryptic executable packers, especially those that break the PE format. Just make sure to use the keys that leave the exe/dll resource section(s) with the manifest and version info resources uncompressed for the AVs to be able to detect their availability and consistence with the Windows PE format guidelines.
Mike
(3.4GHz Intel Core i5 Quad w/ 16GB RAM, 2 x nVidia GTX 650Ti w/ 2GB VRAM, Windows 7 Ultimate Sp1)

Charles Pegge

  • Author
  • *****
  • Posts: 3290
    • Oxygen Basic
Re: Compressed Oxygen
« Reply #2 on: August 08, 2017, 12:05:57 AM »
Thanks Mike.

Yes, I first noticed Oxygen's diminutive size in thinBasic's lib folder. I spend quite a lot of time squeezing out any redundancies in the source code but the size gradually creeps up.

Arnold

  • Sr. Member
  • ****
  • Posts: 469
Re: Compressed Oxygen
« Reply #3 on: August 08, 2017, 01:03:16 AM »
Hi Charles,

UPX is a nice application. The only problems are the AV scanners. When I downloaded your compressed oxygen.dll I get a MS warning with Win Vista and Win 10 something like this: "Oxygen.dll is not downloaded often and can damage the computer". This is annoying as Virustotal shows no warning at all and the compressed oxygen.dll runs very fine, but it could make some users nervous.

Maybe it is a different situation if a compressed oxygen.dll is included in a zip file. E.g. I had no problem to download a thinbasic zip file.

@Mike: it is nice to hear from you again. What happened with FBSL? I cannot find the homepage of FBSL any more and also not the FBSL forum.

Roland
« Last Edit: August 08, 2017, 07:58:32 AM by Arnold »

Aurel

  • Full Member
  • ***
  • Posts: 121
Re: Compressed Oxygen
« Reply #4 on: August 08, 2017, 07:51:56 AM »
Compressed files have a purpose only if you have a large
amount of resources like images,music, in your programs
but i hate compressed exes or dll.s
and in some cases they contain malware....