Staredit Newtork
Community
StarCraft
Games
Site
Favourites
.bin editing trick, Woo, transparent windows!
Creator: Polaris[MM]
Time: Mar 24 2008, 6:24 pm
 Polaris[MM] Mar 24 2008, 6:24 pm Post #1
[Avatar]
Commandant of the Stellar Marine Corps
 M
 45
 K
 45
Here is a trick I found out with .bin editing:

So, you made your nice new background.pcx for your mod eh? You probably want to .bin edit it and get rid of the SMK's, and align everything properly. Now, as anyone who has done this knows its a pain to line everything up. So, have no fear, this is where transparent windows come in!
Look:

( user posted image )

As you can see, I have the gimp open with my background, and made that window transparent over the .bin edit preview. In order for it to come out correctly, you obviously have to align the two windows directly over each other.

Note: You will need a windows skin or program that supports transparent windows to do this. If not, I suggest you go hit http://www.google.com
Otherwise, life will be a lot easier .bin editing for you now!
(top)
(user posted image)
 FlyingHat Mar 24 2008, 6:31 pm Post #2
[Avatar]
 M
 10
 K
 42
Nice. Is that some Vista magic or is it some program you found?
(top)
 O)FaRTy1billion[MM] Mar 24 2008, 6:35 pm Post #3
[Avatar]
Remember the game! P.s.: Feldspar.
 M
 593
 K
 45
Now try that with WIDESCREEN. The editor, preview, and overlay can exist at the same time without overlapping!

...I could make it so you can make the preview window transparent, too. I'll just need to remember how. :P
Or I could simply make it so you can load a background image.
(top)
 Polaris[MM] Mar 24 2008, 6:48 pm Post #4
[Avatar]
Commandant of the Stellar Marine Corps
 M
 45
 K
 45
Quote from FlyingHatNice. Is that some Vista magic or is it some program you found?

Actually, I am on XP, just using a Vista skin that happens to have transparency.
Quote from FaRTy1billion
Or I could simply make it so you can load a background image.

I like that idea.
(top)
(user posted image)
 brew Apr 7 2008, 9:21 pm Post #5
[Avatar]
 M
 -115
 K
 1
Have you not heard of user32!SetLayeredWindowAttributes()? Just be sure that the target window has the WS_EX_TRANSPARENT bit set (if it isn't, you could use user32!SetWindowLong()), and specify LWA_ALPHA for dwFlags.
(top)
 FlyingHat Apr 7 2008, 9:26 pm Post #6
[Avatar]
 M
 10
 K
 42
Umm.... Could you translate for us? Not all of us are programmers. Nor do we know Portugese.
(top)
 O)FaRTy1billion[MM] Apr 8 2008, 4:07 pm Post #7
[Avatar]
Remember the game! P.s.: Feldspar.
 M
 593
 K
 45
Quote from brew
Have you not heard of user32!SetLayeredWindowAttributes()? Just be sure that the target window has the WS_EX_TRANSPARENT bit set (if it isn't, you could use user32!SetWindowLong()), and specify LWA_ALPHA for dwFlags.
Are you saying that you want me to implement transparency? I have used SetLayeredWindowAttributes before... (I made a little window that sits in the top right corner to keep notes in. Hovering the mouse over it makes it fade in, and moving the mouse away made it fade out. :P )
Quote from FlyingHat
Umm.... Could you translate for us? Not all of us are programmers. Nor do we know Portugese.
Don't bother. If you don't understand, it is likely that you needn't worry. :P
(top)
 IskatuMesk Apr 8 2008, 4:24 pm Post #8
[Avatar]
MASTER OF THE UNIVERSE, TIME, SPACE, PONIES, MAILMEN, AND GOATS
 M
 n/a
 K
 43
it's a good thing I am utterly HORRIBLE at photoshop or anything image-editing related for that matter, otherwise I might have actually had to try this for AO
(top)
(user posted image)
 O)FaRTy1billion[MM] Apr 8 2008, 7:24 pm Post #9
[Avatar]
Remember the game! P.s.: Feldspar.
 M
 593
 K
 45
It isn't that hard to make stuff for this... Just find a fancy background or something. :P
(top)
 IskatuMesk Apr 9 2008, 3:00 am Post #10
[Avatar]
MASTER OF THE UNIVERSE, TIME, SPACE, PONIES, MAILMEN, AND GOATS
 M
 n/a
 K
 43
Anything fancy gets mangled by the palettes involved. Or, consequently, mangles the UI tiles which I am too lazy to change the palettes on.
(top)
(user posted image)
Users reading this topic: (plus 1 guests)


[09:48 pm]
KrayZee -- No shit.
[09:42 pm]
Centreri -- CLICK IT AND FIND OUT LOLOLOL
[09:36 pm]
Deathman101 -- What the hell is in that link?
[09:19 pm]
Deathman101 -- on teh boxes
[09:19 pm]
Deathman101 -- -20 :(
[09:13 pm]
Login to shout

©2003-2008 Staredit Network.
Starcraft & Starcraft II are trademarks of Blizzard Entertainment.
Site Index   |   Terms of Service   |   Privacy Policy   |   Contributions