Announcement

Collapse
No announcement yet.

Put cheatfree on dm.quaketx

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

  • Ok, so who compiled the linux binary "pqlinux" on quakeone.com/proquake ?

    I was able to successfully add R00k's code, but of course I'm on a 32bit machine and dm.quaketx.com si 64bit. The precompiled binary runs fine, but my compiled binary only runs on my 32bit machine.

    With that said, I'm no expert on cross-compiling 32bit to run on 64bit machines. I did, however, do this from the 64 bit server:
    CC="gcc -m32" make unixded
    Which resulted with a binary (no errors during compile) - however, this gives me a segmentation fault when I try to run it (./unixded)

    Any tips?

    Comment


    • Can you post the makefile?
      also need to know what distro is running on the server it is targeted for.
      Just guessing as I have to go:
      1.You did not patch it for 64 bit and didnt use a 64 bit compiler.
      2.the makefile - make sure the paths are correct for the distro ie usr/local/bin for rpm based
      or /usr/bin for deb based box.
      I used zoids makefile but had to edit for ubuntu to make mine.
      See Phenom or Lerster for help.
      Good luck
      Last edited by bluntz; 08-09-2011, 07:49 PM.
      WARNING
      May be too intense for some viewers.
      Stress Relief Device
      ....BANG HEAD HERE....
      ---------------------------
      .
      .
      .
      .
      .--------------------------

      Comment


      • Originally posted by Magnus View Post
        If the majority of DM'ers didn't like it, they wouldn't play there. Fact remains, they play there because we (the majority) like the server.

        If omi had a big dick he'd find a way to complain about that too.. He complains about everything.
        How's the lambo brah?

        Amusing that we tolerate the derailing of threads, posting unrelated screen shots and demos, insults and shit talking just because it's me. I'm glad the thread is back on track. Crow is, of course, worthless in TGs, 2 months into a community I have 12 years of stripes in, and anything he says on here is negligible. The rest of you, well, lol. Lennox if I'm garbage than feel free to 1v1 me, forum warrior.

        This thread had an original purpose, and you come on here and shit all over it and then blame me for my response and attitude. How'd you think I was going to respond to some worthless newb trying to trash me, lol?
        Last edited by omicron; 08-09-2011, 08:27 PM.

        Comment


        • Originally posted by Tremor View Post
          Ok, so who compiled the linux binary "pqlinux" on quakeone.com/proquake ?

          I was able to successfully add R00k's code, but of course I'm on a 32bit machine and dm.quaketx.com si 64bit. The precompiled binary runs fine, but my compiled binary only runs on my 32bit machine.

          With that said, I'm no expert on cross-compiling 32bit to run on 64bit machines. I did, however, do this from the 64 bit server:
          CC="gcc -m32" make unixded
          Which resulted with a binary (no errors during compile) - however, this gives me a segmentation fault when I try to run it (./unixded)

          Any tips?
          When you got the segfault did you happen to have the unixded copied over to the /quake folder? Or was it just executed in the folder where it landed after compilation?
          www.quakeone.com/qrack | www.quakeone.com/cax| http://en.twitch.tv/sputnikutah

          Comment


          • Originally posted by bluntz View Post
            Rook has the answer
            Sound can be misleading if used to your advantage it is a potent weapon.
            Never trust your ears.
            Sound tells me everything. Ask Quaker Oats, the other day he made the "oof" going down steps/dropping noise, going from Red Armor to Red Armor Tunnel leading to Mound, and I was waiting on him ,as soon as he made the noise, I was like BZZZZZZZT down the tunnel hole,and had him trapped !

            He suicided :F
            Want to get into playing Quake again? Click here for the Multiplayer-Startup kit! laissez bon temps rouler!

            Comment


            • R00k, It was executed in the source folder. I never attempted to put it in the quake folder because when I execute the compiled binary in the source folder (compiled on 32bit), it does go through the motions, trying to find gfx.wad and so on. Whereas the one compiled on 64bit simply segfaults instantaneously.
              Last edited by Tremor; 08-09-2011, 10:44 PM.

              Comment


              • 64 bit bin wont run on a 32 bit box but 32 will run on 64.Sounds like it may be built just fine.
                Try running it on a 64 bit build,if you don't have one there just download a live image, burn to cd and boot it on your 32 bit box.
                WARNING
                May be too intense for some viewers.
                Stress Relief Device
                ....BANG HEAD HERE....
                ---------------------------
                .
                .
                .
                .
                .--------------------------

                Comment


                • That's not exactly what is happening.

                  binary built on 32 bit machine:
                  1. Works fine on 32 bit machine
                  2. Doesn't do anything - absolutely nothing - on 64bit

                  binary built on 64 bit machine (regardless if I set cflags to -m32) compiles fine but:
                  1. segfaults immediately and nothing else

                  The big question is this: The precompiled linux binary (3.90) available for download on quakeone.com/proquake works in both 32 and 64 bit environments. How was this accomplished? (obviously through some sort of cross-compiling technique)

                  Comment


                  • OK, quick update. Here is the latest and greatest of where I've been. R00k was kind enough to post this question for me at inside3d, and I've since added to it.

                    Inside3d Forums :: View topic - Linux compile Quake

                    Comment


                    • I am wondering why you spec the ming32 compiler in 64 bit build.
                      But aside from that the 32 bin should run on the 64 unless maybe the static
                      libraries call are not finding what they need. Maybe copy those files in just in case and try again.
                      Lerster I think got his qrack 64 build working in Phenoms Qrack 1.60 buildup
                      thread here.
                      WARNING
                      May be too intense for some viewers.
                      Stress Relief Device
                      ....BANG HEAD HERE....
                      ---------------------------
                      .
                      .
                      .
                      .
                      .--------------------------

                      Comment


                      • Bluntz,

                        I found the problem earlier today:

                        On the inside3d forum, I mentioned that instead of trying to build with -m32...I noticed that the precompiled version was statically linked, so I attempted to statically link on compile via this method:
                        ./configure
                        make SHARED=0 'gcc -static' unixded, which apparantly is equivilant to "unixded_LDFLAGS = -static" added to makefile.in

                        Either way, I get a binary that is statically linked.
                        So, I tried this on the unmodified proquake 3.90 src, and it actually runs just fine on the 64bit server...so either there is a problem with R00k's code, or I screwed something up when adding R00k's code to sv_main.c

                        Either way, I know that I can compile proquake from src on a 32 bit machine that works on both 32 and 64 bit now. So, I'll get with r00k and see if we can track down the coding issue.

                        Thanks for your help!

                        Comment


                        • Glad I could help.


                          p.s. I bet you copied and pasted
                          look for invisible line breaks in the pasted code
                          C is not the same from arch to arch. better to write code in by hand using vi
                          Or if your really lazy use meld
                          All my messages will self destruct in 24 hours........
                          Last edited by bluntz; 08-10-2011, 07:32 PM.
                          WARNING
                          May be too intense for some viewers.
                          Stress Relief Device
                          ....BANG HEAD HERE....
                          ---------------------------
                          .
                          .
                          .
                          .
                          .--------------------------

                          Comment


                          • My brain just blew up.

                            Comment


                            • I've never once cheated at quake. I've been playing quake since i was about 5 or 6

                              Comment


                              • ^ so you started two years ago?

                                Comment

                                Working...
                                X