kenobi file is not needed anymore since v3.336.
Nintendont contains a better and more recent version of that file.
the gct can be located in 3 different folders, it's up to the user to pick the one it likes better.
1)
either the game folder, like you said.
device:/games/<game title>/game.gct
or
device:/games/<game title>/<gameID>.gct
2)
it can also be located in a folder with the GameID instead of the gameTitle
device:/games/<gameID>/<gameID>.gct
but it's bad structure if you use game's title, as it will be duplicate folder for the same purpose : one for the ISO one for the gct.
in both cases, it will be one .gct per folder.
3)
or you can put all your gct files in the same folder like this :
device:/codes/<gameID>.gct
in all 3 cases, you need to put the GCT file to the same device than the game.
4)
There's another method, but working only with USBLoaders.
Put the cheatcode in the folders where the USBLoader expect them.
for example, USBLoaderGX uses two different folders :
SD:/txtcodes/ for the cheat code list
SD:/codes/ for the gct
You don't have to care about where to put the cheats, as the loader is managing everything : download cheat list, gct generation, copying to correct device when launching the game and it warn you if you need kenobi file but can't find it.