Saving jme files

Hello,



I was wondering if there is any method to save the jme format. I'll always have the same scenery, and I want to save the conversion of 3ds to jme in a file, so when I init the game I haven't do that conversion, and makes the loading faster :slight_smile:



Thank you.

this should work

public boolean saveAsJME(Savable obj, String saveAs)
   {
      BinaryExporter exporter = new BinaryExporter();
      try
      {
         exporter.save(obj, new File(saveAs));
         return true;
      }
      catch (Exception e)
      {
         e.printStackTrace();
         logger.warning("Failed to save " + obj + " as .JME");
      }
      return false;
   }



Hellmaster.

You can use the MonkeyWorld3D.It can convert the model to .jme directly.

Thanks, I'll try it :slight_smile: