Main > Linux
ultraset - new program to set modes for Ultimarc's Ultrastik 360
mewyn:
After many hours of trying and not being able to get 2600's .Net program for setting Ultrastik 360s working I took it upon myself to write ultraset, a small program based on 2600's program to set the Ultrasticks, but mine was written in C.
It's a very simple program, it sets all sticks to the same mapping and only sets to the built-in mappings, for now at least. It also only works with firmware 2.2 and above, because it sets the mode in memory, not flash. I chose to do this to save the flash from degrading, as commonly you only have 10,000 erases on flash.
Try it out, let me know if you have any problems, and if you're a coder (I'm not much of one myself) and feel inclined to do so, help me improve it! :)
http://tuxnami.org/ultraset/ultraset-0.1.tar.gz
whammoed:
Awsome. I was just asking Andy about the u360 and linux.
Can you write up how to install and use? It's been quite a while since I've messed with my linux machine and I'm really rusty.
edit: I think I can get it from the README file...
That's pretty impressive for not being much of a coder. :applaud:
whammoed:
I see in the readme you were having trouble with the diaganol 4 way map. I double checked it against the default map in the windows based utility that Andy provides and it appears to be the same. Not sure what the issue may be?
Here is the windows um file data:
MapRow1=NW,NW,NW,NW,*,NE,NE,NE,NE
MapRow2=NW,NW,NW,NW,*,NE,NE,NE,NE
MapRow3=NW,NW,NW,NW,C,NE,NE,NE,NE
MapRow4=NW,NW,NW,C,C,C,NE,NE,NE
MapRow5=*,*,C,C,C,C,C,*,*
MapRow6=SW,SW,SW,C,C,C,SE,SE,SE
MapRow7=SW,SW,SW,SW,C,SE,SE,SE,SE
MapRow8=SW,SW,SW,SW,*,SE,SE,SE,SE
MapRow9=SW,SW,SW,SW,*,SE,SE,SE,SE
Here is the ultraset data formatted for a little easier viewing:
0x09,0x09,0x09,0x09,0x0A,0x03,0x03,0x03,0x03,
0x09,0x09,0x09,0x09,0x0A,0x03,0x03,0x03,0x03,
0x09,0x09,0x090x09,0x01,0x03,0x03,0x03,0x03,
0x09,0x09,0x09,0x01,0x01,0x01,0x03,0x03,0x03,
0x0A,0x0A,0x01,0x01,0x01,0x01,0x01,0x0A,0x0A,
0x07,0x07,0x07,0x01,0x01,0x01,0x05,0x050x05,
0x07,0x07,0x07,0x07,0x01,0x05,0x05,0x05,0x05,
0x07,0x07,0x07,0x07,0x0A,0x05,0x05,0x05,0x05,
0x07,0x07,0x07,0x07,0x0A,0x05,0x05,0x05,0x05
whammoed:
Will this work with a circular restrictor installed? Not sure how that works...
whammoed:
--- Quote from: whammoed on September 10, 2008, 02:46:07 pm ---Will this work with a circular restrictor installed? Not sure how that works...
--- End quote ---
I looked at the source for the C# setControls project and:
Looks like the third byte in the first buffer needs to be 0x09 instead of 0x10 if you are using a restrictor. Easy enough to change, or I guess you could make it an option when running
Navigation
[0] Message Index
[#] Next page
Go to full version