Rid-X will work but it has to have water and time. Rid-X is a yest that causes fermentation, which breaKS down solids. It will work, but takes time.
You can also get any emzine eater for household plumbing and pour it into the tank. Check any Home Depot type store to get it. It still takes water and time, and costs more than Rid-X, but will work faster.
Either way, fill your tank with water enough to cover the sludge a niche or so, add the emzines and drive the camper around so it will mix real good. Then let the camper sit a week. Then add full water and flush.
If that does not clean it, keep adding water and the emzines, keep the sludge wet. It will eventually clean it all out.
Once clean, always keep some water in the tank, except for winterizing. Then drain completely with a bit of pink stuff in the tank to keep the slide valve from drying out.