TODO.mw 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. [[Template:Attention|s=Please use the [http://supertux.lethargik.org/wiki/index.php?title=Talk:TODO&action=edit&section=new Edit+] button to add content]]
  2. == Jam uninstall ==
  3. A "jam uninstall" target seems unnecessary to me. You can easily install in a separate prefix folder or use something like [http://relink.sourceforge.net/ relink]. - [[User:MatzeB|MatzeB]]
  4. :Be it as it may, we need *some* way of uninstalling SuperTux once it's installed. How many times did I meet a package that didn't have an uninstall target? Too often for my taste... <nowiki>~~</nowiki>[[User:RavuAlHemio|Ravu]] 19:38, 11 Oct 2005 (BST)
  5. ::There is stow, relink, checkinstall, --prefix, DESTDIR, dpkg, rpm and probally a bunch of other ways to manage clean uninstalls, 'jam uninstall' or a 'make uninstall' is completly unnecessary and simply extremly bad design in my eyes. As you said yourself, 'uninstall' isn't something that you can depend upon, because its hardly ever working correctly, people should just learn to get used checkinstall and friends if they want to have a clean uninstall. -- [[User:Grumbel|Grumbel]] 20:20, 11 Oct 2005 (BST)
  6. == this_file.cpp vs ThisFile.cpp ==
  7. this_file.* vs ThisFile.* has the strong advantage that it works portably, if you go with ThisFile instead its just a matter of copying a few times between Windows and Linux to get a broken source tree since many filesystems out there don't preserve case very well. I am also strongly in favour of .hpp instead of .h, since the second one requires annoying guess work to figure out the correct file type, while the other one simply says it streight away. It makes 'find -name "*.?pp" also a lot easier to type. Anway, source is already organized that way. -- [[User:Grumbel|Grumbel]] 20:28, 11 Oct 2005 (BST)
  8. : In fact SVN takes care of it, you never copy directly between the systems, you allways check out/commit to svn. There are other reasons to do that and one is svn:eol-style = native. --[[User:AnMaster|AnMaster]] 00:28, 30 Jul 2006 (BST)
  9. == Spelling error ==
  10. geysir is spelled geyser in English
  11. == Only developers should edit this page. ==
  12. If we really want to enforce this, make sure all devs have admin rights and change page to protected.
  13. == Outdated ==
  14. Some of the content here is outdated... Tux sprites have been replaced, test levels have been somewhat cleaned up, Mr. Ice Block has been repainted, coins fade out, ?-blocks tilt, lisp readers have been fixed, worldmap teleporters can pan, peeking works, and the menu has been improved. When will this page be updated? --[[User:Mathnerd314|Mathnerd314]] 23:11, 2 March 2008 (UTC)
  15. == Wiimote support ==
  16. Today (6 April 2008) on #supertux:
  17. <pre>
  18. <jonaskoelker> Hi all. I'm trying to play supertux with my wiimote and nunchuk (using wminput); supertux says no joysticks found. Anyone got a clue?
  19. <jonaskoelker> (not me :D)
  20. <jonaskoelker> I'm thinking I should poke around /dev, maybe do the magic mknod dance...?
  21. <leftStanding> jonaskoelker: we were just talking about the wiimote
  22. <leftStanding> no development has started yet, but if you are using cwiid along with wminput you may be able to get it to map the buttons
  23. <jonaskoelker> yeah yeah, the buttons work fine with wminput
  24. <leftStanding> ok, so you are able to play the game?
  25. <jonaskoelker> Yeah, perfectly. But not with the nunchuk joystick :\
  26. <jonaskoelker> I like holding it sideways, left thumb for D-pad and right thumb for 1 and 2
  27. <jonaskoelker> ... though I pretend they're labeled A and B :D
  28. <leftStanding> yep, the joystick option refers to traditional computer joysticks detected through SDL
  29. <leftStanding> really wminput is trapping wiimote data and impersonating the mouse and keyboard
  30. <jonaskoelker> > wminput is an Linux event, mouse, and *joystick* driver for the wiimote
  31. <jonaskoelker> emphasis added
  32. <jonaskoelker> I think it should be able to be made to work
  33. <leftStanding> for sure
  34. <jonaskoelker> you.clue != NULL?
  35. <leftStanding> invalid syntax
  36. <jonaskoelker> ^_^
  37. <jonaskoelker> you have a clue as for how?
  38. <leftStanding> oh, i'll mess around with it for a few minutes
  39. <leftStanding> wminput mentions a configuration file which may allow you to remap how things are
  40. <jonaskoelker> meanwhile, I'll install xserver-xorg-input-joystick :)
  41. <jonaskoelker> I think I got wminput down
  42. <leftStanding> yeah, getting the nunchuk to work through the supertux options menu is out of the question
  43. <jonaskoelker> jstest responds fine to the nunchuk on /dev/input/js0
  44. <leftStanding> i can get the directional buttons to work using wminput
  45. <leftStanding> how did you map the other buttons to controls in the game?
  46. <jonaskoelker> I'll show you my ".wminputrc"
  47. <leftStanding> pastebin
  48. <jonaskoelker> http://rafb.net/p/HFdOto41.html
  49. <jonaskoelker> of course pastebin :)
  50. <leftStanding> ha, do you use dvorak?
  51. <jonaskoelker> yeah
  52. <jonaskoelker> oh, and I map caps lock to escape
  53. <jonaskoelker> in that way, the home button gives the "supertux home menu" :)
  54. <leftStanding> cool i use dvorak too
  55. <jonaskoelker> neat
  56. <jonaskoelker> come join us in #dvorak :)
  57. <leftStanding> how did you get the configuration file to load?
  58. <leftStanding> i've tried it as the usual .wminputrc and also -c .wminputrc but the latter complains the file doesn't exist
  59. <leftStanding> what version of wminput do you have?
  60. <jonaskoelker> 0.6.00
  61. <jonaskoelker> it's ~/.cwiid/wminput/name-of-dash-c-argument
  62. <jonaskoelker> leftStanding: strace told me :)
  63. <jonaskoelker> have you played around with joysticks before? Do I need xserver-xorg-input-joystick in order to use it?
  64. <jonaskoelker> This doesn't seem likely: jstest worked fine without it
  65. <leftStanding> its more a question of how SDL supports joysticks
  66. <jonaskoelker> do you know, when I put my wiimote in discoverable mode and only n < 4 LEDs blink, is that indicating the power level?
  67. <leftStanding> i don't know, i've only used the controller a handful of times with my laptop
  68. <leftStanding> i don't own a wii
  69. <jonaskoelker> :)
  70. <jonaskoelker> (well, I've only seen n < 4 LEDs blink with my PC, so it's not a wii question)
  71. <leftStanding> hmm its hard to justify coding wiimote support into supertux if wminput handles it for you
  72. <leftStanding> i should have looked into configuring wminput more before beginning the code
  73. <jonaskoelker> leftStanding: agreed. Except maybe rumble?
  74. <leftStanding> rumble would be cool for any damage tux takes
  75. <jonaskoelker> it would
  76. <jonaskoelker> heh, patch idea for wminput: on sigusr1, starts rumble; on sigusr2, stops rumble
  77. <jonaskoelker> :)
  78. <jonaskoelker> then supertux can kill(2) it
  79. <leftStanding> ha keep on toggling the signals back and forth
  80. <leftStanding> supertux then needs to have knowledge of wminput and if its there/not there. it may warrant adding wiimote support -> go to options ->setup wiimote {detect wiimotes, configure buttons}
  81. <jonaskoelker> supertux could fork off a wminput instance?
  82. <leftStanding> that could work too
  83. <leftStanding> these are all design questions and would love for a supertux developer to join in the discussion
  84. <leftStanding> *hint hint*
  85. </pre>