anchor.diff:  {$I ..\..\KaM_Remake.inc}
   {$APPTYPE CONSOLE}
   uses
  +  //{$IFDEF WDC} FastMM4, {$ENDIF} //Can be used only in Delphi, not Lazarus
     Forms, SysUtils,
     {$IFDEF FPC}Interfaces,{$ENDIF}
     {$IFDEF MSWindows} Windows, {$ENDIF}
  
positive.code:       palettes.LoadPalettes(ExeDir + 'data\gfx\');
        try
          I := 0;
          while I < ParamCount do // Skip 0, as this is the EXE-path
          begin
            Inc(I);
  
            if ((LowerCase(ParamStr(I)) = 'sbd') or (LowerCase(ParamStr(I)) = 'spritesbasedir')) then
            begin
              if (I >= ParamCount) then
              begin
  
negative.code: {$ENDIF}
  
  var
    I, K, cnt: Integer;
    paramString: string;
    forcedConsoleMode: Boolean;
    rxType: TRXType;
    lRxxPacker: TKMRXXPacker;
  