Old Proxomitron Forums
Other => Community Discussions (Non-Forum Related) => Topic started by: altosax on August 18, 2002, 12:48:36 PM
-
i'm playing these days with ultimate packer for executable:
http://upx.sourceforge.net/
and i've compressed proxomitron from its 332800 bytes to 168960 bytes.
the obtained file is auto-extracting and works fine as the original one.
this is just an experiment, and i intend to return to the unpacked one in the next days, but this could be a suggestion for scott to reduce the size of the distributed package. also, upx can compress the dll.
some huge exe also seems to take a lesser time to load, but i'm not so sure.
that's all,
if you are interested, try it yourself,
altosax.
-
quote:
some huge exe also seems to take a lesser time to load, but i'm not so sure.
I noticed that as well. The decompression into memory takes its time.
When i recieve a compressed exe, i try to unpack it before use (e.g. with "upx -d").
-
If you are just trying to load Proxo faster and you are running Win2K then just start it with high priority class from a batch file.
echo off
start /high Proxomitron.exe
Save this in your Proxo folder as StartPrx.cmd and create a shortcut to it.
Proxo will start faster and recieve priority cpu access.
Facing each other,
a thousand miles apart.
-
quote:
If you are just trying to load Proxo faster and you are running Win2K then just start it with high priority class from a batch file.
If you want to run programs under Win 9x/Me with a higher priority, here's a REGfile I created that will do the trick.
---------------------- begin cut ------------------------------
REGEDIT4
;; TWEAKS FOR BOOSTING CPU PRIORITY
;;
[HKEY_LOCAL_MACHINESystemCurrentControlSetServicesVxDBIOS]
"AGPConcur"=dword:00000001
"CPUPriority"=dword:00000002
"FastDRAM"=dword:00000001
"PCIConcur"=dword:00000001
;;
;; "CPUPriority" valid DWORD Decimal values:
;; 0 = The foreground (active) app/game is assigned exclusive CPU cycles
;; (real time priority). WARNING: USE WITH CAUTION!
;; 1 = All open apps/games (foreground and background) benefit from a lot
;; more CPU cycles than loaded Win32 TSRs/DLLs/Runtimes/APIs.
;; 2 = All open apps/games (foreground and background) benefit from a few
;; more CPU cycles than loaded Win32 TSRs/DLLs/Runtimes/APIs.
;; 3 = All apps/games/TSRs/DLLs/Runtimes/APIs share same CPU cycles
;; (default, same as "CPUPriority" absent from Registry).
[HKEY_LOCAL_MACHINESystemCurrentControlSetControlPriorityControl]
"IRQ8Priority"=dword:00000001
"Win32PrioritySeparation"=dword:00000001
;;
;; "Win32PrioritySeparation" valid DWORD Decimal values:
;; 0 = Foreground and background applications equally responsive.
;; 1 = Foreground application more responsive than background.
;; 2 = Best foreground application response time.
------------------------ end cut ------------------------------
Just cut and paste into Notepad (or whatever text editor you use) and save it with a .REG extension. This will help speed things up a bit. A word of caution, try not to get too carried away with the settings. There are two settings that have a range of values to choose from. The others are only Boolean values (either on or off). The defaults I have set will work wonders and not interefere in any way.
Enjoy!
>>>>>>> tHe gEEksteR
--------------------
"All warfare is based on deception.
...to fight and conquer in all your battles is not supreme excellence:
supreme excellence consists in breaking the enemy's resistance without fighting." --The Art of War