Can compact sets completey determine a topology?

It is not enough information. A simple (and perhaps frightening) counterexample is as follows: if $X$ is an uncountable set, then in both the discrete and co-countable topologies the compact sets are exactly the finite sets. It's frightening because these two topologies share virtually no properties: one is metrizable (hence perfectly normal), the other isn't even Hausdorff; one is Lindelöf, and the other has maximal Lindelöf number.

I'm not certain what additional information would be required to conclude that two topologies are the same. (I'll think about this some more.)


Addition 1

Hausdorffness is not sufficient. The discrete space on $\mathbb{N}$ and the Arens–Fort space are both Hausdorff, and the compact subsets are exactly the finite subsets, but these spaces are not homeomorphic. (Since they are both countable, we can transfer the topology of one onto the underlying set of the other, and the compact sets will be the same.)

Actually, this example shows that perfect normality, Lindelöfness, and paracompactness are not sufficient.


Consider a finite set $X$,then every subset $A$ of $X$ is compact in the trivial topology $\{\emptyset,X\}$, but every subset $A$ of $X$ is also compact in the discrete topology on X (the topology where all subsets of X are considered open). If $|X|>1$, then these topologies are obviously not equal.

I will return to your second question if it happens that I have anything useful to say about it.