Announcement

Collapse
No announcement yet.

Caster has gone Gold!

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

  • #16
    jscal -q /dev/input/js0
    jscal: error getting button map: Invalid argument
    jscal -u 8,0,1,2,3,4,5,16,17,10,0,0,0,0,0,0,0,0,0,0 /dev/input/js0

    The problem seem to be the 0s which are invalid.

    Comment


    • #17
      If only Steam were to nativly work on GNU/Linux. Buying/installing games and keeping them updated would be so easy.

      Comment


      • #18
        Originally posted by Kano View Post
        Back to caster, after i heard about problems with the Linux port, i played the game a bit longer to verify those. And they are definitely there when you shoot at enemies together with some other aspects which are not yet solved. To see it better i want a fps counter, so how to enable that?
        I'll look into getting it turned on. It's not rendering as best as I can tell- and we had only one tester that showed with the problem and we thought we had it squared. It looks to be something that it trips over and stalls parts of the engine one events. I'm trying to get it found and fixed so we don't have issues for people.


        Also i have got xbox gamepads and that games not allow me to select the axis it should use. It defaults to axis 0 to 3, that might be correct for most pads, but i need axis 0/1 and 3/4. You see that even from this output:
        Unfortunately, I'm stuck with the stuff that SDL provides there. I'll look into providing some overrides in the setup.ini for the next pass at this.

        The analog pads show a precision of 16. Funnyly wine + windows demo runs absolutely smooth, just the Linux port has performance issues
        It runs smoothly on either WINE or Linux on most machines, we're getting bit by varying things right at the moment.

        Comment


        • #19
          @SolidSteel144

          Steam works perfectly with wine. No tricks needed at all. But that game is extra easy, when you diff the dirs between the demo versions you will find out what i mean.

          @Svartalf

          I think a Q9300 @ 3 GHz together with a Nvidia 8800 GTS 512 should be enough for that little game... Used my own Lenny based distro btw. 64 bit variant.

          Did anybody find way to enable the level editor mentioned in:

          https://docs.google.com/Doc?docid=dd...gxfnrxgb&hl=en

          The --scene option works with the .bin file but ctrl+l does nothing.
          Last edited by Kano; 05-19-2009, 07:45 AM.

          Comment


          • #20
            Originally posted by Kano View Post
            I think a Q9300 @ 3 GHz together with a Nvidia 8800 GTS 512 should be enough for that little game... Used my own Lenny based distro btw. 64 bit variant.
            My Q9500 pastes it. My E4500 and E5500 desktops don't trip over it either. The machine I have that seems to be able to do it on demand is my T5200 based laptop- and I'd not thought of testing on it during the beta cycle. It's not a performance issue as best as I can tell- it's something in the timings that is causing it to off into the rough on me. I'm chasing it down right now. Hoping to have a fix for the people encountering the issue (not everybody is- but enough of them are that it's priority one over anything other than the day-job and the like right at the moment...)

            Did anybody find way to enable the level editor mentioned in:

            https://docs.google.com/Doc?docid=dd...gxfnrxgb&hl=en

            The --scene option works with the .bin file but ctrl+l does nothing.
            I'll check to see if it's enabled right.

            Comment


            • #21
              Originally posted by Kano View Post
              @SolidSteel144

              Steam works perfectly with wine. No tricks needed at all. But that game is extra easy, when you diff the dirs between the demo versions you will find out what i mean.
              I really wouldn't say that. There are many things that don't work right. Fonts are messed up sometimes, mouse cursor is a little off, Steam Community in-game, etc.
              Last edited by SolidSteel144; 05-19-2009, 09:14 AM.

              Comment


              • #22
                Originally posted by Kano View Post
                jscal -q /dev/input/js0
                jscal: error getting button map: Invalid argument
                jscal -u 8,0,1,2,3,4,5,16,17,10,0,0,0,0,0,0,0,0,0,0 /dev/input/js0

                The problem seem to be the 0s which are invalid.
                What kernel version?
                I have tested 2.6.29 and didn't saw my bug again.
                I will test 2.6.26 and unpatched version.
                On 2.6.26 I was able to reproduce your problem with 0s and I believe that hack worked on kernel 2.6.28-rcsomething.
                As I said before I don't see that problem on 2.6.29 even with unpatched version.
                Can you try this version?
                Last edited by sobkas; 05-19-2009, 09:31 AM.

                Comment


                • #23
                  2.6.30-rc6 used here.

                  Comment


                  • #24
                    @SolidSteel144

                    Well i can play Half-Life with it, you just need Nvidia graphics cards or you lost in most cases.

                    Comment


                    • #25
                      Originally posted by Kano View Post
                      jscal -q /dev/input/js0
                      jscal: error getting button map: Invalid argument
                      jscal -u 8,0,1,2,3,4,5,16,17,10,0,0,0,0,0,0,0,0,0,0 /dev/input/js0

                      The problem seem to be the 0s which are invalid.
                      I just wrote horrible hack for jscal to ignore buttons:
                      http://pastebin.ca/1427568

                      After patching it command:
                      jscal -u 8,0,1,3,4,5,16,17,2,-1 /dev/input/js0
                      should do the trick, but if there is still problem with camera movement(up-down is left-right) this command might help:
                      jscal -u 8,0,1,4,3,5,16,17,2,-1 /dev/input/js0

                      Just remember to set SDL_JOYSTICK_DEVICE to your js device.
                      "SDL_JOYSTICK_DEVICE=/dev/input/js0 ./caster.bin"

                      Comment


                      • #26
                        Your patch is really interesting, now it is possilbe to execute it. It works with:

                        ./jscal -u 8,0,1,4,3,2,5,16,17,-1 /dev/input/js0

                        ./jscal -c /dev/input/js0

                        Would be nice when the calibration settings would be exchanged as well to skip the -c step. I have to run the game like:

                        SDL_JOYSTICK_DEVICE=/dev/input/js0 ./caster-demo.bin

                        Without SDL_JOYSTICK_DEVICE override the games uses the values without jscal it seems. But the game is more or less unplayable for me using a pad.
                        Last edited by Kano; 05-19-2009, 01:48 PM.

                        Comment


                        • #27
                          Originally posted by Kano View Post
                          Your patch is really interesting, now it is possilbe to execute it. It works with:

                          ./jscal -u 8,0,1,4,3,2,5,16,17,-1 /dev/input/js0

                          ./jscal -c /dev/input/js0

                          Would be nice when the calibration settings would be exchanged as well to skip the -c step.
                          jscal -p /dev/input/js0 will print active calibration settings.
                          Code:
                          jscal -s 7,1,0,112,142,5534751,5534751,1,0,112,142,5534751,5534751,1,0,112,142,5534751,5534751,1,0,112,142,5534751,5534751,1,0,112,142,5534751,5534751,1,0,0,0,536870912,536870912,1,0,0,0,536870912,536870912 /dev/input/js0
                          Originally posted by Kano View Post
                          I have to run the game like:

                          SDL_JOYSTICK_DEVICE=/dev/input/js0 ./caster-demo.bin

                          Without SDL_JOYSTICK_DEVICE override the games uses the values without jscal it seems.
                          It's SDL problem, it chooses event device before js one.

                          Comment


                          • #28
                            Could you fix that directly in jscal -u command?

                            Comment


                            • #29
                              Originally posted by Kano View Post
                              Could you fix that directly in jscal -u command?
                              Can you try:
                              http://www.pastebin.ca/1429321
                              New patch with corrected -q option.
                              Now -u will also remap calibration settings.
                              For -u -1 is replaced by 0
                              edit:
                              Newer version2:
                              http://www.pastebin.ca/1429802
                              Last edited by sobkas; 05-21-2009, 07:15 AM.

                              Comment


                              • #30
                                Well done! Now i can use the pad without extra calibration. It is just very hard to play with it. With mouse aiming it is much easier.

                                Comment

                                Working...
                                X