I think you just hit the jackpot there.... So finding the gcode flavour for these replicator clones I think should be the same as marlin. The main difference is converting to x3g format. There are different plugins, or small scripts that has been written to convert this. I know that's what simplify3D does. Output the gcode and have this plugin/script run immediately which then outputs the x3g. So in the end, you get both files.
I'm not sure if I can link here but there are a few resources online where you'll find it. It's open source as well and it was released to be integrated into software
With regards to the flashforge printers, (Dreamer and Creator3) I'm not sure what flavour FW they use, simplify3D reports it as Flashforge firmware. Octoprint just connects, so I can't figure it out. But, it reads gcode fine in addition to their propriety format which is *.gx that only their flashprint slicer supports. I do suspect it's a flavour of Marlin considering how old the dreamer is and the fact that back then, virtually all printers ran on Marlin, sailfish and reprap firmware. The dreamer still being relevant today is testament to how solid it is as a printer
I could shoot Flashforge an email and see if they'll give me that info as I have a good relationship with them.
The creator3 is an IDEX printer so I can understand supporting that will be a task, but that's the way things are going now
I'll keep playing around with it... Seems like it almost connects (turns orange) but then it doesn't