I cut the proper connector out of a sacrificial C3 tool, open up the Ryobi tool, do some dremeling to make a C3 battery slide in it, cut out the Ryobi connector, and solder in the C3 connector I previously cut out, and put it back together. It's janky for sure, but I've had good luck with it.