You might be eventually interested by that piece of directx work of mine:
http://perso.orange.fr/franck.charlet/metalwork.zip
http://perso.orange.fr/franck.charlet/metalwork_src.zip
It requires latest directx update & a gfxcard handling pixel shaders 2.0.
The packer used for the job is a specialized one which sole purpose is to pack object files (it's a linker) like hell & generate very small executables (it's using context modelling as packing algorithm).
hitch,
It GP faults on my win2k sp4. Perhaps the graphics card is not up to scratch, its a 2 year old 128 meg Winfast.
It should be ok but it really does require d3dx9_30.dll which is found in the latest directx 9 update.
Btw, the source archive contains a masm32 directory with the include & lib files for the masm32 distribution.
Nice, considering the size :U
It didn't work on my w2ksp4 either, until I fetched that d3dx dll.
Worked fine here, Vista x64, Radeon 9600XT (WOW! The first time i sayed my video card instead of my processor...).
OK, downloaded the required DLL and it works fine, it showed two (2) effects, the first was a radial fan type of image with it fading on the right side, the second was a moving tunnel with light at the outer end. It ran then stopped and it was very difficult to shut it down. Repeated Ctrl+Alt+Del eventually got there.
The tunnel effect was very good and the EXE size is impressive. :U
No problems at all running on my WinXP SP2 system (AMD64, GeForce 6800GT). Watched it until I was satisfied, then pressed ESC to exit to desktop. Well done.
Very cool effect, nice demonstration.
Very nice, works fine on my pc too. Chapeau !
Quote
Very cool effect, nice demonstration.
There's 2 effects, the second one (a raycasted tunnel) will appear after a while.
I saw the 2 effects.
I don't know which is the best.
Very good.
Yeah, both effectS are very nice :U
nice effects
interesting calling methods with lots of pushs
makes me wonder if not single rep movsd from datasection to stack, would be even smaller and a cool solution even in normal dx programming to keep all data structured and reusable in structs
The effects were nice, but it wouldn't exit to the desktop - I had to force a reboot using the reset button. :tdown
But all in all, well done.
Quote
makes me wonder if not single rep movsd from datasection to stack, would be even smaller and a cool solution even in normal dx programming to keep all data structured and reusable in structs
Some calls are dependant on other calls results, i think it it would lower the compression ratio anyway.
Quote
The effects were nice, but it wouldn't exit to the desktop - I had to force a reboot using the reset button.
Did you try the escape key ? What is your config (windows/dx/gfxcard) ?
Hi hitchhikr,
I'm on Windows XP Home Edition, am using the latest DX (9.0c) and have got a PowerColor Radeon X1800XT, and yes, I did try the ESC-key without any result. Then I tried TABbing out of the window and also tried the WIN-key (the key with the Windows logo on it) and nothing happened. I eventually had to force a reboot, but fortunately, I had no important stuff running at the time so I lost nothing.
Yeah the window is a topmost one, maybe it's a drivers problem ? Do you have the latest ones installed ?
It's probably because i don't use exitprocess, but normally it works on the windows 2k or xp it was tested on, also it was tested on ati & nvidia gfxcards with success.