Lord of Gabriel Knight Posted July 6, 2012 Share Posted July 6, 2012 Okay, so I have the animation file to insert, but FEditor won't accept it for some reason! http://forthetable.tumblr.com/post/26599197597/omfg-why A link to some screenshots I took. Please help! Quote Link to comment Share on other sites More sharing options...
CT075 Posted July 6, 2012 Share Posted July 6, 2012 (edited) i have no idea what that error message means show me your frames // Constructor accepting file path to a serialized dump that contains // relative references to the frame data as a binary dump and the // sheets as PNG images @SuppressWarnings("unchecked") public PortableClassAnimation(File path) throws Exception { String parent = path.getParent() + File.separator; ObjectInputStream serializedStream = null; List<File> sheetPaths = null; File frameDataPath; try { serializedStream = new ObjectInputStream(new FileInputStream(path)); frameDataPath = (File)serializedStream.readObject(); sheetPaths = (List<File>)serializedStream.readObject(); name = (int[])serializedStream.readObject(); sectionData = (byte[])serializedStream.readObject(); rightToLeftOAM = (byte[])serializedStream.readObject(); leftToRightOAM = (byte[])serializedStream.readObject(); byte[] palette_data = (byte[])serializedStream.readObject(); palettes = new Palette[4]; for (int i = 0; i < 4; ++i) { palettes[i] = new Palette(palette_data, i * 32, 32); } } catch (Exception e) { throw new Exception( "PCA: Stream error in File constructor\n" + "(Failed to read serialized file)" ); } finally { try { serializedStream.close(); } catch (Exception e2) {} } something is screwing up when it tries to read either your frames or your binary data Edited July 6, 2012 by Camtech Quote Link to comment Share on other sites More sharing options...
Sea Lion Posted July 6, 2012 Share Posted July 6, 2012 Make sure that all of your frames have the pallet in the top right corner and that the background color of all of them is the same (transparent) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.