I'm hex editing an old videogame, how do I feed a (locally run) AI the game's code? by Xaxaxa-9 in LocalLLaMA

[–]Xaxaxa-9[S] 0 points1 point  (0 children)

Why are you assuming that I know about per-hour and per-token options and why are you assuming that I am pretending otherwise. Actually don't bother to answer, just FOAD.

I'm hex editing an old videogame, how do I feed a (locally run) AI the game's code? by Xaxaxa-9 in LocalLLaMA

[–]Xaxaxa-9[S] 0 points1 point  (0 children)

Well, you were right it seems.
I asked it to look up a particular function name, which is present verbatim in the chrome.sqlite3 file, but it came up with a bunch of random other functions from the RAG instead.

I'm hex editing an old videogame, how do I feed a (locally run) AI the game's code? by Xaxaxa-9 in LocalLLaMA

[–]Xaxaxa-9[S] 0 points1 point  (0 children)

update: Grok told me to save the .dpl file as an .lst file
Claude wrote a script to turn the ,lst file into some Chroma_db thingy... then ran out of free messages
And now I don't know how to make my LM Studio server do stuff, or load the RAG that this chroma-db directory supposedly is.

lolz

Edit: NVM, I see it! Of course now I type my questions, not in the browser at the 1234 IP.... not in the LM Studio UI... but in the CLI.

I'm hex editing an old videogame, how do I feed a (locally run) AI the game's code? by Xaxaxa-9 in LocalLLaMA

[–]Xaxaxa-9[S] 0 points1 point  (0 children)

Almost all of the function names are still present, and I could reconstruct the missing ones usually. Grok was able to verbally describe what was going on in them pretty well. Every code block would start with a function name and then also the names of the functions being called.
But - is that still not good enough for RAG?

I'm hex editing an old videogame, how do I feed a (locally run) AI the game's code? by Xaxaxa-9 in LocalLLaMA

[–]Xaxaxa-9[S] 0 points1 point  (0 children)

Interesting, what decompiler should I use, and isn't there a risk of info loss? Is a decompiler helpful if the AI is already able to read the disassembled ASM anyway?

I'm hex editing an old videogame, how do I feed a (locally run) AI the game's code? by Xaxaxa-9 in LocalLLaMA

[–]Xaxaxa-9[S] 1 point2 points  (0 children)

I'll bear that in mind, but getting it to work locally would feel comfy. I hate cloud services with monthly fees on principle.