Spielerando

Rename files with spaces, umlauts and odd letters so the web can find them

Names like "Tree Trunk (1).PNG" or "Größe.png" work on your computer and fail somewhere between upload and the player. This entry gives the AI one clear naming rule, a safe rename list, and a check that two different files never end up with the same name.

Why this works

Every tool on the way treats names a little differently, so the only names that survive all of them are the plainest. One strict rule applied to every part of a path, together with a table of old and new names, keeps the files and their references in step.

When not to use it

Renaming costs more than it saves when other people already link to your files, or when the files belong to a tool that finds them by their exact names. In that case keep the names and fix the single place that fails.

In the full entry

  • What to build, step by step
  • Starting values and the reason for each
  • 2 common mistakes and the fix
  • 37 lines of example code with 4 checks that pass
  • How your AI shows you that it works

Say this to your AI

Use the Spielerando entry "Rename files with spaces, umlauts and odd letters so the web can find them" (read_entry file-names-that-break-on-the-web) in my game. Build it step by step, and show me how you checked that it works.

Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP