You can replace the compressor, replace condenser with new or used. Be careful on buying used online, good way to get ripped.
Some companies will install a used one and some won't.
Unless you can get a condenser with same refrigerant and seer rating as the a-coil, you will also have to replace the a-coil.
Would be best to replace a-coil if there will be more than 5 years difference in age between a-coil and replacement condenser.
Cracks in ceiling of mobile homes is fairly common.
Usually caused by settling of home and/or vibrations because mobile homes move.
Some people are Humbly Grateful, while some are Grumbly Hateful.................... Which one are you ?