Chaosforge Forum

DoomRL => Discussion => Topic started by: Baphomet on April 11, 2007, 15:42

Title: Invalid codepage?
Post by: Baphomet on April 11, 2007, 15:42
What do others get after editing the doomrl.bat file with this?

Code: [Select]
mode con lines=25 cols=80
mode con cp select=473
pause
doomrl

My german WinXP says

Quote
D:\Spiele\doomrl>mode con cp select=473
Die angegebene Codepage ist unzulässig.

Translated it would be: "The given codepage is not valid".
Title: Re: Invalid codepage?
Post by: Malek Deneith on April 12, 2007, 04:23
Change 473 to 437.
Title: Re: Invalid codepage?
Post by: Baphomet on April 12, 2007, 05:11
Ok, although

Code: [Select]
mode con cp select=473
is the original line. I just included the pause command.

Kornel, your job...
Title: Re: Invalid codepage?
Post by: Rabiat on April 12, 2007, 11:07
The codepage should be 437 (US). I think Kornel included the codepage select command in doomrl.bat to prevent high range ASCII characters from messing up. AFAIK the Latin-1 codepage (850) displays char #249 (fat centered dot) as two superscript dots, and Greek/Slavic/Cyrillic must be even worse. MS must not have been considering the millions of roguelike players out there when they pulled that stunt. ;)

In case you substituted 473 with 437 and cp select produces an error similar to "codepage not prepared", try including a the following line in your config.sys:

Code: [Select]
mode con cp prepare=((437) c:\windows\command\ega.cpi)
Edit: and of course you can use the chcp command to check/set the codepage.
Title: Re: Invalid codepage?
Post by: Malek Deneith on April 12, 2007, 12:03
Ok, although

Code: [Select]
mode con cp select=473
is the original line. I just included the pause command.

Kornel, your job...

It was discussed before and someone said it should be 437 not 473... since with 437 it works properly I'm inclined to belive.
/me shurgs
Title: Re: Invalid codepage?
Post by: Baphomet on April 12, 2007, 13:27
Yepp, with "437" the error message is gone.
Then it should be changed in the batch, I think.