123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|498|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> Advanced Degaussing Simulator

Page : 1 2 Next
Prev
Tue, 12 May 2020, 14:36
spinal
Why isn't there a degauss simulator? I miss that.

|edit| Now available at http://spinalcode.co.uk/2020/05/18/monitor-menu/

I also added a bunch of other monitor settings that we used to have in the old days.

-=-=-
Check out my excellent homepage!
Tue, 12 May 2020, 14:36
Jayenkai
Sounds like a challenge.
I *think* you might be able to screenshot the screen using BMax? Not something I've attempted for a long long time, though.
Hmmm...

-=-=-
''Load, Next List!''
Wed, 13 May 2020, 02:48
spinal
It would have to make that cool thunnnnngggg noise also

-=-=-
Check out my excellent homepage!
Wed, 13 May 2020, 04:26
Jayenkai
Certainly would be fun to play around with swirly moire-style patterns.

... But I've got WAY too much to do, today.
I'll let you tackle it!

(Attempted to figure out how to grab image using BlitzMax.. Didn't go well!!)

-=-=-
''Load, Next List!''
Wed, 13 May 2020, 09:19
spinal
found b3d functions to do it, but I'm at a loss with the .decls information. From what I figure, "something.decls" goes into C:\Program Files (x86)\Blitz3D\userlibs
but what do I call "something.decls" ? and what info do I put in it?

https://mojolabs.nz/codearcs.php?code=2682

edit - that's a no-go. it seems that the blitz window doesn't open if I have kernel32.decls or user32.decls in the userlibs folder...
edit2 - same with b+

-=-=-
Check out my excellent homepage!
Wed, 13 May 2020, 15:30
Dan
From what i have read, these functions make only a screenshots of the running app/game.

for the decls:

gdi32.decls needs following entries :


Kernel32.decls


and

user32.decls


If you allready have the decls in the userlibs folder, then you can skip the (for e.g.) .lib "user32.dll" line and copy the rest into the file (at the end)

Else, open a notepad, and copy the content of the boxes and save them in the userlibs folder.

You do not need to name it user32.decls, you can name it as userblabla.decls, but, the thing is, that you need to have one command per userlib.

for example if you have user32.decls and userblabla.decls, and they both start with the '.lib "user32.dll" ' then only one of them may contain the "ReleaseDC%(hWnd%,hDC%)" command.
If you have them in both, the ide may crash. It will tell you that a duplicate identifier is found in the userlibs and close.

But, it is allowed to have



in the same file. They both do the same thing.

EDIT: Something is not right with the decls from the codearchive post ! they are all missing the after : part.
I have copied the values from my decls.files.

EDIT2: Looks like the after : part is not needed, if the function name is the same as defined in the dll .
Thu, 14 May 2020, 03:48
spinal
OK, first, thanks to Dan for the help
I've been able to find some code to grab the desktop buffer, but it weirdly only does part of the screen, even though I set it for full screen. So Ill keep looking but at least I'm getting somewhere!

Forget some of that. Turns out having not done blitz for a while made me forget a lot, hadn't noticed the image size was different.

Current copy+paste progress -

1. Borderless full screen window ☑
2. Screengrab of desktop ☑
3. ???
4. Profit

-=-=-
Check out my excellent homepage!
Thu, 14 May 2020, 04:56
spinal
hmm, cant run the test_01.exe, it says fmod.dll not found...

-=-=-
Check out my excellent homepage!
Thu, 14 May 2020, 04:59
Dan
Sound !


View on YouTube

or

starting at 2:59

View on YouTube
Thu, 14 May 2020, 05:04
spinal
First test....
Including source (if you can call it that )
2020/20/degauss_01_alpha (.zip)

rotateimage is s-l-o-w

|edit| how on earth do you get rid of that console window?

|edit| Switching to 3D, that flag example seems useful when mixed with what I have so far...


I've 90% done it! It looks amazing!
Only needs 2 things -

1. Get rid of that horrible console windows from blitz
2. Those magnety coloured lines

-=-=-
Check out my excellent homepage!
Thu, 14 May 2020, 11:09
spinal
Go on! give it a try

2020/20/Degauss_emulator_alpha_01 (.zip)

Maybe it needs a nice horrible monitor menu gui....

....Wow, a monitor emulator, with moving and rotating and stuff!...

-=-=-
Check out my excellent homepage!
Thu, 14 May 2020, 12:39
Jayenkai


LOL.. Yeah, it works, but the console is most definitely in the way!
Especially on mine, where I've set my console to open practically fullscreen!

-=-=-
''Load, Next List!''
Thu, 14 May 2020, 13:36
spinal
Anyone know how to stop it opening?
Thu, 14 May 2020, 14:59
Jayenkai
I've never attempted to. I've made tons of image compilers and the like that all flash up giant command prompts, and have kinda gotten used to it!
If there's a way, sure would be handy!!

-=-=-
''Load, Next List!''
Thu, 14 May 2020, 15:07
Dan
Hmm strange, you must have a modified blitz3d version, mine does not show the console.
iv compiled the sourcecode version: 2020/20/degauss_01_alpha (.7z)
Thu, 14 May 2020, 23:28
spinal
I'm using the free opensource version, perhaps an earlier paid version doesn't force the command window?
Also, I can't quite figure out the size restrictions for 3d textures/objects. If I set the texture size to match the desktop resolution, the image comes out squished at roughly 2:1 ratio... If I set the size to the closest power of 2, which I seem to remember being a general rule with 3d textures, I then have to resize the image to match, which results in a slightly blurry image.

|edit| I found a version on "somewhere else" that someone uploaded, 1.64 with 1.107 update. So that version is older than the opensource version that I had. They were having totally different problems, but this build seems to work and doesn't have the console window. I'd post a link, but not sure how Jay would feel about it as that version might be from before it was free so it might technically by piracy.

-=-=-
Check out my excellent homepage!
Fri, 15 May 2020, 05:08
Dan
Practically seen, they have released all versions as free. If the blitzbasic site were still up and running, you could even download the "older" versions if you had an registered account.
I did that with the blitz plus. (but it was the same for blitz 3d and blitzmax)

Sure a newest version is needed to ensure the running on the newer systems and with, maybe, fewer bugs, but some extensions run better with older versions.
(or require certain blitzbasic version to run on)

Edit. I have seen, for example the winvice gtk starting the console window at the beginning. Then someone managed to remove it.
I have no experience in 'c++', but i guess that the bb compiler creates a console version of the app, (or has been compiled as a console version, instead of gui) and because of it, the console appear with compiled exe's. (my guess, after reading few pages on the web)
Fri, 15 May 2020, 05:17
Jayenkai
It depends on where the link's going.

If the link is to a decent source, go ahead.
If the link is to one of those godawful, ad-filled, "Looks like a pirate, acts like a pirate" sites, that give you 700 adverts with "Download Now!" buttons, and a teensy tiny teeny weeny little hidden link that gives you the REAL download..
.. Then, no, I'd rather not have shite like that being linked from here!!

-=-=-
''Load, Next List!''
Fri, 15 May 2020, 06:15
spinal
For anyone wanting this exact version, which apparently fixes other issues other than the console loading up when not needed) you can get it from - https://www.syntaxbomb.com/index.php?topic=3888.0

