Chaosforge Forum

  • April 20, 2024, 07:15
  • Welcome, Guest
Please login or register.



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

Author Topic: [0.9.9.7|console|Linux] Game won't start: Ubuntu 13.04  (Read 4814 times)

Hircon

  • Private
  • *
  • Offline Offline
  • Posts: 4
  • Lost Soul
    • View Profile

Whenever I try to start the game from the terminal it launches a window as if the game is going to start, but then it gives me this error message:

Quote
Abnormal program termination!

Reason : Access violation

If this reason doesn't seem your fault, please submit a bug report at
http://forum.chaosforge.org/, be sure to include the last entries in
your error.log that will get created once you hit Enter.

An unhandled exception occurred at $00000000004D8ABA :
EAccessViolation : Access violation
  $00000000004D8ABA line 520 of ../fpcvalkyrie/src/vnode.pas
  $00000000004D8CD6 line 569 of ../fpcvalkyrie/src/vnode.pas
  $000000000048D5BB line 51 of ../fpcvalkyrie/src/vsystem.pas
  $00000000005C5277 line 66 of ../fpcvalkyrie/src/vio.pas
  $00000000004836BE line 386 of src/doomio.pas
  $000000000046C101 line 226 of src/doombase.pas

Does anyone know how to resolve this?  I would really like to be able to play this without resorting to wine.
« Last Edit: August 27, 2013, 14:38 by Hircon »
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/
Re: [0.9.9.7|console|Linux] Game won't start: Ubuntu 13.04
« Reply #1 on: August 27, 2013, 15:53 »

Try opening a terminal yourself, and ensure it's at least 80x25, and see if it helps? Also, error.log?
Logged
at your service,
Kornel Kisielewicz

Hircon

  • Private
  • *
  • Offline Offline
  • Posts: 4
  • Lost Soul
    • View Profile
Re: [0.9.9.7|console|Linux] Game won't start: Ubuntu 13.04
« Reply #2 on: August 28, 2013, 14:29 »

I get 80x24 when I open a terminal, would that be a problem?

error.log just gives the same information:

Quote
----------------------------------------------------------------------
Timestamp   : 28-8-13 15:28:02
Error level : FATAL EXCEPTION
Message     : Fatal exception encountered

An unhandled exception occurred at $00000000004D8ABA :
EAccessViolation : Access violation
  $00000000004D8ABA line 520 of ../fpcvalkyrie/src/vnode.pas
  $00000000004D8CD6 line 569 of ../fpcvalkyrie/src/vnode.pas
  $000000000048D5BB line 51 of ../fpcvalkyrie/src/vsystem.pas
  $00000000005C5277 line 66 of ../fpcvalkyrie/src/vio.pas
  $00000000004836BE line 386 of src/doomio.pas
  $000000000046C101 line 226 of src/doombase.pas

----------------------------------------------------------------------
Logged

Hircon

  • Private
  • *
  • Offline Offline
  • Posts: 4
  • Lost Soul
    • View Profile
Re: [0.9.9.7|console|Linux] Game won't start: Ubuntu 13.04
« Reply #3 on: August 28, 2013, 14:35 »

Just found out I can start the game up using xterm, which I couldn't do yesterday. Not sure what exactly changed.
Logged

Kornel Kisielewicz

  • God Hand
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 4562
    • View Profile
    • http://chaosforge.org/
Re: [0.9.9.7|console|Linux] Game won't start: Ubuntu 13.04
« Reply #4 on: August 28, 2013, 14:40 »

You need to manually resize the terminal to at least 80x25, because DoomRL can't do that and crashes :<
Logged
at your service,
Kornel Kisielewicz

Hircon

  • Private
  • *
  • Offline Offline
  • Posts: 4
  • Lost Soul
    • View Profile
Re: [0.9.9.7|console|Linux] Game won't start: Ubuntu 13.04
« Reply #5 on: August 28, 2013, 16:33 »

That fixed it for console mode thanks!

It still gives the same error if I try to run it without -console though, even with the window resized.
Logged

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: [0.9.9.7|console|Linux] Game won't start: Ubuntu 13.04
« Reply #6 on: August 28, 2013, 18:58 »

That is probably related to config.lua.  Look for the line with
Graphics = "TILES"
and change it to
Graphics = "CONSOLE"
and that should make it default to running as a console program, even without the -console flag.
Logged
I computed, therefore I was.

slave

  • Elder
  • Corporal
  • *
  • *
  • Offline Offline
  • Posts: 43
  • (ง ͠° ͟ʖ ͡°)ง
    • View Profile
Re: [0.9.9.7|console|Linux] Game won't start: Ubuntu 13.04
« Reply #7 on: August 28, 2013, 19:58 »

You really do need a more informative error message for this situation.
Logged

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: [0.9.9.7|console|Linux] Game won't start: Ubuntu 13.04
« Reply #8 on: August 28, 2013, 20:01 »

Well, yes and no.  There are three shell scripts that run doomrl using the correct settings (window size 80x25, with the -console flag), but it seems that there are people who don't use those launch scripts to get their version of the game running.  Completely understandable.

Though I think I need to check if the tiles are actually stored in the Linux WADs.  That could be a reason why things are broken.
Logged
I computed, therefore I was.

thelaptop

  • Chaos Fanatic!
  • Grand Inquisitor
  • Apostle
  • *
  • *
  • Offline Offline
  • Posts: 2530
    • View Profile
Re: [0.9.9.7|console|Linux] Game won't start: Ubuntu 13.04
« Reply #9 on: August 28, 2013, 20:07 »

You need to manually resize the terminal to at least 80x25, because DoomRL can't do that and crashes :<
That's also because Kornel doesn't like to code things to play nice on Linux.  Like that "double-escape" thing that can be fixed with careful choice of terminal control.  >.>
Logged
I computed, therefore I was.
Pages: [1]