SpkComp
Apr 14 2019, 2:03 am
By: O)FaRTy1billion[MM]  

Apr 14 2019, 2:03 am O)FaRTy1billion[MM] Post #1

👻 👾 👽 💪

Since editing SPK parallax layers can be very tedious and annoying adding & dragging & dropping 1 star at a time, I made a quick tool to help make the process a lot easier. You just draw your parallax layers directly in your favorite image editing program, save each layer as a bitmap, and then use this tool compile them directly to an SPK. This program also provides the added benefit that large images will automatically be broken up in to 8x8 chunks to prevent flickering and refresh issues in StarCraft.



This is currently a beta build so it is still missing a few features I would like to add:
- Removing duplicate sub-images (currently detects duplicate images, but not sub-images)
- Specifying the WPE filename when decompiling
- Changing/specifying the maximum number of layers (currently it is SC's maximum of 5)
- Changing the layer dimensions (currently SC's size of 648x488).

Download!

As always, please leave questions, comments, suggestion and death threats.



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 14 2019, 4:36 am Corbo Post #2

ALL PRAISE YOUR SUPREME LORD CORBO

Just as an add on Farty's OP.

This is a very great tool I have been using this to create what would otherwise be a very complex SPK file with little to no effort on the actual SC side.

Just to give you some examples the stuff this allows you to easily do is stuff like this:



The process of creating SPKs like this truly cannot be easier now.
Just grab a fullsized layer image (or several, depending on how many layers you want) and shove them up the .exe and it automatically generates all the stars by breaking down your big image into small stars and assigning them their positions in the spk file for you.

The output of the program is a .spk and the input is, ideally, 5 huge 648px x 488px bmp images. Already palleted for GameColor. And done.

For example here is a very short tutorial on this:

1. I firstly grabbed a couple reference stuff by googling "Nebula".


2. When I found pictures or details I liked I composited them into a single picture on photoshop, like this:


3. I broke down the image/nebula parts and features into layers I desired and filled the background with black, like this:


4. You then export each of your layers into a SC-Palleted bmp and have your layers set up as layer_1.bmp, layer_2.bmp... select them and drag them into the .exe as such:


5. Enjoy your results:



Thanks Farty, for making another great tool!



fuck you all

Apr 14 2019, 10:48 am NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

looks cool!




Apr 14 2019, 12:11 pm Black_Overseer Post #4



Oh man, this is great work!




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
Please log in to shout.


Members Online: jun3hong, eksxo