The MASM Forum Archive 2004 to 2012

General Forums => The Laboratory => Topic started by: hitchhikr on February 23, 2007, 12:34:33 PM

Title: Metalwork
Post by: hitchhikr on February 23, 2007, 12:34:33 PM
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).
Title: Re: Metalwork
Post by: hutch-- on February 23, 2007, 01:40:33 PM
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.
Title: Re: Metalwork
Post by: hitchhikr on February 23, 2007, 01:41:31 PM
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.
Title: Re: Metalwork
Post by: u on February 23, 2007, 06:01:33 PM
Nice, considering the size  :U
It didn't work on my w2ksp4 either, until I fetched that d3dx dll.
Title: Re: Metalwork
Post by: EduardoS on February 24, 2007, 12:13:29 AM
Worked fine here, Vista x64, Radeon 9600XT (WOW! The first time i sayed my video card instead of my processor...).
Title: Re: Metalwork
Post by: hutch-- on February 24, 2007, 01:19:00 AM
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
Title: Re: Metalwork
Post by: Wistrik on February 24, 2007, 04:21:50 AM
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.
Title: Re: Metalwork
Post by: Siekmanski on February 24, 2007, 10:19:34 AM
Very cool effect, nice demonstration.
Title: Re: Metalwork
Post by: Grincheux on February 25, 2007, 09:29:53 PM
Very nice, works fine on my pc too. Chapeau !
Title: Re: Metalwork
Post by: hitchhikr on February 25, 2007, 10:26:24 PM
Quote
Very cool effect, nice demonstration.

There's 2 effects, the second one (a raycasted tunnel) will appear after a while.
Title: Re: Metalwork
Post by: Grincheux on February 25, 2007, 10:38:39 PM
I saw the 2 effects.

I don't know which is the best.

Very good.
Title: Re: Metalwork
Post by: Siekmanski on February 26, 2007, 08:38:53 AM
Yeah, both effectS are very nice   :U
Title: Re: Metalwork
Post by: daydreamer on March 04, 2007, 12:15:33 PM
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
Title: Re: Metalwork
Post by: Seb on March 06, 2007, 04:56:20 PM
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.
Title: Re: Metalwork
Post by: hitchhikr on March 06, 2007, 06:11:56 PM
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) ?
Title: Re: Metalwork
Post by: Seb on March 06, 2007, 08:21:23 PM
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.
Title: Re: Metalwork
Post by: hitchhikr on March 06, 2007, 09:40:35 PM
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.