oh, btw, i think ure right, all carsets should be in tex format and the tex editor availible (hint James, yes you :P) should be able to load it be double clicking the tex file (want code?, im in a good mood...)
register the C4C files:
Reg := TRegistry.Create;
Reg.RootKey := HKey_Classes_Root;
Reg.OpenKey('\.C4C\', True);
Reg.WriteString('', 'C4C'
;
Reg.CloseKey;
Reg.OpenKey('\C4C\', True);
Reg.WriteString('', 'Carset Creator 4 Carset'
;
Reg.CloseKey;
Reg.OpenKey('\C4C\DefaultIcon', True);
Reg.WriteString('', Application.ExeName + ' ,1'
;
Reg.CloseKey;
Reg.OpenKey('\C4C\Shell\open\command', True);
Reg.WriteString('', Application.ExeName + ' %1'
;
Reg.CloseKey;
Reg.Free;
load CSC4, and load carset:
for i:=1 to ParamCount do
if FileExists(ParamStr(i)) then
Begin
Timer2.Enabled := False;
WadDecompiled := True;
if not FileExists(GP4Path + '\cars.wad'
then
if not InputQuery(Lang.TranslateUserMessage('DialogGP4Folder'
, Lang.TranslateUserMessage('GP4Folder'
, GP4Path) then
Application.Terminate;
GP4Dir.Text := GP4Path;
.
.
<
>
<
>
.
.
LoadCarset(ZipMaster1, ParamStr(i));
Exit;
end;
even tho he doesnt come to this forum, but, oh well :P (btw, no ure not getting any more csc4 code :P)