Are you aware that a Quake 2 and Quake 3 ports to Delphi already exists on Source Forge? Maybe you could use that Pascal code and make it FreePascal compliant, rather than start a totally new conversion.