grid 128 is the most standard grid size, and as a result supported by the most scripts.
nonetheless, some scripts provide support to other grid sizes.
The following script can work on any grid size, even the most exotic ones.
relevant lines thread
some script natively detect the size of current grid and can switch to a 64 specific layout.
some others don’t, but forks were made to add 64 compatibility:
Scripts can be patched with midigrid to support alternative grid constructors (Launchpads, ableton push …).