Jump to content

dreamsambit

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

Recent Profile Visitors

974 profile views

dreamsambit's Achievements

Poring

Poring (1/15)

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Thank you for your comment. BTW,I find a way to convert Indexed8. just use PhotoShop convert image into indexed format ,and then add that into sprite,merge palette.
  2. I have some .spr and i want to reduce they file size original size is 392KB ,and after convert will become around 70KB but have more then 300+ files and about 40 image in each spr file.....
  3. I use this script Layer layer = act[selectedActionIndex, selectedFrameIndex, 0]; GrfImage image = layer.GetImage(act.Sprite); image.Convert(GrfImageType.Indexed8); script can convert image to Indexed8 it can run ,but when I want to save , will get a error -------------- Exception -------------- System.IndexOutOfRangeException: GRF.FileFormats.SprFormat.SprAbstract._writeAsBgra32(BinaryWriter writer, GrfImage image) GRF.FileFormats.SprFormat.SprAbstract._saveAs(Spr spr, String filename, Byte major, Byte minor) GRF.FileFormats.SprFormat.SprConverterV2M1.Save(Spr spr, String filename) GRF.FileFormats.SprFormat.Spr.Save(String path) GRF.FileFormats.ActFormat.Act.SaveWithSprite(String actPath, String sprPath) ActEditor.Core.ActEditorWindow.SaveAs() ------------------------------------------------------- I don't know how to change "writeAsBgra32" to "writeAsIndexed8". have any one can teach me how to convert image in sprite correct ><" thanks a lot.
  4. I just find this topic https://rathena.org/board/topic/99739-add-custom-effect-help/ but he doesn't say how to replace the effect animation have anyone know how to replace effect with .act and .spr file ? if it need some pay please PM me Thanks a lot!!!
  5. I add this .patch auraset--rA-svn17146.patch in latest version rAthena but was not work and cause an error message how do i fix it? the .patch file not adjust script.c
×
×
  • Create New...