This script searches in ROM for the current CRAM data. If found, it returns the ROM offset containing the cram data. For Gens Emulators that support Lua Script. Tested on Sonic 1 and Ecco 2. Link: https://github.com/Cokie1/Find_CRAM_In_ROM_Gens_LUA_Scipt If you see issues and wouldn't mind , please let me know on GitHub page or here. UPDATE: It is better to search per palette , because one row may change some color(s) ..Resulting in not finding anything versus finding the rows that don't change colors. Using the basic code , it can be modified to do this. Doing a ROM search in hex probably just as good honestly or RE the game.