Staredit Newtork
Community
StarCraft
Games
Site
Favourites
.bin editing trick, Woo, transparent windows!

Creator: Polaris[MM]
Time: Mar 24 2008, 6:24 pm

Post #1     Polaris[MM] Mar 24 2008, 6:24 pm

[Avatar]
Trippy
 offline contact
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!
(user posted image)
Top

Post #2     FlyingHat Mar 24 2008, 6:31 pm

[Avatar]
 offline contact
Nice. Is that some Vista magic or is it some program you found?
Top

Post #3     O)FaRTy1billion[MM] Mar 24 2008, 6:35 pm

[Avatar]
Remember the game! P.s.: Feldspar.
 offline contact
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.
Badlands 128 Minimap Colors    I like useless tables!
Platform  95 Minimap Colors
Install   85 Minimap Colors    What is this table, you ask?
Ashworld  92 Minimap Colors    I made images that list all the
Jungle   105 Minimap Colors    tiles' minimap colors arranged
Desert   109 Minimap Colors    by tileset groups (i.e. tileset
Ice       94 Minimap Colors    index.)
Twilight  97 Minimap Colors    I could make my own SCPM...
Top

Post #4     Polaris[MM] Mar 24 2008, 6:48 pm

[Avatar]
Trippy
 offline contact
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.
(user posted image)
Top

Post #5     brew Apr 7 2008, 9:21 pm

[Avatar]
 offline contact
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

Post #6     FlyingHat Apr 7 2008, 9:26 pm

[Avatar]
 offline contact
Umm.... Could you translate for us? Not all of us are programmers. Nor do we know Portugese.
Top

Post #7     O)FaRTy1billion[MM] Apr 8 2008, 4:07 pm

[Avatar]
Remember the game! P.s.: Feldspar.
 offline contact
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
Badlands 128 Minimap Colors    I like useless tables!
Platform  95 Minimap Colors
Install   85 Minimap Colors    What is this table, you ask?
Ashworld  92 Minimap Colors    I made images that list all the
Jungle   105 Minimap Colors    tiles' minimap colors arranged
Desert   109 Minimap Colors    by tileset groups (i.e. tileset
Ice       94 Minimap Colors    index.)
Twilight  97 Minimap Colors    I could make my own SCPM...
Top

Post #8     IskatuMesk Apr 8 2008, 4:24 pm

[Avatar]
MASTER OF THE UNIVERSE, TIME, SPACE, PONIES, MAILMEN, AND GOATS
 offline contact
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
(user posted image)
Top

Post #9     O)FaRTy1billion[MM] Apr 8 2008, 7:24 pm

[Avatar]
Remember the game! P.s.: Feldspar.
 offline contact
It isn't that hard to make stuff for this... Just find a fancy background or something. :P
Badlands 128 Minimap Colors    I like useless tables!
Platform  95 Minimap Colors
Install   85 Minimap Colors    What is this table, you ask?
Ashworld  92 Minimap Colors    I made images that list all the
Jungle   105 Minimap Colors    tiles' minimap colors arranged
Desert   109 Minimap Colors    by tileset groups (i.e. tileset
Ice       94 Minimap Colors    index.)
Twilight  97 Minimap Colors    I could make my own SCPM...
Top

Post #10     IskatuMesk Apr 9 2008, 3:00 am

[Avatar]
MASTER OF THE UNIVERSE, TIME, SPACE, PONIES, MAILMEN, AND GOATS
 offline contact
Anything fancy gets mangled by the palettes involved. Or, consequently, mangles the UI tiles which I am too lazy to change the palettes on.
(user posted image)
Top
Users in this topic:


[07:38 am]
[Dark_Marine]:] -- MOOSE END MAFIA D:<
[07:38 am]
[07:33 am]
KrayZee -- Never gonna let you down
[07:33 am]
KrayZee -- Never gonna give you up
[07:11 am]
Oo.CooL.oO -- you're gonna bring me down
[07:11 am]
aphtershox -- can't we all just get along?!
[07:07 am]
razorsnail -- shutup shutup shutup shutup
You must log in to shout.

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