Announcement

Collapse
No announcement yet.

Hooker gets soaked.

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

  • #16
    Originally posted by R00k View Post
    Ok,
    installed ubuntu,
    installed codeblocks, (created a new project)
    installed mesa dev tools,
    installed jpeg lib headers,

    hella errors.


    its not time to fix one function it's time to install everything.... then hope it compiles in 64bit setting)...

    anyone?
    Did you patch it before you compiled it? I am only getting the errors I posted.
    [email protected]:~/Desktop/qsrc/qrack-1.60.1-src$ make release

    ** Release Build **
    Compiling >> cl_demo.c ...
    Compiling >> cl_input.c ...
    Compiling >> cl_main.c ...
    Compiling >> cl_parse.c ...
    Compiling >> cl_tent.c ...
    Compiling >> chase.c ...
    Compiling >> cmd.c ...
    Compiling >> common.c ...
    Compiling >> console.c ...
    Compiling >> crc.c ...
    Compiling >> cvar.c ...
    Compiling >> corona.c ...
    Compiling >> gl_draw.c ...
    Compiling >> gl_image.c ...
    Compiling >> gl_mesh.c ...
    Compiling >> gl_model.c ...
    Compiling >> gl_refrag.c ...
    Compiling >> gl_rlight.c ...
    Compiling >> gl_rmain.c ...
    Compiling >> gl_rmisc.c ...
    Compiling >> gl_rpart.c ...
    Compiling >> gl_rsurf.c ...
    Compiling >> gl_screen.c ...
    Compiling >> gl_smokes.c ...
    Compiling >> gl_warp.c ...
    Compiling >> host.c ...
    Compiling >> host_cmd.c ...
    Compiling >> iplog.c ...
    Compiling >> keys.c ...
    Compiling >> location.c ...
    Compiling >> menu.c ...
    Compiling >> mathlib.c ...
    Compiling >> nehahra.c ...
    Compiling >> net_dgrm.c ...
    Compiling >> net_loop.c ...
    Compiling >> net_main.c ...
    Compiling >> net_vcr.c ...
    Compiling >> net_udp.c ...
    Compiling >> net_bsd.c ...
    Compiling >> pr_cmds.c ...
    Compiling >> pr_edict.c ...
    Compiling >> pr_exec.c ...
    Compiling >> r_part.c ...
    Compiling >> sbar.c ...
    Compiling >> slist.c ...
    Compiling >> sv_main.c ...
    Compiling >> sv_phys.c ...
    Compiling >> sv_move.c ...
    Compiling >> sv_user.c ...
    Compiling >> zone.c ...
    Compiling >> view.c ...
    Compiling >> version.c ...
    Compiling >> wad.c ...
    Compiling >> world.c ...
    world.c: In function ‘SV_TouchLinks’:
    world.c:267: warning: cast from pointer to integer of different size
    world.c: In function ‘SV_ClipToLinks’:
    world.c:723: warning: cast from pointer to integer of different size
    Compiling >> sys_unix.c ...
    Compiling >> snd_dma.c ...
    Compiling >> snd_mem.c ...
    snd_mem.c: In function ‘DumpChunks’:
    snd_mem.c:234: warning: cast from pointer to integer of different size
    Compiling >> snd_mix.c ...
    Compiling >> vid_common_gl.c ...
    Compiling >> vid_glx.c ...
    In file included from vid_glx.c:39:
    /usr/include/X11/extensions/xf86dga.h:9:2: warning: #warning "xf86dga.h is obsolete and may be removed in the future."
    /usr/include/X11/extensions/xf86dga.h:10:2: warning: #warning "include <X11/extensions/Xxf86dga.h> instead."
    Compiling >> snd_oss.c ...
    Compiling >> cd_unix.c ...

    **Built quake/qrack-glx client with cflags:
    gcc 4.4.5
    -I/usr/include -I/usr/X11R6/include -Dstricmp=strcasecmp -DGLQUAKE -DBASEDIR='.' -fno-strict-aliasing

    **Linking quake/qrack-glx client with flags:
    -lm -pthread -ldl
    -L/usr/X11R6/lib64 -lX11 -lXext -lXxf86vm -lXxf86dga
    -L/usr/lib64 -L/usr/X11R6/lib64 -lGL -ljpeg -lpng12



    Compilation finished succesfully

    'make install' to install in your quake home dir.

    'make install_root' if was built with DATADIR option enabled, you must gain root privileges.

    [email protected]:~/Desktop/qsrc/qrack-1.60.1-src$
    WARNING
    May be too intense for some viewers.
    Stress Relief Device
    ....BANG HEAD HERE....
    ---------------------------
    .
    .
    .
    .
    .--------------------------

    Comment


    • #17
      I am not using codeblocks, just the terminal.
      find my edited makefile here.
      I can not help you with Ubuntu as I too find it like a walmart windows wanna be.
      I am on Debian Stable.
      Attached Files
      WARNING
      May be too intense for some viewers.
      Stress Relief Device
      ....BANG HEAD HERE....
      ---------------------------
      .
      .
      .
      .
      .--------------------------

      Comment


      • #18
        dumpchunks isnt even called, it's // commented out so u can just ignore that.

        The compile errors are actually just warnings, which may or may not cause a bug when executed, though your executable will still build.

        edit: btw lndxr posted this a couple years ago --> http://quakeone.com/74018-post6.html
        Last edited by R00k; 07-17-2012, 11:53 AM.
        www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

        Comment


        • #19
          Originally posted by R00k View Post
          dumpchunks isnt even called, it's // commented out so u can just ignore that.

          The compile errors are actually just warnings, which may or may not cause a bug when executed, though your executable will still build.
          It does build and it runs but has missing menus,png support seems broken
          and I dont see a cvar for rain.
          WARNING
          May be too intense for some viewers.
          Stress Relief Device
          ....BANG HEAD HERE....
          ---------------------------
          .
          .
          .
          .
          .--------------------------

          Comment


          • #20
            Thinking back it seems that you switched your pak for 1.6 didn’t you?
            the one I have is like 61mb and may not be the one we used on 1.6?
            Perhaps this is why my menus are missing, if I remove it I get the original menus to show.
            It is missing something from the dir it seems so that it segfaults when I take a ss.
            most likely due to missing content rather than a bug.
            [email protected]:~/quake1$ ./qrack-glx -fullscreen
            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: ATI Technologies Inc.
            GL_RENDERER: AMD Radeon HD 6800 Series
            GL_VERSION: 4.1.11161 Compatibility Profile Context
            Multitexture extensions found
            Enabled 2 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 player.
            CD Audio Initialized
            Exe: 14:37:17 Jul 16 2012
            Hunk allocation: 128.0 MB

            Qrack version 1.60 (build 3794)


            [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
            couldn't exec autoexec.cfg
            3 demo(s) in loop
            Playing demo from demo1.dem
            execing config.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]

            [02]the Necropolis
            You got the shells
            You got the Grenade Launcher
            Received signal 11, exiting...
            [email protected]:~/quake1$
            Last edited by bluntz; 07-17-2012, 01:05 PM.
            WARNING
            May be too intense for some viewers.
            Stress Relief Device
            ....BANG HEAD HERE....
            ---------------------------
            .
            .
            .
            .
            .--------------------------

            Comment


            • #21
              Where are you on this ,I see you were reading the old thread.
              Hopefully you installed whatever libs and lib-devs we used.
              Interestingly running timedemo in q3 mode doesn't crash it anymore.
              Still have not found your original pak for this though and get this.
              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
              WARNING
              May be too intense for some viewers.
              Stress Relief Device
              ....BANG HEAD HERE....
              ---------------------------
              .
              .
              .
              .
              .--------------------------

              Comment


              • #22
                I went to lunch had some beer....

                are u using the 1.60 source or the modified 1.90 u were doing?

                http://www.quaddicted.com/files/engines/qrack160.zip has the old 1.6 pak0.pak

                http://www.quaddicted.com/files/engines/ has backups that I dont even have anymore
                www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

                Comment


                • #23
                  just the 1.6 for now. I prolly got some stuff on my cnc box in the shop still running hardy on.
                  WARNING
                  May be too intense for some viewers.
                  Stress Relief Device
                  ....BANG HEAD HERE....
                  ---------------------------
                  .
                  .
                  .
                  .
                  .--------------------------

                  Comment


                  • #24
                    Getting closer, I had to rebuild all the images to Targa to get the hud to work.
                    [email protected]:~/quake1$ ./qrack-glx -fullscreen -mem 256
                    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: ATI Technologies Inc.
                    GL_RENDERER: AMD Radeon HD 6800 Series
                    GL_VERSION: 4.1.11161 Compatibility Profile Context
                    Multitexture extensions found
                    Enabled 2 texture units on hardware
                    Video mode 800x600 initialized.
                    Loaded 2 corona textures
                    Sound sampling rate: 48000 Hz
                    CDAudio_Init: No CD in player.
                    CD Audio Initialized
                    Exe: 14:37:17 Jul 16 2012
                    Hunk allocation: 256.0 MB

                    Qrack version 1.60 (build 3794)


                    [1d][1e][1e][1e][1e][1e][1e][1e] Qrack Initialized [1e][1e][1e][1e][1e][1e][1e][1f]
                    execing quake.rc
                    execing config.cfg
                    press ESC for menu.
                    I still have to convert all the stuff in the wad but menus are working now.
                    I added all the PNG and JPEG libs I could find but they did not display,I will recompile a new copy to see if it utilizes them tomorrow.I still dont know what's up with it crashing when taking a ss,but it writes a 0 byte snap in jpeg format in the folder so maybe it is write permissions.

                    Also.
                    Now that it can actually use the q3 textures it crashes like it did before when I timedemo in q3 mode.I am not worried about that ATM unless it causes other issues.
                    [email protected]:~/quake1$ ./qrack-glx -fullscreen -mem 256
                    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: ATI Technologies Inc.
                    GL_RENDERER: AMD Radeon HD 6800 Series
                    GL_VERSION: 4.1.11161 Compatibility Profile Context
                    Multitexture extensions found
                    Enabled 2 texture units on hardware
                    Video mode 800x600 initialized.
                    Loaded 2 corona textures
                    Sound sampling rate: 48000 Hz
                    CDAudio_Init: No CD in player.
                    CD Audio Initialized
                    Exe: 14:37:17 Jul 16 2012
                    Hunk allocation: 256.0 MB

                    Qrack version 1.60 (build 3794)


                    [1d][1e][1e][1e][1e][1e][1e][1e] Qrack Initialized [1e][1e][1e][1e][1e][1e][1e][1f]
                    execing quake.rc
                    execing config.cfg
                    press ESC for menu.
                    ]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-glx: gl_rpart.c:1050: AddParticle: Assertion `size > 0 && time > 0' failed.
                    Received signal 6, exiting...
                    Last edited by bluntz; 07-17-2012, 10:50 PM.
                    WARNING
                    May be too intense for some viewers.
                    Stress Relief Device
                    ....BANG HEAD HERE....
                    ---------------------------
                    .
                    .
                    .
                    .
                    .--------------------------

                    Comment


                    • #25
                      Changed to targa ss and it now saves 1 ss and does not crash anymore but only writes file.00 every time.However I have not recompiled it yet.Not a perm issue as it records demos.
                      WARNING
                      May be too intense for some viewers.
                      Stress Relief Device
                      ....BANG HEAD HERE....
                      ---------------------------
                      .
                      .
                      .
                      .
                      .--------------------------

                      Comment


                      • #26
                        I recompiled but nothings changed.Here is a SS.

                        Here is the bin.
                        http://www19.zippyshare.com/v/38506305/file.html
                        Last edited by bluntz; 07-18-2012, 04:37 PM.
                        WARNING
                        May be too intense for some viewers.
                        Stress Relief Device
                        ....BANG HEAD HERE....
                        ---------------------------
                        .
                        .
                        .
                        .
                        .--------------------------

                        Comment


                        • #27
                          I have done all I can with this, I hope you have luck with codeblocks as it will make it much easier to fix.
                          Demos are doing the same as ss, writing the same 0 bit file.
                          Valve and Steam are moving support to Ubuntu and actually have already ran servers on it for quite some time so maybe something can be learned from that.
                          LinuxGames - Embrace your inner penguin!
                          WARNING
                          May be too intense for some viewers.
                          Stress Relief Device
                          ....BANG HEAD HERE....
                          ---------------------------
                          .
                          .
                          .
                          .
                          .--------------------------

                          Comment


                          • #28
                            Got SS to work by changing the ss format to tga.

                            you will need this for the menus,just drop in quake folder
                            http://www52.zippyshare.com/v/94412077/file.html
                            Last edited by bluntz; 08-04-2012, 08:50 AM.
                            WARNING
                            May be too intense for some viewers.
                            Stress Relief Device
                            ....BANG HEAD HERE....
                            ---------------------------
                            .
                            .
                            .
                            .
                            .--------------------------

                            Comment


                            • #29
                              The fog works but I do not see any support for the rain in this version,am I missing something Rook?
                              WARNING
                              May be too intense for some viewers.
                              Stress Relief Device
                              ....BANG HEAD HERE....
                              ---------------------------
                              .
                              .
                              .
                              .
                              .--------------------------

                              Comment


                              • #30
                                Ya the rain code was added after v1.60
                                If u have a working make file for Linux I might be a to add the new features from the current build.
                                www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

                                Comment

                                Working...
                                X