--- oup/current/Main.pas 2007/07/17 22:27:16 241 +++ oup/current/Main.pas 2007/11/25 14:24:53 247 @@ -217,7 +217,7 @@ begin begin ShowMessage('Load OPF-File: ' + ParamStr(2)); end - else if (strings.Strings[0] = 'oldb') or (strings.Strings[0] = 'dat') then + else if (strings.Strings[0] = 'oldb') or (strings.Strings[0] = 'dat') or (strings.Strings[0] = 'oni') then begin CreateConnection(strings.Strings[1]); end; @@ -280,7 +280,7 @@ begin begin ShowMessage('Load OPF-File: ' + ParamStr(2)); end - else if (MidStr(ParamStr(1), 1, 4) = 'oldb') or (MidStr(ParamStr(1), 1, 3) = 'dat') then + else if (MidStr(ParamStr(1), 1, 4) = 'oldb') or (MidStr(ParamStr(1), 1, 3) = 'dat') or (MidStr(ParamStr(1), 1, 3) = 'oni') then begin CreateConnection(ParamStr(2)); end; @@ -519,7 +519,7 @@ var i: Integer; begin opend.InitialDir := AppSettings.DatPath; - opend.Filter := 'Compatible level files|*.dat;*.oldb|Oni level (*.dat)|*.dat|OUP level database (*.oldb)|*.oldb|Any (*.*)|*'; + opend.Filter := 'Compatible level files|*.dat;*.oni;*.oldb|Oni level (*.dat)|*.dat|OniSplit Archive (*.oni)|*.oni|OUP level database (*.oldb)|*.oldb|Any (*.*)|*'; if typedb then opend.FilterIndex := 3 else