Announcement

Collapse
No announcement yet.

Getting Qrack to compile in Linux (Ubuntu 9.10) Video included!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #46
    Originally posted by bluntz View Post
    I am having trouble setting up code::blocks correctly and other
    headaches so lets just test what we have for now.
    My quake dir is /username/quake/ and qrack from commandline works right for me, sometimes I may heve to do it a few times before pulse sets up sound though.
    Here is what I built of it on Lucid

    BETA

    http://quakeone.dyndns.org/qrack-1.60.1_1.6-1_i386.deb
    P.S.
    NEVER RQ your rig....hehe

    I installed the DEB, and I'm getting the same error I get before (using my own compile)

    ******@******-desktop:~/quake$ ./qrack-sdl -width 1440 -height 900 -fullscreen
    Added packfile ./id1/pak0.pak (339 files)
    Added packfile ./id1/pak1.pak (85 files)
    Added packfile ./qrack/pak0.pak (131 files)
    Console initialized
    UDP Initialized
    Using XFree86-VidModeExtension Version 2.2
    GL_VENDOR: NVIDIA Corporation
    GL_RENDERER: GeForce 7800 GT/PCI/SSE2/3DNOW!
    GL_VERSION: 2.1.2 NVIDIA 195.36.15
    Multitexture extensions found
    Enabled 4 texture units on hardware
    Video mode 1440x900 initialized.
    Loaded 2 corona textures
    Sound sampling rate: 48000 Hz
    CDAudio_Init: No CD in drive.
    CDAudio_Init: CD contains no audio tracks.
    CD Audio Initialized.
    Exe: 17:31:32 Nov 2 2010
    Hunk allocation: 128.0 MB

    Qrack version 1.60 (build 3172)


    [1d][1e][1e][1e][1e][1e][1e][1e] Qrack Initialized [1e][1e][1e][1e][1e][1e][1e][1f]
    execing quake.rc
    execing config.cfg
    execing autoexec.cfg
    bind <key> [command] : attach a command to a key
    press ESC for menu.
    ]rtimedemo demo2
    Unknown command "rtimedemo"
    ]timedemo demo2
    Playing demo from demo2.dem


    [1d][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1f]


    [02]the Grisly Grotto
    You got the shells
    qrack-sdl: gl_rpart.c:1050: AddParticle: Assertion `size > 0 && time > 0' failed.
    Received signal 6, exiting...
    ******@******-desktop:~/quake$
    It almost instantly crashes when I do "timedemo demo2" (Right when the wizard shoots its green slime) and crashes almost sporadically when I play online.
    QuakeOne.com
    Quake One Resurrection

    QuakeOne.com/qrack
    Great Quake engine

    Qrack 1.60.1 Ubuntu Guide
    Get Qrack 1.60.1 running in Ubuntu!

    Comment


    • #47
      I think I got that error in TF
      Try increasing memory first like
      blun[email protected]luntz-box:~$ qrack -fullscreen -width 1280 -height 1024 -bpp32 -mem 280 -zone 1024 -sndspeed 44100 -nocdaudio -nojoy
      And as GB showed earlier for sound.
      [email protected]:~$ SDL_AUDIODRIVER=pulse qrack -fullscreen -width 1280 -height 1024 -bpp32 -mem 280 -zone 1024 -sndspeed 44100 -nocdaudio -nojoy
      running it at the defaults 48000 crashes me and sounds like tin cans.
      I actually found an update for the slurred sound in the quakeforge project but the fix
      required editing the raw code and we need to ask Rook about it may fixed upstream.

      The only difference between my compile and yours is that patch you used that I can see.
      I made one other minor change to makefile. removing /usr/local/ to /usr instead.
      you should now be able to make a shiny button for your desktop now...
      but mines running timedemo and timerefresh just fine, if you can see this screenshot
      I think I Got Banned for Posting Those Guavaween 2010 pics of genitortures with grenades strapped to her garters and the freak hangin from hooks on a trapeze may have something to do with it ya think?
      Last edited by bluntz; 11-05-2010, 05:15 PM.
      WARNING
      May be too intense for some viewers.
      Stress Relief Device
      ....BANG HEAD HERE....
      ---------------------------
      .
      .
      .
      .
      .--------------------------

      Comment


      • #48
        Actually you didnt run it at all
        You ran your your patched 64 bit from your quake dir.
        The deb I made is 32 bit and should be run by just typing qrack if the deb will work at all for you since your not on Lucid. YMMV
        I made it a deb so it would be easy to remove.
        WARNING
        May be too intense for some viewers.
        Stress Relief Device
        ....BANG HEAD HERE....
        ---------------------------
        .
        .
        .
        .
        .--------------------------

        Comment


        • #49
          buildlog

          ok I seem to have code::blocks working almost the same as console
          while it builds with a warning from the prompt, the IDE errors on these 2 lines :

          -------------- Build: Release in qracksdl ---------------

          Compiling: ../bild/qrack-1.60.1-src/cd_sdl.c
          In file included from /home/bluntz/Desktop/bild/qrack-1.60.1-src/quakedef.h:227,
          from /home/bluntz/Desktop/bild/qrack-1.60.1-src/cd_sdl.c:31:
          /home/bluntz/Desktop/bild/qrack-1.60.1-src/world.h:55: error: expected �)� before �*� token
          /home/bluntz/Desktop/bild/qrack-1.60.1-src/world.h:58: error: expected �)� before �*� token
          Process terminated with status 1 (0 minutes, 0 seconds)
          2 errors, 0 warnings
          world.h
          line 55
          int SV_HullPointContents (hull_t *hull, int num, vec3_t p);
          line 58
          qboolean SV_RecursiveHullCheck (hull_t *hull, int num, float p1f, float p2f, vec3_t p1, vec3_t p2, trace_t *trace);
          Last edited by bluntz; 11-10-2010, 12:23 PM.
          WARNING
          May be too intense for some viewers.
          Stress Relief Device
          ....BANG HEAD HERE....
          ---------------------------
          .
          .
          .
          .
          .--------------------------

          Comment


          • #50
            Well I dont know what i did but now it is failing me too
            qrack-glx: gl_rpart.c:1050: AddParticle: Assertion `size > 0 && time > 0' failed.
            Received signal 6, exiting...
            [email protected]:~/quake$
            Coincidence that gl_rpart.c 1050 is throwing more errors?
            this was the TF error also and since your using the SDL build and me GLX I find it unlikely
            we would get the same file pissing itself.
            Last edited by bluntz; 11-29-2010, 04:28 PM.
            WARNING
            May be too intense for some viewers.
            Stress Relief Device
            ....BANG HEAD HERE....
            ---------------------------
            .
            .
            .
            .
            .--------------------------

            Comment


            • #51
              That assertion is just a break point if the condition is met, it's basically a debug error that points to invalid parameters passed to that function.
              www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

              Comment


              • #52
                If Particle Style is set to classic
                Timedemo demo2 runs fine.
                My sound has been giving me some issues .I have to do a
                killall pulseaudio
                and quickly start qrack to make it run.
                Last edited by bluntz; 01-29-2011, 10:25 PM.
                WARNING
                May be too intense for some viewers.
                Stress Relief Device
                ....BANG HEAD HERE....
                ---------------------------
                .
                .
                .
                .
                .--------------------------

                Comment


                • #53
                  wHAT EVER HAPPENED TO THE DAYS OF YOUTH, WHEN WE were bored, and had all the time in the world to just do things?!
                  www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

                  Comment


                  • #54
                    Originally posted by R00k View Post
                    wHAT EVER HAPPENED TO THE DAYS OF YOUTH, WHEN WE were bored, and had all the time in the world to just do things?!
                    We grew up and tried to get Qrack 2.x to run under Linux! *nudge nudge hint hint*

                    *Plz don't hit me*
                    QuakeOne.com
                    Quake One Resurrection

                    QuakeOne.com/qrack
                    Great Quake engine

                    Qrack 1.60.1 Ubuntu Guide
                    Get Qrack 1.60.1 running in Ubuntu!

                    Comment


                    • #55
                      I know, im hoping by june 22nd to have 2.0 on windows, linux, and osx.
                      www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

                      Comment


                      • #56
                        Originally posted by R00k View Post
                        I know, im hoping by june 22nd to have 2.0 on windows, linux, and osx.
                        Music to my ears!

                        I'll be one of your first testers!

                        P.S Your avatar is hilarious! (seen the video )
                        Last edited by Phenom; 01-30-2011, 12:31 AM.
                        QuakeOne.com
                        Quake One Resurrection

                        QuakeOne.com/qrack
                        Great Quake engine

                        Qrack 1.60.1 Ubuntu Guide
                        Get Qrack 1.60.1 running in Ubuntu!

                        Comment


                        • #57
                          Got a slightly new issue to post:

                          Currently using Fedora - dependencies are all installed, albeit under different names.

                          Qrack compile goes just fine, no errors.
                          All files, pak, id1 etc are all lowercase.

                          Problem happens after copying the glx and sdl over to the quake directory.
                          Issuing ./qrack-sdl or ./qrack-glx (with or without fullscreen) I get this particular issue. Qrack starts up, and I get the opening sound and a flash of the menu but immediately crashes with the following:

                          [[email protected] quake]$ ./qrack-sdl
                          Added packfile ./id1/pak0.pak (339 files)
                          Added packfile ./id1/pak1.pak (85 files)
                          Console initialized
                          UDP Initialized
                          Using XFree86-VidModeExtension Version 2.2
                          GL_VENDOR: NVIDIA Corporation
                          GL_RENDERER: GeForce 9500 GT/PCI/SSE2
                          GL_VERSION: 3.0.0 NVIDIA 180.51
                          Multitexture extensions found
                          Enabled 4 texture units on hardware
                          Video mode 800x600 initialized.
                          Couldn't load corona0 image
                          Couldn't load particlefont image
                          Couldn't load water_caustic image
                          Couldn't load solidskytexture image
                          Couldn't load alphaskytexture image
                          Couldn't load blood_splat01 image
                          Couldn't load blood_splat02 image
                          Couldn't load blood_splat03 image
                          Couldn't load explo_burn01 image
                          Couldn't load particle_burn01 image
                          Couldn't load glow2 image
                          Sound sampling rate: 48000 Hz
                          CDAudio_Init: No CD in drive.
                          CDAudio_Init: CD contains no audio tracks.
                          CD Audio Initialized.
                          Exe: 02:22:04 Feb 6 2011
                          Hunk allocation: 128.0 MB

                          Qrack version 1.60 (build 326


                          [1d][1e][1e][1e][1e][1e][1e][1e] Qrack Initialized [1e][1e][1e][1e][1e][1e][1e][1f]
                          execing quake.rc
                          execing default.cfg
                          execing config.cfg
                          execing autoexec.cfg
                          3 demo(s) in loop
                          Playing demo from demo1.dem
                          execing config.cfg
                          execing autoexec.cfg
                          press ESC for menu.

                          [1d][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1f]

                          [01][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][02][03][02]
                          [04]ProQuake [0f]Demo[0f] Version 3.50[06]
                          [07][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08]

                          [1d][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1e][1f]

                          [02]The Abandoned Base
                          Received signal 11, exiting...
                          Couldn't write config.cfg

                          This all happens fairly instantaneously and every *once* in a while I am able to hit escape for the menu fast enough for qrack to stay open for a few seconds longer. Signal 11 is typically some type of memory allocation error.

                          Any ideas guys?

                          Comment


                          • #58
                            do you have a /qrack folder in the /quake folder?

                            it doesnt find your qrack specific media,
                            Couldn't load corona0 image
                            Couldn't load particlefont image
                            Couldn't load water_caustic image
                            Couldn't load solidskytexture image
                            Couldn't load alphaskytexture image
                            Couldn't load blood_splat01 image
                            Couldn't load blood_splat02 image
                            Couldn't load blood_splat03 image
                            Couldn't load explo_burn01 image
                            Couldn't load particle_burn01 image
                            Couldn't load glow2 image
                            . Could be the problem
                            www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

                            Comment


                            • #59
                              run it through valgrind or gdb (warning: valgrind, ati, and direct rendering is spammy as heck, and not recommended)
                              Some Game Thing

                              Comment


                              • #60
                                it might be permissions, it said it couldn't write.or maybe dir doesn't exist to write to.
                                Did you say Fedora? If I remember right your path is /usr/local while ubu is
                                just /usr maybe something there.
                                Last edited by bluntz; 02-07-2011, 08:55 PM.
                                WARNING
                                May be too intense for some viewers.
                                Stress Relief Device
                                ....BANG HEAD HERE....
                                ---------------------------
                                .
                                .
                                .
                                .
                                .--------------------------

                                Comment

                                Working...
                                X