anchor.diff:          //Now that we know texture IDs we can fill GFXData structure
           SetGFXData(texID, SpriteInfo, SAT);
   
  -        if EXPORT_SPRITE_ATLASES and (fRT in EXPORT_SPRITE_ATLASES_LIST) then
  -          SaveTextureToPNG(SpriteInfo.Width, SpriteInfo.Height, RXInfo[fRT].FileName + '_' +
  -                           SPRITE_TYPE_EXPORT_NAME[SAT] + IntToStr(I+1), Data);
  +        if ((not aIsRXA and EXPORT_SPRITE_ATLASES) or (aIsRXA and EXPORT_SPRITE_ATLASES_RXA))
  +           and (fRT in EXPORT_SPRITE_ATLASES_LIST) then
  +          SaveTextureToPNG(SpriteInfo.Width, SpriteInfo.Height, RXInfo[fRT].FileName + IfThenS(aIsRXA, '_rxa_', '_') +
  +                           SPRITE_TYPE_EXPORT_NAME[SAT] + IntToStr(texID), Data);
         end;
       end;
     {$ENDIF}
  
positive.code:   Assert(SameText(ExtractFileExt(aFilename), '.png'));
  
    if aIndex > fRXData.Count then
      Allocate(aIndex);
  
    LoadFromPng(aFolder + aFilename, pngWidth, pngHeight, pngData);
    Assert((pngWidth <= 2048) and (pngHeight <= 2048), 'Image size should be less than 2048x2048 pixels');
  
    fRXData.Flag[aIndex] := Byte(pngWidth * pngHeight <> 0); //Mark as used (required for saving RXX)
    fRXData.Size[aIndex].X := pngWidth;
  
negative.code:     property GFXPrepData: TKMGFXPrepData read fGFXPrepData;
  
      {$IFNDEF NO_OGL}
      procedure MakeGFX(aAlphaShadows: Boolean; aStartingIndex: Integer = 1; aFillGFXData: Boolean = True; aOnStopExecution: TBooleanFuncSimple = nil); overload;
      procedure MakeGFX(aAlphaShadows: Boolean; aIDList: TList<Integer>; aFillGFXData: Boolean = True; aOnStopExecution: TBooleanFuncSimple = nil); overload;
      {$ENDIF}
      procedure DeleteSpriteTexture(aIndex: Integer);
  
      //Load from atlas format, no MakeGFX bin packing needed
      procedure LoadFromRXAFile(const aFileName: string);
      procedure LoadFromRXAAndGenTextures(const aFileName: string);
      procedure OverloadGeneratedFromFolder(aAlphaShadows: Boolean; const aFolder: string; aSoftenShadows: Boolean = True;
                                            aOnStopExecution: TBooleanFuncSimple = nil);
  
      procedure LoadFromRXXFile(const aFileName: string; aStartingIndex: Integer = 1);
      procedure OverloadRXDataFromFolder(const aFolder: string; aSoftenShadows: Boolean = True);
  
      function GetSoftenShadowType(aID: Integer): TKMSoftenShadowType;
      procedure SoftenShadows(aIdList: TList<Integer>); overload;
  