The level select text is a raw binary file in most Sonic 1 disassemblies. Instead of a custom generator, it's easier to just write a macro and let you edit it by hand yourself directly in the source.

Open sonic.asm (or sonic1.asm for Hivebrain 2005), go to the LevelMenuText label, and replace the include with the following code, depending on which assembler you use.

Side note: you might already have this is in your disassembly!

AS assembler

ASM68K assembler