-=-=-
Check out my excellent homepage!
Fri, 15 May 2020, 14:22
Dan
Thanks.
Mon, 18 May 2020, 05:20
spinal
First post edited with download, also added 'prank mode' just run "monitor_emulator.exe prank" and it will degauss then exit. stick it on a timer or something

-=-=-
Check out my excellent homepage!
Mon, 18 May 2020, 06:38
Jayenkai
Awesome stuff

Although, maybe add the option to use +/- as the "Select" button, for Degauss/Reset/etc, because I found myself trying to hit those buttons. On a monitor, there were only a few buttons to choose from.

-=-=-
''Load, Next List!''
Mon, 18 May 2020, 06:48
spinal
Good idea 👍
Mon, 18 May 2020, 08:23
spinal
Hmm, I seem to have a valid url for the image in the showcase, but it's not showing

-=-=-
Check out my excellent homepage!
Mon, 18 May 2020, 08:53
Jayenkai
Thumb = a url to the thumbnail!
Mon, 18 May 2020, 14:34
Dan
Ok, i wanted to write that it does not work but ...

after testing it in the vmware on xp, and then again on the desktop, with a bit longer wait, i discovered that it takes about 9~10 seconds, for the menu, to show up, here.

But when it shows up, its great !
Page : 1 2 Next
Prev