Anybody know how to hack dewalt batteries?

Does anybody out there happen to know how to hack modify circumvent or bypass the safety circuits on a modern DeWalt 20 volt battery pack? I’ve been trying to figure out how to do this the last few days but can’t find anything on the internet .the purpose of this is there’s a DeWalt battery tool that I want but I need to be able to run it off of my Ryobi batteries.
I have been testing the voltage readings off the dewalt battery connections, hoping I van simply ad a resistor between a couple of the connections to fake the drill into thinking it has a normal battery connected to it. Any ideas, or sites ?