VGMaps
November 25, 2017, 12:36:07 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Unstitching?  (Read 1502 times)
0 Members and 1 Guest are viewing this topic.
tahvoo
Newbie
*
Offline Offline

Posts: 7


« on: May 31, 2016, 07:30:34 AM »

Does anyone know of a way to unstitch a map that has already been created? I know there has been algorithms and rudimentary programs made to stitch screenshots together to create a map... But I am wondering if there is something that does the reverse? ie Is there a program that can unstitch an already created map into individual high-res screenshots?
Logged
JonLeung
Administrator
*****
Offline Offline

Posts: 3129


« Reply #1 on: May 31, 2016, 07:54:50 AM »

Well, you won't be doing it from an image straight from VGMaps.com.  These image formats (.PNG mostly, but also .GIF and .JPG) definitely just keep what you see, there's not going to be any "history" that you can dig through.  All you can really do is crop out a section that matches the resolution of the screen (like a 256 x 224 chunk out of a NES or Super NES map, for instance - which obviously won't have any HUD stuff).  Unless you want to go to the trouble of contacting the mapper and requesting their work files.
Logged
Trop
Hero Member
*****
Offline Offline

Posts: 849


« Reply #2 on: May 31, 2016, 08:33:56 AM »

You could unstitch by grid like Jon said but then you would have transparency contamination all over.  Of course if you were going for the original game look that wouldn't matter.
Logged
tahvoo
Newbie
*
Offline Offline

Posts: 7


« Reply #3 on: May 31, 2016, 09:50:04 AM »

Is there an updated version of "Revned's Slicer" that allows for more expansion on the size of tile dimensions? The message board enititled "Recommended programs to assist your mapping" has a dead link for his "Slicer/Splicer". Only the second link provided for "2008-Slicer" works. Perhaps this would address my issue?
Logged
JonLeung
Administrator
*****
Offline Offline

Posts: 3129


« Reply #4 on: May 31, 2016, 10:06:11 AM »

I remember using Revned's Slicer and Splicer tools.  For the Super Kid Icarus maps (for April Fools' Day quite a few years back) they were handy in chopping maps into 16 x 16 squares, then replacing them and splicing them back together.  In that way it was like a tile replacement tool.

The Slicer by itself would still just cut an image into 16 x 16 squares, which might be good if you want individual tiles (assuming the original image is correctly aligned to begin with), though that sounds different than what you're looking for in the original question, which sounded like you wanted screenshots.
Logged
Revned
Hero Member
*****
Offline Offline

Posts: 1091



« Reply #5 on: May 31, 2016, 12:18:44 PM »

You can find the slicer tool here, but you might have to manually crop the source images beforehand since it doesn't support starting offsets (like if the map includes a border or padding).

Command line usage:
java -jar tile-slicer.jar slice -w <screen width> -h <screen height> <map filename> <output directory name>
« Last Edit: May 31, 2016, 12:19:56 PM by Revned » Logged

tahvoo
Newbie
*
Offline Offline

Posts: 7


« Reply #6 on: May 31, 2016, 01:21:57 PM »

Do you know if its for Mac or PC? I seem to be having trouble getting it to work on a Mac...
Logged
Revned
Hero Member
*****
Offline Offline

Posts: 1091



« Reply #7 on: May 31, 2016, 05:44:50 PM »

It should work for both, and I even made it on a Mac. What happens when you run it? It assumes the output directory exists, but otherwise it just worked fine for me.
Logged

TerraEsperZ
Hero Member
*****
Offline Offline

Posts: 2225



« Reply #8 on: May 31, 2016, 08:36:24 PM »

I'm trying to understand what's the intended purpose for this. Unless a game has absolutely no visible UI elements and no parallax scrolling, there's no way you can actually "recreate" the screenshots it was assembled from because they would almost certainly have been edited or cropped in some way before being used.
Logged

Current project that I really should try to finish:
-Drill Dozer (GBA)
-Sonic 3D Blast (Genesis)
-Naya's Quest (PC)
-Lilly Looking Through (PC)

Pending project:
-A ton of stuff that will never be finished
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!