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.
[08:23 pm]
NudeRaider -- Moose
Moose shouted: it is of higher quality and caliber
jesus you must be really bored to have read that shit. Or ... you actually enjoyed it. AND HAD FUN?!
[08:22 pm]
NudeRaider -- NudeRaider
NudeRaider shouted: lil-Inferno listen here you shit ... :P actually just read some of my comments. Many of them are universal and have nothing to do with mapping vs modding. That just happens to be our example.
tl;dr your priorities are not better than mine
[08:21 pm]
NudeRaider -- lil-Inferno
lil-Inferno shouted: Given your idea of fun is arguing the merits of mapping vs. modding (two completely different things) in a game that's old enough to drink legally, ya, probably
listen here you shit ... :P actually just read some of my comments. Many of them are universal and have nothing to do with mapping vs modding. That just happens to be our example.
[08:18 pm]
lil-Inferno -- Given your idea of fun is arguing the merits of mapping vs. modding (two completely different things) in a game that's old enough to drink legally, ya, probably
[08:17 pm]
lil-Inferno -- lmfao
[08:17 pm]
Moose -- it is of higher quality and caliber
[08:17 pm]
Moose -- ya
[08:11 pm]
NudeRaider -- so now your fun is better than mine? :D
[08:10 pm]
lil-Inferno -- NudeRaider
NudeRaider shouted: lil-Inferno are you jealous we're having fun? :P
Weird idea of fun you have
[08:06 pm]
NudeRaider -- lil-Inferno
lil-Inferno shouted: I ain't reading all this bullshit but y'all really still arguing maps vs. mods? LMFAO
are you jealous we're having fun? :P
Please log in to shout.


Members Online: Roy, NudeRaider