Chaosforge Forum

  • October 31, 2024, 17:10
  • Welcome, Guest
Please login or register.



Login with username, password and session length
Pages: [1]

Author Topic: Invalid codepage?  (Read 3316 times)

Baphomet

  • Guest
Invalid codepage?
« 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".
Logged

Malek Deneith

  • Grand Inquisitor Emeritus
  • Grand Inquisitor
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1256
    • View Profile
Re: Invalid codepage?
« Reply #1 on: April 12, 2007, 04:23 »

Change 473 to 437.
Logged
Inquisition - saving your soul, one bolter shell at a time.
Spoiler: "Hackmaster Kills" (click to show/hide)

Baphomet

  • Guest
Re: Invalid codepage?
« Reply #2 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...
Logged

Rabiat

  • Sergeant
  • *
  • Offline Offline
  • Posts: 98
    • View Profile
Re: Invalid codepage?
« Reply #3 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.
« Last Edit: April 12, 2007, 11:09 by Rabiat »
Logged
0.9.9.2 - [22/8/2/0/0] - Mancubus Scrap Metal Collector

Malek Deneith

  • Grand Inquisitor Emeritus
  • Grand Inquisitor
  • Lieutenant General
  • *
  • *
  • Offline Offline
  • Posts: 1256
    • View Profile
Re: Invalid codepage?
« Reply #4 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.
* Malek shurgs
Logged
Inquisition - saving your soul, one bolter shell at a time.
Spoiler: "Hackmaster Kills" (click to show/hide)

Baphomet

  • Guest
Re: Invalid codepage?
« Reply #5 on: April 12, 2007, 13:27 »

Yepp, with "437" the error message is gone.
Then it should be changed in the batch, I think.
« Last Edit: April 12, 2007, 13:31 by Baphomet »
Logged
Pages: [1]