Soaking in mineral spirits, with a little periodic agitation; really helps the cosmoline slough off.
^^^This^^^. Every time I’ve used it (I use low odor min sprits) it literally MELTS the cosmoline off!
IME, Hoppes is pretty much useless on cosmoline ... (and most other substances, heresy, I know .... flame suit on