Joy2Key Logitech Dual Action Minecraft Configuration

July 20, 2011 at 20:53 | Posted in Guides | 2 Comments

If you have a Logitech Dual Action and want to use it to play Minecraft, you’re in the right place. If you’re running windows, you’ll want to download Joy2Key here. Otherwise, the sourceforge page is here.

Copy and paste the following into a text editor and save it as Minecraft.cfg in the same directory where your J2K executable is.

[General]
FileVersion=37
NumberOfJoysticks=1
Use8Axes=1
UseDiagonalInput=0
UsePOV=1
Threshold=0
KeySendMode=0
[Joystick 1]
Axis1n=1, 41:00:00, 0
Axis1p=1, 44:00:00, 0
Axis2n=1, 57:00:00, 0
Axis2p=1, 53:00:00, 0
Axis3n=2, -50, 0, 0, 0, 0, 0, 0
Axis3p=2, 50, 0, 0, 0, 0, 0, 0
Axis4n=0
Axis4p=0
Axis5n=0
Axis5p=0
Axis6n=2, 0, -50, 0, 0, 0, 0, 0
Axis6p=2, 0, 50, 0, 0, 0, 0, 0
Axis7n=0
Axis7p=0
Axis8n=0
Axis8p=0
POV1-1=0
POV1-2=0
POV1-3=0
POV1-4=0
POV2-1=0
POV2-2=0
POV2-3=0
POV2-4=0
Up-Right=0
Up- Left=0
Dn- Left=0
Dn-Right=0
Button01=2, 0, 0, 0, 1, 0, 0, 0
Button02=1, 20:00:00, 0
Button03=2, 0, 0, 0, 0, 0, 1, 0
Button04=1, 45:00:00, 0
Button05=2, 0, 0, 10, 0, 0, 0, 0
Button06=2, 0, 0, -10, 0, 0, 0, 0
Button07=1, 10:00:00, 0
Button08=0
Button09=0
Button10=1, 1B:00:00, 0
Button11=0
Button12=0
Button13=0
Button14=0
Button15=0
Button16=0
Button17=0
Button18=0
Button19=0
Button20=0
Button21=0
Button22=0
Button23=0
Button24=0
Button25=0
Button26=0
Button27=0
Button28=0
Button29=0
Button30=0
Button31=0
Button32=0
[Joystick 2]
Axis1n=0
Axis1p=0
Axis2n=0
Axis2p=0
Axis3n=0
Axis3p=0
Axis4n=0
Axis4p=0
Axis5n=0
Axis5p=0
Axis6n=0
Axis6p=0
Axis7n=0
Axis7p=0
Axis8n=0
Axis8p=0
POV1-1=0
POV1-2=0
POV1-3=0
POV1-4=0
POV2-1=0
POV2-2=0
POV2-3=0
POV2-4=0
Up-Right=0
Up- Left=0
Dn- Left=0
Dn-Right=0
Button01=0
Button02=0
Button03=0
Button04=0
Button05=0
Button06=0
Button07=0
Button08=0
Button09=0
Button10=0
Button11=0
Button12=0
Button13=0
Button14=0
Button15=0
Button16=0
Button17=0
Button18=0
Button19=0
Button20=0
Button21=0
Button22=0
Button23=0
Button24=0
Button25=0
Button26=0
Button27=0
Button28=0
Button29=0
Button30=0
Button31=0
Button32=0

Start up J2k and select the Minecraft profile. Leave it running while you play and everything should work out fine. Here are the controls I set, it should be easy enough to figure out how to change them to your liking:

Burn an mkv with mkvtoolnix, ffmpeg, dvdauthor and K3B

July 13, 2011 at 13:54 | Posted in Guides | Leave a comment
Tags: , , , , ,

Avidemux is crashing for me right now, so here’s how to transcode for DVD command-line style.

  1. Display the track information for the mkv you wish to burn:
    $mkvinfo movie.mkv
  2. Extract the audio and video tracks you need:
    $mkvextract movie.mkv 1:video_output.mpg 2:audio_output.aac
  3. Combine the two tracks with ffmpeg: (use pal-dvd if you live in Europe)
    $ffmpeg -i video_output.mpg -i audio_output.aac -target ntsc-dvd movie.mpg
  4. Prepare the movie file for DVD by authoring it:
    1. Create a new textfile named movie.xml with the following contents:
      <dvdauthor>
      <vmgm>
      </vmgm>
      <titleset>
      <titles>
      <pgc>
      <vob file="movie.mpg" />
      </pgc>
      </titles>
      </titleset>
      </dvdauthor>
    2. Create the DVD structure in a new outputfolder with dvdauthor:
      $dvdauthor -o outputfolder -x movie.xml
  5. Open K3B and start a new DVD video project
  6. Drag the contents of outputfolder/VIDEO_TS to the project’s VIDEO_TS folder
  7. Insert a blank DVD and hit burn!

Edit — As it turns out, K3B is also not working for me, due to HAL not being present because it requires v4l from the kernel, which has been removed in the latest version I have. Anyway, here’s how to BURN from the CLI as well, instead of using K3B.

  1. $mkisofs -dvd-video -udf -o dvd.iso outputfolder
  2. $growisofs -Z /dev/dvd=dvd.iso

You can also test the .iso by mounting and making sure it plays correctly before you burn it.

Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.