If, as you said, you are fat at present, with a large weight base and painful knees, there is no problem with your process, but you just started walking on the elliptical machine and treadmill just to warm up, so that you can exercise. Besides, did you count the time on your way to the gym? In order to lose weight for a long time, don't be so hard on yourself at first. If the rope is too tight, it will break easily.
You know that equipment and strength training only practice one part at a time, right? I don't know if I can download fitness apps such as yellow fitness FitTime and keep to learn standard movements.
Diet suggests that you understand sports nutrition and supplement comprehensive vitamins.