genai-gamelist is a Command Line tool for creating retropie gamelist.xml and game resources using llama2 and stable diffusion.
- clone this repo
- install nodejs 18.x
- npm install
- optional compile node-llama-cpp for CUDA
- download meta's llama2 LLM
- convert llama2's to gguf file using llama-cpp
npm run format
npm run build
node dist/index.js \
--modelPath <modelPath> \
--inputDir <inputDir> \
--outDir <outDir>
A vscode debugging file is pushed with this repo. The Launch Program
profile will launch the cli with default switches and allow you to debug the cli.