For those wondering this is how you get the good ending:
In episode II during the Padme section, make sure to have Aniken build the sand castle with you. As much as the -3 hurts the initial relationship, it pays back double. Assuming you make the correct relationship choices, instead of the usual cutscene during the sand people slaughter, Ankien will see the sandchild building the sandcastle. It will be revealed that it was a rouge sandperson that kidnapped mama skywalker. She’ll still die, but your karma will take way less of a hit.
In the Yoda Flashback make sure to complement Dooku’s new kicks. Dooku will remember this.
Make Sure as Jar Jar you steal Palpatine’s diary. Play the time ocarina perfectly. When you run across Papa Palpatine make sure to convince him that Sheev can join the bubble opera troupe and still be a man.
As painful as the product placement is, before going to Utapau, make sure to select Master Kenobi and get the can of Monster Zero Ultra WhiteTM from Master Kojima