Support and General Use > Plugins/Viewers
Rockdoom - swapping strafe and aiming controls
AgentRev:
Hey there,
I have an iPod Nano 2G, and I got a question about Rockdoom. I know this game is old, but I want to know how to use the scrollwheel for aiming and left/right for strafing. I don't think it is possible to change it in the options, since Game Strafe shows as Unassigned.
Can someone tell me how to do this, or point me where in the code such a change would have to be made? (already grabbed sources from svn)
If code needs to be modified, would someone be kind enough to point me to compiling instructions for Rockdoom? I've already done C before, but I really have no idea on how to turn this into a .WAD
Thanks a lot if you can help me.
saratoga:
I have no idea how the controls for doom work, but the code for doom is in apps/plugins/doom.
FWIW doom does not compile into WADs. Those are just map files, not actual code. To build doom you just compile rockbox, it gets compiled into your build.
If you have't set up the dev tools, see here:
http://www.rockbox.org/wiki/DevelopmentGuide
AgentRev:
Thanks for the infos, I gave a try at it.
Is it really necessary to compile the whole thing just for a few lines changed? I mean I tried to compile it with the Ubuntu VM from the page you said, and after 15 mins it was still stuck on the codecs folders, but then my computer froze for an unknown reason. The VM had 4 cores and 1GB RAM allocated, and I used the "make -j" command.
saratoga:
--- Quote from: armorfid on September 19, 2011, 11:45:16 PM ---Is it really necessary to compile the whole thing just for a few lines changed?
--- End quote ---
Yes.
--- Quote from: armorfid on September 19, 2011, 11:45:16 PM ---The VM had 4 cores and 1GB RAM allocated, and I used the "make -j" command.
--- End quote ---
Should take about a minute the first time, then a few seconds each time after that.
AgentRev:
It's funny how it compiles 10 times faster with only 1 core rather than 4. Not the first time I have issues with multi-core Linux VMs.
Post Merge: September 20, 2011, 01:21:19 AMWell, looks like I succeeded at linking the aiming to the scrollwheel, still gotta sort the strafe.
I kinda understand now why the aiming wasn't put on the scrollwheel, since that it doesn't follow the finger 1/1, but rather jumps across "steps" of 10-15 pixels when scrolling (and yet it's still too slow).
Navigation
[0] Message Index
[#] Next page
Go to full version