Announcement

Collapse
No announcement yet.

Caster has gone Gold!

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

  • #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; 19 May 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; 19 May 2009, 09:31 AM.
      RBEU #1000000000 - Registered Bad English User

      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:


            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"
            RBEU #1000000000 - Registered Bad English User

            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; 19 May 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.
                RBEU #1000000000 - Registered Bad English User

                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:

                    New patch with corrected -q option.
                    Now -u will also remap calibration settings.
                    For -u -1 is replaced by 0
                    edit:
                    Newer version2:
                    Last edited by sobkas; 21 May 2009, 07:15 AM.
                    RBEU #1000000000 - Registered Bad English User

                    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