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

  • #16
    sounds like you missed a cap somewhere in the quake dir.
    Did you run the fixskins.sh in each level of dir?
    WARNING
    May be too intense for some viewers.
    Stress Relief Device
    ....BANG HEAD HERE....
    ---------------------------
    .
    .
    .
    .
    .--------------------------

    Comment


    • #17
      command start up line

      [email protected]:~/quake$ ./qrack191-glx -fullscreen -width 1280 -height 1024 -bpp32 -heapsize 256000 -game qrack
      I use this to run it . The condump command doesnt work and the
      codec_capture doesnt either but kinda expected that.

      I updated it from 160 to 190 using some files from the build release.
      Nvidia 9400 gt 1024MB with 2.0 ghz Core 2 Duo 2gb ram
      Ubuntu 10.04 LTS
      I had to recover my box got hosed from a udev update dropping me into busybox with initramfs errors.
      WARNING
      May be too intense for some viewers.
      Stress Relief Device
      ....BANG HEAD HERE....
      ---------------------------
      .
      .
      .
      .
      .--------------------------

      Comment


      • #18
        i still dont get sound
        www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

        Comment


        • #19
          Originally posted by R00k View Post
          i still dont get sound

          What sound server are you using? PulseAudio? OSS? Alsa?

          The default should be PulseAudio in Ubuntu 10.04. I'm using 9.10 kuz im olsk00l u kno hEhE.

          Don't quite remember what I did to get my sound working, think I messed within the command "alsamixer" and right-clicked my volume icon into properties and pressed buttons, sorry I'm not much of a helping hand here. I've actually had your issue 3 times now each time I reinstalled Ubuntu, and I just clicked around in the above suggested stuff and sound magically appeared in qrack-SDL & qrack-glx!

          But ya, give "alsamixer" a try in your terminal and let me know what you find!
          Last edited by Phenom; 09-27-2010, 09:12 PM.
          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


          • #20
            Pulseaudio management

            Have a look at this man page
            Ubuntu Manpage: padevchooser - PulseAudio Device Chooser
            I am running this tool as well as Ear Candy. I would install the former first. I had to install Ear Candy to get Flash audio recording working.
            When I built the newest DarkPlaces I used
            make cl-release DP_SOUND_API=OSS
            I have sound now but it segfaults when I try to connect to a server.
            Make sure you have the alsa and OSS wrappers installed for best compatibility.
            Last edited by bluntz; 09-29-2010, 12:59 PM.
            WARNING
            May be too intense for some viewers.
            Stress Relief Device
            ....BANG HEAD HERE....
            ---------------------------
            .
            .
            .
            .
            .--------------------------

            Comment


            • #21
              Fixing the caps

              I see some of you seem to have the weird errors that you get when you have missed some capitols either in the quake directories or
              when building the source ,so I am including the old fixskins method of dealing with the issue.
              by running the fixskins script in each level of the quake dir you can rename them easily.
              (saved from the Loki installer)
              Attached Files
              Last edited by bluntz; 04-13-2012, 05:44 PM.
              WARNING
              May be too intense for some viewers.
              Stress Relief Device
              ....BANG HEAD HERE....
              ---------------------------
              .
              .
              .
              .
              .--------------------------

              Comment


              • #22
                Sound

                Make sure you have the alsa-oss wrapper mines .1017-3
                I think what Phenom is directing you to is Ctrl + M in the alsamixer gui
                It mutes alsa and is muted by default. look at the bottom of the gui for some square boxes. One of those should go green when its on.
                WARNING
                May be too intense for some viewers.
                Stress Relief Device
                ....BANG HEAD HERE....
                ---------------------------
                .
                .
                .
                .
                .--------------------------

                Comment


                • #23
                  I can upload the bins I compiled if you want them.
                  It sometimes crashes if too many sounds go off and the player models
                  look a bit primative sometimes the wires show..eh
                  But it plays and looks great otherwise. I really like the blood sprays they are off the hook!
                  Great job
                  WARNING
                  May be too intense for some viewers.
                  Stress Relief Device
                  ....BANG HEAD HERE....
                  ---------------------------
                  .
                  .
                  .
                  .
                  .--------------------------

                  Comment


                  • #24
                    Bug

                    Trying the TF mod Crashes it when firing some weapons with this error:
                    qrack190-glx: gl_rpart.c:1050: AddParticle: Assertion `size > 0 && time > 0' failed.
                    Received signal 6, exiting...
                    [email protected]:~/quake$
                    When its run with this string:
                    [email protected]:~/quake$ ./qrack190-glx -fullscreen -width 1280 -height 1024 -bpp32 -mem 280 -zone 1024 -sndspeed 44100 -nocdaudio -nojoy -refreshrate 85 -game fortress -verbose
                    WARNING
                    May be too intense for some viewers.
                    Stress Relief Device
                    ....BANG HEAD HERE....
                    ---------------------------
                    .
                    .
                    .
                    .
                    .--------------------------

                    Comment


                    • #25
                      You can remove that assert call in gl_rpart.c and replace it with
                      Code:
                      	if (size < 0) 
                      	{
                      		Sys_Error ("AddParticle: Invalid size. part_type(%d)", type);
                      	}
                      	
                      	if (time < 0)
                      	{
                      		Sys_Error ("AddParticle: Invalid time. part_type(%d)", type);
                      	}
                      Which will point you to which particle they are using, then figure out where in TF it's failing. I dont even think there is a TF nq server running?? What version of TF is it so I can test?
                      Last edited by R00k; 10-17-2010, 02:47 PM.
                      www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

                      Comment


                      • #26
                        TF muzzleflash

                        The server is quake.thisserversucks.com:26002
                        I have no problem with muzzleflash in ctf it does crash sometimes.
                        WARNING
                        May be too intense for some viewers.
                        Stress Relief Device
                        ....BANG HEAD HERE....
                        ---------------------------
                        .
                        .
                        .
                        .
                        .--------------------------

                        Comment


                        • #27
                          This statement? line 1050

                          if (!(particleimage = GL_LoadTextureImage("textures/muzzleflash", "qmb:muzzleflash", 128, 128, TEX_ALPHA | TEX_COMPLAIN)))
                          return;
                          ADD_PARTICLE_TEXTURE(ptex_muzzleflash, particleimage, 0, 1, 0, 0, 256, 256);
                          WARNING
                          May be too intense for some viewers.
                          Stress Relief Device
                          ....BANG HEAD HERE....
                          ---------------------------
                          .
                          .
                          .
                          .
                          .--------------------------

                          Comment


                          • #28
                            Mega TF

                            The old TF runs ok.
                            Mega TF gives the errors.
                            WARNING
                            May be too intense for some viewers.
                            Stress Relief Device
                            ....BANG HEAD HERE....
                            ---------------------------
                            .
                            .
                            .
                            .
                            .--------------------------

                            Comment


                            • #29
                              It is very cool that qrack seems to be coming to Linux.

                              Linux isn't Magical Mystery Land, but it's a nice alternative that runs on a lot of hardware and it's free.

                              About sound and SDL: If your application uses SDL for sound, these might be of use:

                              SDL_envvars - SDL Documentation Wiki

                              You can tell SDL which audio driver to use. For example,

                              SDL_AUDIODRIVER=pulse ./qrack-sdl

                              should make it use the pulseaudio driver. Pulseaudio is a sound server that sits on top of either ALSA or OSS, so applications are supposed to talk to pulseaudio instead of directly to ALSA or OSS. If you have pulseaudio generally working in your ubuntu, then SDL should be able to use the pulse audio driver and work.

                              Just a piece of information that might or might not be useful.
                              Scout's Journey
                              Rune of Earth Magic

                              Comment


                              • #30
                                Thanks for the info GB, I'll check out that link, and try to use pulse for sound with SDL.

                                Bluntz, I'll look at that code in gl_rpart.c. Make sure you have muzzleflash images for sure! Maybe even breaking down that IF statement:
                                Code:
                                particleimage = GL_LoadTextureImage("textures/muzzleflash", qmb:muzzleflash", 128, 128, TEX_ALPHA | TEX_COMPLAIN);
                                
                                if !(particleimage) return;
                                
                                ADD_PARTICLE_TEXTURE(ptex_muzzleflash, particleimage, 0, 1, 0, 0, 256, 256);
                                check your image sizes for 256x256...
                                I'll even back track through and find when it calls for muzzleflashes..

                                I downloaded TF2.8 (original), couldnt find the source but found the source to 2.5, I guess I need to look at MEGATF source Honestly I never really played TF. I did load it up locally. The hook sure could use an update
                                Hmm, (sound of mechanical wheels turning), wonder I should...
                                www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

                                Comment

                                Working...
                                X