Staredit Network > Forums > Modding Discussion > Topic: .bin editing trick
.bin editing trick
Mar 24 2008, 6:24 pm
By: Polaris  

Mar 24 2008, 6:24 pm Polaris Post #1



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:

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 www.google.com
Otherwise, life will be a lot easier .bin editing for you now!



If anything cool is ever going on Skype me up under the name "blarghle"

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



Nice. Is that some Vista magic or is it some program you found?



None.

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

👻 👾 👽 💪

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.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

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



Quote from FlyingHat
Nice. 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.



If anything cool is ever going on Skype me up under the name "blarghle"

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



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.



None.

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



Umm.... Could you translate for us? Not all of us are programmers. Nor do we know Portugese.



None.

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

👻 👾 👽 💪

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



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

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

Lord of the Locker Room

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



Show them your butt, and when you do, slap it so it creates a sound akin to a chorus of screaming spider monkeys flogging a chime with cacti. Only then can you find your destiny at the tip of the shaft.

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

👻 👾 👽 💪

It isn't that hard to make stuff for this... Just find a fancy background or something. :P



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

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

Lord of the Locker Room

Anything fancy gets mangled by the palettes involved. Or, consequently, mangles the UI tiles which I am too lazy to change the palettes on.



Show them your butt, and when you do, slap it so it creates a sound akin to a chorus of screaming spider monkeys flogging a chime with cacti. Only then can you find your destiny at the tip of the shaft.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2022-6-29. : 8:18 am]
GGmano -- I would have released my New map yesterday if scmdraft didnt fail on saving the merged file
[2022-6-29. : 8:17 am]
GGmano -- Not cool when I made such Nice system and I could make it even better if more trigger allowed
[2022-6-29. : 8:16 am]
GGmano -- Damn now I have reduce trigger amount impossible to save fil
[2022-6-27. : 11:03 pm]
jjf28 -- GGmano
GGmano shouted: its not possible to move around a p12 owned preplaced a
when I tried - ya not possible
[2022-6-27. : 11:02 pm]
Zoan -- idk, maybe if you change a setting with euds you can do it. Something like the Unit List and Palletes thing or whatever it's called
[2022-6-27. : 9:42 pm]
GGmano -- i thought that would be easy but dont work on my test
[2022-6-27. : 9:42 pm]
GGmano -- its not possible to move around a preplaced p12 owned dark swarm?
[2022-6-27. : 9:41 pm]
GGmano -- dark swarm
[2022-6-27. : 9:41 pm]
GGmano -- its not possible to move around a p12 owned preplaced a
[2022-6-27. : 1:08 pm]
jjf28 -- having played the architect just fine - no not necessarily
Please log in to shout.


Members Online: MidNighTime