Click to See Complete Forum and Search --> : VB: The Matrix [Exe+Source]
Fox
Jun 18th, 2004, 07:18 AM
This is a matrix program I recently made, enojoy!
System needs
- DirectX 8.1 or higher
- Geforce2 MX or higher
Keys
- Right-click for options
- Use +/- to accelerate or break.
- Press F1/F2 to speed up or slow down the matrix.
- Hold shift and use Left-click to look around (experimental).
- Type any text and press Enter to make text appear in the matrix
- Note: Please restart the program after changing the "Fly through" option
Want it as screensaver?
- Run the program first and setup the matrix as you like it (right-click during play)
- Rename matrix.exe to matrix.scr
- Copy all 3 files to c:\windows\system32
- You can now choose it as a windows screensaver.
Download
- Get (0.2.9) Program (http://vbfx.yhoko.com/download/matrix.zip)
- Get (0.2.9) Source (http://vbfx.yhoko.com/download/matrix_source.zip)
Hope you like it!
- Web: http://vbfx.yhoko.com
- Mail: fox@yhoko.com
Electroman
Jun 18th, 2004, 08:10 AM
Nice, how come it goes behind everything else though :confused:
Arie
Jun 18th, 2004, 09:34 AM
Originally posted by Electroman
Nice, how come it goes behind everything else though :confused:
Yeah, very interesting.. how it's only on the desktop??
Very Cool!!!! :thumb: :thumb: :thumb:
Arie.
D-Lyrium
Jun 18th, 2004, 09:40 AM
That is so completely badass....
It would be even better if you could get it behind desktop icons too, but even so, it rocks ;)
Fox
Jun 18th, 2004, 10:51 AM
Well I started making a desktop replacement but in the middle I changed my mind and continued making the matrix. That's why it goes behind everything. Unfortunately you can't put it behind the icons.
duc
Jun 18th, 2004, 05:04 PM
Dude thats amazing. Nice job on it. How long did that take you to do?
Fox
Jun 19th, 2004, 07:53 AM
About 2 hours.. As mentioned before it was supposed to become a desktop replacement but I soon recognized the matrix-style in it and then changed my plans.
RealisticGraphics
Jun 26th, 2004, 08:30 AM
Absolutely awesome!
Arc
Jun 28th, 2004, 12:09 PM
Pretty cool indeed. Is there anyway you could make it so the desktop icons still show up?
Pc_Madness
Jun 28th, 2004, 09:34 PM
Whoa that is brillant! :eek:
Today Fox is a god. :yay:
I guess you can't make it not take up 100% CPU usage? (thats just a directx thing though isn't it? :dunno: ) And a pity about the ads in it, otherwise I might have kept it as a wallpaper. :(
cyborg
Jun 29th, 2004, 06:22 AM
Wow!
Fox
Jun 30th, 2004, 03:14 AM
- It takes 100% CPU because of the loop. This was fixed in 0.2.0
- There's no way to get it behind the icons
- You can deactivate the ads in the menu (0.2.0)
Electroman
Jun 30th, 2004, 11:55 AM
What ads are you talking about? I don't remember seeing any :confused:.
Fox
Jun 30th, 2004, 02:02 PM
When starting some ad-texts appear. You may have a sooner version that doesn't contain the ads but also doesn't support some new features (smooth color changing, keyboard-input, optimized textures, etc.)
Pc_Madness
Jun 30th, 2004, 08:44 PM
I had one appear after the program was running for a while as well. :(
Fox
Jul 1st, 2004, 10:14 AM
I just uploaded a new version (download from first posting in this thread). Changes in this version:
- New option to deactivate the ads (menu)
- New option to deactivate 'stay in background'
- It doesn't take up 100% CPU time anymore
- Try entering some text followed by <enter>
And @electroman: Why did you change the subject to 'C++' ? This was written in VB6.
Electroman
Jul 1st, 2004, 10:18 AM
Posted by Fox
And @electroman: Why did you change the subject to 'C++' ? This was written in VB6. Ow it was just a guess, I noticed you'd missed it off and I guessed C++ cos you seem to have been using C++ in your recent questions, soz.
Electroman
Jul 1st, 2004, 10:34 AM
I just sent it to a mate and it gives him a Subscript out of range error :confused:. Any ideas how this is happening for him? He is using his laptop so maybe the graphics card isn't that good, I wouldn't think that would give a Subscript out of range though? What you think?
Fox
Jul 1st, 2004, 01:04 PM
It needs a 3d accelerated gfx card and enough memory for the 16-bit depth buffer.
Well the error message should say what function's wrong, can you ask him for details plz? And I'd need to know when the error happened, eg. after running it a long time?
Electroman
Jul 1st, 2004, 02:24 PM
When he runs it the background goes black then a error message apears saying:
Error in cdevice.settexture
subscript out of range
Fox
Jul 1st, 2004, 02:38 PM
Then it must be the graphic card... can't do anything on that.
cyborg
Jul 1st, 2004, 10:21 PM
Why not make a stereo-3d render mode?
Fox
Jul 2nd, 2004, 02:13 AM
Coz I don't own one of these cool glasses :P
cyborg
Jul 2nd, 2004, 12:46 PM
That's too bad! It is awesome with stereo-3d!
You could make a red-blue/red-green stereo-3d, and just make your own glasses.
Have you ever tried stereo-3d?
Fox
Jul 2nd, 2004, 07:08 PM
Nope. I'll try it as soon as you don't need to wear glasses any longer ^^' since I'm wearing normal glasses already.
KingArthur
Jul 3rd, 2004, 10:45 AM
/Me stares with his mouth open for 3 minutes before he notices that the webcam with his girlfriend on the other end is still running.
It's the very best EXE animation I ever saw. any chance you'll make it a screenserver? pleeeeeeeaaaaaaaaaaase?
Completly :eek2: Awsome
cyborg
Jul 3rd, 2004, 01:16 PM
You don't need to wear glasses, but then you'll need a special monitor (www.dti3d.com).
Once I made a starfield (like the screensaver) in stereo-3d and it was awesome! It would be really cool in your program cuz it is already awesome!
Fox
Jul 3rd, 2004, 09:11 PM
For those with the "error in setTexture" problem: Did you extract the texture into the same directory before running? This is a way to cause this error.
Erm screensaver, why not... here you go (still don't forget the texture). To make it work as a screensaver you need to:
- download ver 0.2.2 from above and extract to a new folder
- run it and set up the matrix as you wish
- activate 'screen saver mode' from the settings menu and exit
- rename matrix.exe to matrix.scr
- copy all 3 files (not the folder) to your c:\windows\ folder directly
Enjoy ^^'
Pc_Madness
Jul 3rd, 2004, 10:13 PM
Ok, those of us with Duel screens, can you save us at all. Only appears on 1 monitor.? :(
Secondly are you doing checks for multiple instances? As I think it can really bugger it up when you do preview in the Display Properties (once its already running in the background), since it jumps straight to the background when you view it, rather than previewing in the little preview window thingie. *doh*
ice_531
Jul 3rd, 2004, 10:26 PM
0wnt. :) :thumb:
Wondering how you could impliment this into a background of a program and would it take up as much resources lol
id love to have the steel look chars. as moving bkground on an app :rolleyes:
Fox
Jul 4th, 2004, 06:24 PM
Thanks for the tip, checking for multis is now implemented (0.2.3).
Since I have no dualscreen I have no idea how to fix this problem. Basically the program takes Screen.Width and Height...
And no, there's no plugin or so ^^'
Fox
Jul 9th, 2004, 05:24 AM
Another small update (0.2.4), the cursor will hide now in screen saver mode and there's a new option to select the number of "leaders" (white letters falling down). Enjoy.
Fox
Jul 25th, 2004, 10:20 AM
Upgrade! The final version 0.2.5 now even supports "horizontal falling chars" to come along with part 2 and 3 of the movie. There was also a little bugfix that caused the letters to move up when they were falling too fast. Source is updated, too.¨
Latest screenshot:
- Reloaded (http://res.yhoko.com/temp/matrix3.jpg)
Tekken
Aug 14th, 2004, 05:46 PM
I have an idea for how you might be able to make it a background replacement. Have the program change the bg color of the screen to a solid color (preferably a rare one) then tell dx to replace all of that color with the program. Not entirely sure how you'd do it, but thats how its done for winamp's milkdrop (they use an offblack I think...)
Fox
Aug 19th, 2004, 01:30 AM
Very good idea!
I'll check out this tutorial (http://www.angelcode.com/dev/overlay/overlaydemo_src.zip) to see how it works.
Hm not that easy to translate this into VB...
Fox
Sep 4th, 2004, 08:11 AM
I'm still looking for a overlay surfaces demo..
Well in the meantime I optimized the whole thing a little. There's no more flickering when "stay in background" is active because I removed subclassing.
Updated source, too.
Fox
Nov 19th, 2004, 02:36 AM
Updated soruce to 0.2.8. I added a new feature "Random movement" (disabled by default). Only recommended when "flying through". It makes the camera bouncing and rotating randomly like seen once in the movies.
VBfang
Feb 17th, 2005, 02:33 PM
Is the source atachment the source for version 2.8 or 2.5? Because it still says 2.5
P.S. regardless, it is quite possably the coolest *.exe i have seen in a long time. :thumb:
Jacob123
Mar 11th, 2005, 01:46 PM
Amazing
wossname
Mar 12th, 2005, 09:43 AM
Not bad.
Not bad at all.
Very not bad in fact :D
drjombei
Mar 26th, 2005, 03:14 PM
Hey man this is sweet! I did try to set it as my screen saver as directed and when my screen saver is coming up I get this error:
Error in cDevice.Initialize
Automation Error
I cannot seem to figure out what the heck it is talking about... Any ideas?
Fox
Mar 29th, 2005, 12:39 PM
Looks like it cannot initialize DirectX for drawing. Didn't face that problem yet, for me it works fine.
Does it work when you try the 'test screensaver' button from windows?
drjombei
Mar 30th, 2005, 08:31 PM
Yeah it previews just fine... I forgot to add after myfirst post that after the initial error I click 'ok' and get the following error:
DirectX error: D3DERR_DRIVERINTERNALERROR
Is this something that I would need to fix on my end?
Fox
Apr 2nd, 2005, 01:31 PM
Hm no idea, really. When it works by doubleclicking it should also work as a screensaver. Coz that's nothing more than a program started by windows. But the error message gives you a internal driver error - maybe your computer is shutting down devices on screensaver activation? Eg. hard drives, screen or graphics card?
drjombei
Apr 4th, 2005, 11:56 AM
Ah well... I will just start pokin' around on my machine and if I happen to come across the problem I will certainly let you know just in case anyone else has the problem.
Fox
Apr 5th, 2005, 11:02 PM
That's be nice, thanks.
VipeR801
Apr 13th, 2005, 07:41 AM
Works great on my computer (ATI 9600 pro), very very nice job.
Porsche944
May 30th, 2005, 06:00 PM
Simply amazing. Here is an idea how to get the desktop to appear. Take all the files located on the desktop and create icons on your program that will show up above the animation in sence the windows desktop is behind the anamation but you have taken all the links from the desktop and recreated a little sprite that you can click on with the mouse that will run the correct shortcut on the windows desktop.
Fox
Sep 8th, 2005, 08:51 AM
Changed URL and updated latest source (no changes though)
Remember that VBfx is now located on http://fox.yhoko.com
NoteMe
Sep 9th, 2005, 10:09 AM
I have totaly forgotten to rate this project. It is absolutely ratable. Keep it up Fox.
- ØØ -
[edit]Hehe..I rated the wrong post in the wrong thread..but you get the message..:D
- ØØ -
Fox
Sep 9th, 2005, 06:47 PM
*lol* Thanks anyways ;-)
Actually I stopped working on it ages ago, but I took my experiences out of it. That is, creating a Matrix in any environment for example.
If some of you played the Hack-game Yhoko presented... stay tuned for HackV2 - we're doing it together and it will have some Matrix inside (first released screenshot (http://res.yhoko.com/temp/hv3.jpg))
NoteMe
Sep 13th, 2005, 05:10 AM
Looking sweat, but the letters are very pixelized...hmm..but sweet..have to admitt that...
- ØØ -
Fox
Sep 13th, 2005, 01:29 PM
You won't notice the pixels while it's animated ;-) Besides, I prefer those nice pixels instead of smooth-a-lot unreadable chars... The matrix is build upon my DXText engine, thus running without texture filter (otherwise you couldn't read most of the texts).
Here's another impression (http://res.yhoko.com/temp/hv4.jpg)
Edit: Woah, new avatar? o.O
NoteMe
Sep 13th, 2005, 01:42 PM
Yeah I am a changed person...no longer a mod here either..:;)
The screen shot looks nice. Looking forward to see the finished product. BTW did you know her from before? Or is this the first time you are talking togheter?
- ØØ -
Fox
Sep 13th, 2005, 03:52 PM
I see... welcome to the users guild then ;-)
Ya, she's my g/f ... not *sigh* - but we're sharing the same place
NoteMe
Sep 13th, 2005, 04:02 PM
Jammy git...:)
Well good luck on the project. Looking forward to see the finished product.
See you around.
- ØØ -
Fox
Sep 13th, 2005, 04:15 PM
Thanks, me too *hehe* It's yet only playing around with DX and stuff, we're not yet sure how the game will be. But since people did not find together in HackV1 (some played over network but not many) I guess we'll set up a server and have it running like massive multiplayer games. But aah you'll see ;-)
Hiroshi
Oct 1st, 2005, 02:21 PM
how do you rename it to matrix.scr
when i tried it it didnt work
i theres the matrix config, tex, and Matrix
when i rename it it changes to say Matrix.scr right on the icon
i dont know like how to change the type
Hiroshi
Oct 1st, 2005, 02:30 PM
in other words it won't show up in my screensaver window
Fox
Oct 3rd, 2005, 01:16 PM
For your own sake.. Activate "show file extensions" in your explorer settings.
MarcoNovaro
Jan 20th, 2006, 03:59 AM
Hey! This screensaver is Amazing!!
Really, it's one of the best Matrix screensavers I've ever seen, even compared to "commercial" versions.
Congratulations. :D
Nonetheless: I've got the same problem as drjombei: the screensaver runs fine as an exe, but when launched as a screensaver, I got the error:
DirectX error: D3DERR_DRIVERINTERNALERROR
...any idea on this?
:wave:
Fox
Jan 23rd, 2006, 12:12 PM
Unfortunately I did not yet happen to see the problem on my computers... But people seem not to have any problems with my other screensavers (which use Yhoko's YDK), please try one of them and tell me if you get into the same problem:
http://res.yhoko.com/starfield.zip
http://res.yhoko.com/snow.zip
MarcoNovaro
Jan 24th, 2006, 03:22 AM
Ok, I downloaded both of them and tried.
Both gives me the following error when starting (either as a screen saver or renamed as .exe):
"d3derr_invalidcall"
and then the following one:
"Directx: video device not available! (S_OK) The application will now exit"
The matrix screensaver instead works as an exe (and works also in the preview window of Windows), but gives the error when starting as a screensaver (i.e. when the configured "timeout" expires).
Thanks for the reply.
:wave:
NoteMe
Jan 24th, 2006, 07:29 AM
What GPU do you have, and what version of DX?
MarcoNovaro
Jan 24th, 2006, 07:35 AM
I have a Celeron processor, 1.4GHz
I downloaded the Dx version 9.0.
NoteMe
Jan 24th, 2006, 07:46 AM
GPU, not CPU....graphics card...;)
MarcoNovaro
Jan 24th, 2006, 07:57 AM
Sorry... :bigyello:
My graphics card is this one:
Mobile Intel® 915GM/GMS, 910GML Express Chipset Family
NoteMe
Jan 24th, 2006, 08:11 AM
I am not going to check out the code, since I am in Solaris right now, but make sure it doesn't try to use too low resolution like 640*480. Laptops seldom like that...
and other thing, try to download the latest drivers for your GPU:
http://downloadfinder.intel.com/scripts-df-external/Product_Filter.aspx?ProductID=1862
in theory you should be able to use DX9, not with all kinds of shaders though. So it depends if he is using any shaders.
Ohhh and congratulations on a GPU that can barely walk..:D
MarcoNovaro
Jan 24th, 2006, 09:08 AM
Ohhh and congratulations on a GPU that can barely walk..:D
:( :mad:
Fox
Feb 1st, 2006, 02:51 AM
Intel Cards with shared memory can be really annoying... I heard the latest YDK versions do support them (using software vertex processing and/or software renderer) but it's really weird that you can run it as .exe and not as .scr - basically there's no difference between them.
I shall announce it when I happen to stumble upon a solution.
JQuinn
Feb 16th, 2006, 04:05 PM
Microsoft AntiSpyware seems to think the Matrix file is a trojan when you set it to the same extension as a screensaver (matrix.scr). Question is... why? :ehh:
sevenhalo
Feb 16th, 2006, 04:14 PM
Microsoft anti-virus thinks Symantec is a trojan also (http://www.theregister.co.uk/2006/02/14/ms_anti-spyware_false_positive/)
I wouldn't over think it. It sounds like the anti-virus software has been having some problems.
Fox
Feb 19th, 2006, 10:24 AM
It probably doesn't like the renaming from executable to screensaver.. as screensavers are often used in virus mails. *shrugs*
thelocaluk
Feb 21st, 2006, 12:02 PM
Is it possible in a future update to have user input text repeat as part of the screen saver??
Fox
Feb 22nd, 2006, 03:58 PM
The source is avaible, you can add a dumb Timer that creates the text in intervals...
ganeshmoorthy
Apr 5th, 2006, 03:15 AM
Hi, its really amazing and wonderful, what else no words to define it...really simply superb....nice job...
MrGTI
Apr 21st, 2006, 02:41 PM
Error in cDevice.Initialize
Automation Error
I get the same error when i try to run the EXE on a Dell machine with a built in "Intel 82815 Graphics Controller".
However it does run fine on other machines.
Fox
Apr 22nd, 2006, 10:40 AM
As mentioned before there are several problems with Intel controllers that use shared video memory... Think of the matrix needing a 'real' 3d-accelerated graphics card. I don't think this will be solved in the near future, sorry :(
arf_shl
Apr 28th, 2006, 11:28 AM
:thumb: :thumb: :thumb:
Great job Man BRAVO BRAVO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
lord_cedrich
May 10th, 2006, 09:53 AM
Very nice excwllwnt work
Kal_Torak
May 14th, 2006, 06:52 PM
lmao @ wossy
Fox
Mar 28th, 2007, 05:47 PM
Finally!
Finally I had the time to take care about the screensaver problem (the Matrix didn't start when used as screensaver). The problem was mostly Windows, because it started the app minimized (only any only when it's automatically run as a screensaver - in preview mode or when starting the exe/scr manually everything worked fine). The solution was rather dirty but it works fine: A timer that waits a short period of time before initializing DirectX and stuff.
Download attached to this post or see first posting. Explanations and help in the first posting, too.
Fox
cptHotkeys
Jul 6th, 2007, 11:26 PM
Verry good, its a shame its just images not real random text thaugh, it would be good to see this with no dependancies, not that one image is an issue, it would just be a nice touch to something already nice.
K-PRO
Jul 8th, 2007, 05:47 AM
why dont u compile the project and make a package using the vb6 package and deployment wizard so it copies the refrences used automatically
zip it n attach it
thanx
Jim Davis
Sep 27th, 2007, 06:20 PM
awesome job, and idea.. i like it so much :)
Ive found a little improvement. Youve forgot to remove the meshes that behind the cam. So you can see only a few of them, but not all, because theses arent two sided meshes..
so.. just place a line at the sub Animate(), right after the If .Active line. Like this:
If .Active Then
If .Y > Camera.GetY Then ResetGroup A
So if the cam is fly thru a line, then its going to behind the cam, its just reset the line. So you get a 30-50% improvement on the gfx, because you can always see the lines.
Anyway. thanks for sharing this superb code, i love it!
:thumb:
K-PRO
Sep 29th, 2007, 05:39 PM
can u include the source code for the latest version plz
thanx
Underworld1020
Oct 10th, 2007, 02:48 PM
Great program.:)
Jabber
Jun 22nd, 2008, 02:39 PM
Good job
This is awesome
feneck
Aug 21st, 2008, 03:28 AM
Wow, this is really awesome. I'm using it as a screensaver on my server, lol
What would be even cooler tho, is that if you continued to develop it and add new things... just an idea
alihan1988
Oct 31st, 2008, 04:17 PM
Amazing, verry good. Thanks
break4seduction
Dec 17th, 2008, 08:22 PM
is there any chance of getting this source??
i would love to add horizontal lines with different (multi choice) texts.
Fox
Dec 21st, 2008, 04:30 PM
Of course, I just fixed the download links.
See the first message in this thread.
Krato
Nov 25th, 2009, 04:14 AM
Can someone translate to .Net ?
I've try but get 40 errors, jejej
Thanks
minitech
May 29th, 2010, 08:54 PM
I think you can get it behind the icons using the SetParent API, I saw that once online. I can't find it though.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.