Dermot Posted April 24, 2010 Share Posted April 24, 2010 I wrote a little program and dumped the 3D texture graphics from Star Fox and Star Fox 2. Sorry, I couldn't find other flat bitmap graphics. These have no palettes, so I dumped them as false-color images, with darker colors being lower palette color indexes, and lighter colors being higher palette color indexes - the darkest black should be transparent. If someone can find the various palettes that can go with these, that would be sweet. ^^This is the Java source code of the little program I whipped up, saved to FXBitmapDump.java:import java.awt.image.*;import java.io.*;import java.util.*;import javax.imageio.*;public class FXBitmapDump { public static void main(String[] args) { try { int length = args.length & ~1; for (int index = 0; index < length; index += 2) main(new File(args[index]), new File(args[index + 1])); } catch (Exception e) { e.printStackTrace(); System.exit(1); } System.exit(0); } public static final int[] PALETTE = { 0xFF000000, 0xFF111111, 0xFF222222, 0xFF333333, 0xFF444444, 0xFF555555, 0xFF666666, 0xFF777777, 0xFF888888, 0xFF999999, 0xFFAAAAAA, 0xFFBBBBBB, 0xFFCCCCCC, 0xFFDDDDDD, 0xFFEEEEEE, 0xFFFFFFFF }; public static void main(File romFile, File pngFile) throws Exception { InputStream in = new FileInputStream(romFile); int height = (int)((romFile.length() + 0xFF) >> 8); BufferedImage image = new BufferedImage( 0x200, height, BufferedImage.TYPE_INT_ARGB); int[] pix = new int[0x200]; int value = -1; for (int y = 0; y < height; y++) { Arrays.fill(pix, 0); for (int x = 0; x < 0x100; x++) { value = in.read(); if (value < 0) break; pix[0x000 | x] = PALETTE[value & 0xF]; pix[0x100 | x] = PALETTE[value >> 4]; } image.setRGB(0, y, 0x200, 1, pix, 0, 0x200); if (value < 0) break; } ImageIO.write(image, "png", pngFile); }}[Pruned to save disk space] Link to comment Share on other sites More sharing options...
Guest FoXXX Posted April 24, 2010 Share Posted April 24, 2010 Awesome :D Link to comment Share on other sites More sharing options...
Guest DRL Posted April 24, 2010 Share Posted April 24, 2010 GrEaT Job! + :cool: Link to comment Share on other sites More sharing options...
Dermot Posted April 24, 2010 Author Share Posted April 24, 2010 Which ones do you like most? Link to comment Share on other sites More sharing options...
Guest DRL Posted April 24, 2010 Share Posted April 24, 2010 Personally...I like SF1´s characters the most.I like SF2´s 'tactical-map' gameplay,althrought SF1 is cool as it is. Link to comment Share on other sites More sharing options...
Dermot Posted April 24, 2010 Author Share Posted April 24, 2010 Personally...I like SF1´s characters the most.I like SF2´s 'tactical-map' gameplay,althrought SF1 is cool as it is.Oops, wrong thread. When I said "Which do you like most?" I thought I was replying to the Dermot's MIDIs thread. XD Link to comment Share on other sites More sharing options...
Guest DRL Posted April 24, 2010 Share Posted April 24, 2010 Oops, wrong thread. When I said "Which do you like most?" I thought I was replying to the Dermot's MIDIs thread. XDUh, sorry then... Well still,they are cool textures, are not they? :lol: Link to comment Share on other sites More sharing options...
Dermot Posted April 24, 2010 Author Share Posted April 24, 2010 Uh, sorry then... Well still,they are cool textures, are not they? Yes, they are indeed. :3 I just wish I knew how to extract the other bitmaps...they aren't stored in SNES or SuperFX bitmap format (at least not raw - they must be compressed somehow). Link to comment Share on other sites More sharing options...
Star Fox Runner Posted April 24, 2010 Share Posted April 24, 2010 Nice job getting these! Too bad you couldn't extract the palettes, they don't look too good in black and white. The images are pretty small aren't they? Were they that size when you pulled them, or did you scale it down? Link to comment Share on other sites More sharing options...
evilwaffles Posted April 24, 2010 Share Posted April 24, 2010 Very nice work Dermot. I agree with SFR, it is a shame they aren't in color, but it is still great to have none the less. Link to comment Share on other sites More sharing options...
fox1235 Posted April 25, 2010 Share Posted April 25, 2010 Cool :D Link to comment Share on other sites More sharing options...
Beta Link Posted April 26, 2010 Share Posted April 26, 2010 I have a great love for beta content from games, thus my user name. And I see some beta stuff in here, like the portrait of the whole Star Fox team down there with the SF2 stuff. Quite awesome. :D Link to comment Share on other sites More sharing options...
Dermot Posted April 26, 2010 Author Share Posted April 26, 2010 I have a great love for beta content from games, thus my user name. And I see some beta stuff in here, like the portrait of the whole Star Fox team down there with the SF2 stuff. Quite awesome. I still want to find the palettes. X3 SNES palettes are usually stored in the same format for almost every game, but it's a matter of finding those exact 32 consecutive bytes. Link to comment Share on other sites More sharing options...
dyson132 Posted April 19, 2012 Share Posted April 19, 2012 @Dermot: Palettes are here in a thread I started a while ago about remaking the snes game on openGL and have had some luck. If you read the thread you will also learn how to get them yourself. http://www.romhackin....html#msg207578 Here is a video of my results. https://vimeo.com/40384833 Link to comment Share on other sites More sharing options...
Vy'drach Posted April 19, 2012 Share Posted April 19, 2012 This thread... was two years old. Holy bump-force trauma, Batman! Link to comment Share on other sites More sharing options...
dyson132 Posted April 19, 2012 Share Posted April 19, 2012 @Vydrach xD Just trying to gather attention, most VL-Tone guides are from 2007, part of the info is already lost. Link to comment Share on other sites More sharing options...
CrypticQuery Posted April 19, 2012 Share Posted April 19, 2012 Yup, Vydrach is on point with this one; this is quite a large dredge. :lock: Link to comment Share on other sites More sharing options...
Recommended Posts