Staredit Network > Forums > Modding Assistance > Topic: Extracting graphics from starcraft?
Extracting graphics from starcraft?
Feb 13 2010, 1:48 pm
By: ShadowDancer  

Feb 13 2010, 1:48 pm ShadowDancer Post #1



How I can do it? I'm trying to make my own game with starcraft graphics, but I can't extract it (they're in mpq files?). Can somebody give me advice?



None.

Feb 13 2010, 1:49 pm Biophysicist Post #2



Use WinMPQ or PyMPQ to extract the graphics.



None.

Feb 13 2010, 2:03 pm ShadowDancer Post #3



I tried WinMPQ , but hmm I can't find that files. It returns sounds, and some pics from loading screens, battlenet etc. And "~unknowns" w/o extension(some of them is pics ex. Of DA, gimp crashes on others. Maybe this is it?

I tried extract brood dat too, and i found files smk and grp, but i cant open it.



None.

Feb 13 2010, 2:42 pm Biophysicist Post #4



Oh, right. WinMPQ doesn't come with a listfile. PyMPQ does, though. Use that.



None.

Feb 13 2010, 3:07 pm ShadowDancer Post #5



And where exacly i can find this images? Image.dat? How to open it?



None.

Feb 13 2010, 3:22 pm Biophysicist Post #6



The images are stored in the directory "unit\" in the MPQ. (Even things like weapons are stored here.) Images.dat will have the full names of the graphics.



None.

Feb 13 2010, 4:09 pm Super Duper Post #7



Get UED's listfile. That fixes it.

EDIT: Attached it to this post.

Attachments:
UED-BwData4.txt
Hits: 8 Size: 192.13kb



None.

Feb 13 2010, 5:52 pm Corbo Post #8

ALL PRAISE YOUR SUPREME LORD CORBO

You people are so bad at figuring other's problems :bleh:

Quote from ShadowDancer
I tried WinMPQ , but hmm I can't find that files. It returns sounds, and some pics from loading screens, battlenet etc. And "~unknowns" w/o extension(some of them is pics ex. Of DA, gimp crashes on others. Maybe this is it?

I tried extract brood dat too, and i found files smk and grp, but i cant open it.
Starcraft graphics are stored in many different formats. Animations as in portraits, cinematics and UI animations are .smk files. You can open them with the RAD game tools, however, if you want to edit them or create new ones you must use the old smacker tools to encode your animation/cinematic.

.grp files are probably what you're looking for, though, they are starcraft unit graphics, doodads, spells and pretty much everything else that isn't part of the UI (The UI are .pcx files).
GRPs are basically a set of a bunch of BMPs put together to form an animation, so you'll need to decompile the GRP to extract the frames. To do so, you can use SFGRPConverter, Retro GRP or PyGRP.
SFGrpConverter requires you to "load" a pallete in order to decompile unit grps, I am attaching to my post.
Retro GRP is just outdated but it works perfectly, though, I don't think we have a download for it in out database.
And PyGRP will probably be the easiest option since it's pretty updated and probably you won't have to face the "I have to have a pallete" issue.



fuck you all

Feb 15 2010, 10:10 pm ShadowDancer Post #9



Ok, done with units, now I want to get tiles. In stardat.mpq I found something like this:



And:



I think first image is just a template used for ex. Collision detection, and second is a palette. Is there easy way to connect it?

And another question: where is stored fog of war sprites?



None.

Feb 15 2010, 11:18 pm Corbo Post #10

ALL PRAISE YOUR SUPREME LORD CORBO

Tiles are .cv5 files. Well, they're way more files than just the .cv5 but what you have to do is extract your desired tileset, it will be under tileset\tilesetname.cv5 and you'll have around 4 or 5 more files with the same tileset name, extract all of them and open them with PyTile, TileEdit or Hawt Tiles. They'll all ask you to open a .cv5 but they also require the other files I just told you to extract right now.

Not that you are extracting creep (from what I can see). Each tileset uses a different pallere, and the .grp you found are the creep edges, each one of those grps are tileset dependant so you'll have to extract those creep edges grp with the respective tileset pallete. This only applies to the creep edges' grp. The other tileset graphics can be decompiled with the programs I mentioned without any use of a pallete.



fuck you all

Feb 16 2010, 9:22 am ShadowDancer Post #11



Hmm, collisions are per pixel? Where I can find collision masks?



None.

Feb 16 2010, 5:03 pm Corbo Post #12

ALL PRAISE YOUR SUPREME LORD CORBO

They are subtiles properties. Basically each tile (32x32 pixels) is composed by subtiles, the subtiles are the ones that have the properties (or flags) wether you can or cannot walk over, build over and such. You should be able to edit these flags in any tileset editor



fuck you all

Feb 17 2010, 12:07 am ShadowDancer Post #13



Hmm, so it will be hard to extract this data. I decided to make my own editor, that will base on terrain screenshoots from starcraft and manually setting field properties.



None.

Feb 17 2010, 2:03 am Corbo Post #14

ALL PRAISE YOUR SUPREME LORD CORBO

Quote from ShadowDancer
Hmm, so it will be hard to extract this data. I decided to make my own editor, that will base on terrain screenshoots from starcraft and manually setting field properties.
Yeah, you're better off just extracting the graphics and making your own collision masks or whatever you're trying to do.



fuck you all

Feb 17 2010, 4:21 pm O)FaRTy1billion[MM] Post #15

👻 👾 👽 💪

Quote from ShadowDancer
Hmm, collisions are per pixel? Where I can find collision masks?
It's per 8x8 subtile.



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!

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: lil-Inferno, Roy