Staredit Network > Forums > SC1 Terrain > Topic: Starcraft Tileset Ripping
Starcraft Tileset Ripping
Nov 6 2011, 9:46 am
By: Fortis  

Nov 6 2011, 9:46 am Fortis Post #1



Found the problem. My bitshifting operations were wrong. Edited the problem code in the post but haven't updated the source cause I'm lazy :bleh:

Hello. I bough a new phone recently, an android one, and have decided to port starcraft to it. It will be a nice little learning experience. So I want the port to use the original files. (Graphics, Tilesets, scripts, etc.) with some files removed to save space. I read up on internet about how the tiles are stored.

Quote
VX4: MegaTile Graphics
This file contains references to the MiniTile images and states if they are flipped.
Struct size: 32 bytes (16 shorts)
Max ref. ID: 65535

Offset Type Name Description
+0x00 16xSHORT Images The first bit (bit0) is the horizontal flip flag, the remaining 15 bits (bit1-15) are the VR4 index.

Like the above states I use the C++ code
Quote
index = megatile.images[mit]/2;
flip = !megatile.images[mit] >> 15;//FoUND problem this should be << 15!!!!!
minitile = miniTiles[index];
And it works, but the flip isn't always read correctly. Is it something I did wrong or is the information incorrect?
This is my source
Leaving the source. Feel free to use it :).


Post has been edited 5 time(s), last time on Nov 6 2011, 11:09 am by Fortis.



None.

Nov 11 2011, 8:24 am Sacrieur Post #2

Still Napping

Fascinating, it seems you're adept at this sort of work you're doing.

Anything else you've come across that is particularly note worthy?



None.

Nov 11 2011, 11:07 pm Tempz Post #3



Plenty of people have tried to port starcraft

(sc lite = Ds starcraft homebrew which i've tried and sucks)
(sc 64 = n64 port)

Trust me you can never really capture the spirit of starcraft on a phone since its too basic. Iphone/ipad maybe but thats it.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[2024-4-25. : 7:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: Roy, jun3hong