Jump to content

pazaway12

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by pazaway12

  1. 12 hours ago, Tokei said:

    Heya,

    The original script can be opened with Scripts > Open scripts folder > script5_remove_unused_sprites.cs. In your case, you'd want something like this:

    foreach (var actPath in Directory.GetFiles(@"C:\Test\", "*.act")) {
    	var sprPath = actPath.ReplaceExtension(".spr");
    	
    	if (!File.Exists(sprPath))
    		continue;
    	
    	var actFile = new Act(actPath, sprPath);
    	
    	for (int i = actFile.Sprite.Images.Count - 1; i >= 0; i--) {
    		if (actFile.FindUsageOf(i).Count == 0) {
    			actFile.Sprite.Remove(i, actFile, EditOption.AdjustIndexes);
    		}
    	}
    	
    	actFile.SaveWithSprite(actPath, sprPath);
    }

    Thanks a lot! This did the job right!

  2. Please help, why context menu doesn't work/show even when i enable it in Setting?

    Im using Windows 10 Pro 21H1 64bit Operating System image.thumb.png.8ce13989f99b1d3d50be1d6ddb81cbe9.png

     

    UPDATE: I did manage to add Context Menu, now it show this error when i try to compress a folder to .grfimage.png.b6e25e9ae8fd34324248b008d2447694.png

  3. Patulong naman mga boss, baka may nakakaalam kung pano gawin yung ganitong grf. may konitng knowledge ako sa paggamit ng Grf editor pero di ko makuha kung pano gawin, or baka sa ibang app ginagawa to, Salamat sa sasagot.

    walls.jpg

  4. i saw some edited grf with mvp's that has arrow on its head to spot easily, 

    im trying to do the same using act editor, is there any shortcut or script to add that "MVP" image to all frames?

    i tried adding it manually on each action index but its just added on the first frame.

     

×
×
  • Create New...