Acidmods
AcidMods Resources ----- ( These are helpful tools for modding ) => Open Source Code & AcidMods Free Code => Topic started by: hyper999 on October 31, 2010, 08:37:48 AM
-
ok guys i need help with the layout of the windows application used to program my new rf code so how would you guys lay it out?
the form must contain controls for...
-settings for each of the three available modes including...
-RT enabled?
-LT enabled?
-RT burst enabled?
-LT burst enabled?
-Firerate on RT
-Firerate on LT
-Burst Shots on RT
-Burst Shots on LT
-Perfect Quickscope mode enabled?
-Mode indication LED Colour? Green, Red, or Orange
-then a control for selecting the number of modes
so how would you like to see it laid out?
-
ok guys i need help with the layout of the windows application used to program my new rf code so how would you guys lay it out?
the form must contain controls for...
-settings for each of the three available modes including...
-RT enabled?
-LT enabled?
-RT burst enabled?
-LT burst enabled?
-Firerate on RT
-Firerate on LT
-Burst Shots on RT
-Burst Shots on LT
-Perfect Quickscope mode enabled?
-Mode indication LED Colour? Green, Red, or Orange
-then a control for selecting the number of modes
so how would you like to see it laid out?
ahh hyper, lol for a second i didnt read the name lol. anyway...
For a windows program, it quite depends on whether its going 2 be GUI or not. I would say (If GUI) have buttons for each specific mode, after being clicked another thing pops up with optoins with simple checkboxes to select what option you would like for that mode. In that menu with the option selection possibly an edit button that will add a window or texbox or something where the speed of the rapidfire can be edited. :)
There is my $.10 input lol
-
yh didnt think when i started the thread how hard it is to describe what im asking for lol
@ anonamous it will be a windows forms gui but i have no idea what you just described :P
-
yh didnt think when i started the thread how hard it is to describe what im asking for lol
@ anonamous it will be a windows forms gui but i have no idea what you just described :P
lol. basically like 3 boxes. Yes I made this image in ms paint lol it just to get the idea across.
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi93.photobucket.com%2Falbums%2Fl70%2Fmatand009%2Ffd.png&hash=f3764b2fee5da9ff46319d62be4c20283a539a56)
Ok, so basically you click one of those boxes and another window popus up with the settings and a check box next to each one to select which setting you would like to enable for that mode.
"-RT enabled?
-LT enabled?
-RT burst enabled?
-LT burst enabled?
-Firerate on RT
-Firerate on LT
-Burst Shots on RT
-Burst Shots on LT
-Perfect Quickscope mode enabled?
-Mode indication LED Colour? Green, Red, or Orange"
And in the popup for the settings selection maybe put an edit option to change the speed of the rapidfire.
Was that any better of an explination?
-
yeh i get you thats kind of how i have it now i was just seeing if anyone else could think of any more creative ideas because its a bit complicated and the window is getting pretty large
-
yeh i get you thats kind of how i have it now i was just seeing if anyone else could think of any more creative ideas because its a bit complicated and the window is getting pretty large
yea lol. So, how exactly is this oging to work? im quite interested lol. im just gonna have 2 figure out how to get a mini usb to get into my controller
-
Ok heres the run down its going to be similair to hazers final rf
in the controller there will be a 12f683 wit one tact switch and a headphone socket or anyother 3 way conector
then we have a usb to ttl serial cable with a headphone jack on the end
you then entrr programming mode on the controller hook up the cable and open the pc app change the settings listed above click a button on the pc and then all of the new settings are sent to your controller :)
Ive nearly finished the mod all that is left to do is the quickscope function and the gui
-
Ok heres the run down its going to be similair to hazers final rf
in the controller there will be a 12f683 wit one tact switch and a headphone socket or anyother 3 way conector
then we have a usb to ttl serial cable with a headphone jack on the end
you then entrr programming mode on the controller hook up the cable and open the pc app change the settings listed above click a button on the pc and then all of the new settings are sent to your controller :)
Ive nearly finished the mod all that is left to do is the quickscope function and the gui
nice, i cant wait.
-
You could have it all on one form, then just have combo boxes and radio buttons for all the settings, have an option to enable the duty cycle for the WAW patch aswell. Sounds like this will be pretty cool!!
-
ah yes sorry i forgot to list the cod duty cycle
and yes i currently have it set up with combo boxes, check boxes, and radio buttons but i dont like the way it looks and works
-
ah yes sorry i forgot to list the cod duty cycle
and yes i currently have it set up with combo boxes, check boxes, and radio buttons but i dont like the way it looks and works
how exactly does it look and work atm? could you make a vid of what it looks like?
-
well heres the app itself :P it doesnt actually function atm but it is 50% complete gui wise
clik me (https://www.acidmods.com/RAND/upload/files/upload/360APPalpha1.zip)
but make sure you have the latest .net framework :)
-
well heres the app itself :P it doesnt actually function atm but it is 50% complete gui wise
clik me (https://www.acidmods.com/RAND/upload/files/upload/360APPalpha1.zip)
but make sure you have the latest .net framework :)
ok ill take a look
Post Merge: November 01, 2010, 01:11:16 PM
It seems fine to me. lol it does look a little odd. idk lol
-
wow hyper this is a great idea!!! it would be for 360?? What install diagrams do you use?? I think it would be a great idea if you could do this for PS3 also
-
its for 360 yes
i will post diagrams when it is done
and personally i cba with ps3 its more work, less people want it, and im a 360 kinda guy :P
but for now can we just keep this thread to gui ideas please :)
-
So wait
>Mode 1,2&3 (Three separate boxes)
>Dual Trigger Button
>COD5 patch Button
>Burst On Lt & Rt Buttons
>Then Rapid fire speeds? (on your draft i see 4 boxes for each one, can you explain what they are for)
A COM port select
A COM Port test
And a program and program progress bar
Then what are the radio buttons on the button for?
That is all the information i got from your Alpha GUI, btw I dont know much about windows form, but i will see what i can find out, and then draw a draft up in paint :)
-
im not sure what exactly you mean by "the radio buttons on the button" but the 4 radio buttons select how many modes you want like in hazers flex code or if you want to have no modes(completely turn the mod off)
and sorry the combo boxes arent labeled on that but they are for...
-Speed on RT
-Speed on LT
-Burst Rounds on RT
-Burst rounds on LT
but anyway that would be awesome but you should not need to know much about windows forms as i only need an idea for a better layout then i can construct the actual form myself :)
Post Merge: November 02, 2010, 02:54:00 PM
yh and dont worry about how wacky the idea is if you just post it up anyway il let you know how feasable it is or whatever then if necassary we can revise it
-
Bottom* lol my bad, and yeah sure i'll see what i can do, should be doing english coursework but screw that
-
yeah this is way more important lol
-
(https://acidmods.com/forum/proxy.php?request=http%3A%2F%2Fi1203.photobucket.com%2Falbums%2Fbb384%2FRyan_Mangan%2FGUI.jpg%3Ft%3D1288737511&hash=4fa4f7b34c4320257509c954f956ef95c88c298e)
the small squares are check boxes :)
-
actually for such simple changes that looks one hell of alot better i think i can work with that
thanks :)
-
no worries, Just put it in an order that you would use it in if you could be arsed you can put a link to help page in the bottom left, suppose i really should get on with this work now:(
-
There we go. I just threw together cheap and quick image lol.
That is good. I like that lol. Hopefully this turns out as good as it sounds. good luck hyper :D
-
Just a quick question how interested are you guys in the quickscope mode?
-
Just a quick question how interested are you guys in the quickscope mode?
lol should I even answer?
I think the more options you can have the better.
If you havent yet coded it, i wouldnt bother. You could always have updates for the program anyway
-
lol never play CoD so not much but the more features the better i guess :L
-
@ anonamous its not as simple as that the pc app does not actually reprogram the chip it simply sends the settings (such as the firerate) to the pic so any features must be included in the pic code to begin with unless you take the pic out and reprogram everytime which kinda defeats the object of this mod lol. But yeah i havent coded it yet ive got quite a busy week with school and stuff but i may have a play with it this weekend :)
-
@ anonamous its not as simple as that the pc app does not actually reprogram the chip it simply sends the settings (such as the firerate) to the pic so any features must be included in the pic code to begin with unless you take the pic out and reprogram everytime which kinda defeats the object of this mod lol. But yeah i havent coded it yet ive got quite a busy week with school and stuff but i may have a play with it this weekend :)
lol yeah... i knew that <---*LIER*
lol ^
|
|
*ass hole*
lololol
-
what do you think of this?
-
looks great!
Also, what is with the LED color selection? Is that for if you have a different color LED soldered to on your board, so that it will output a lower or higher voltage for that led or something?
-
well its the same as with hazers final rf mod (look it up) but basicly the mode indicator instead of just flashing one of the player leds is a red led and a green led in the home button, so to show what mode you are in the pic lights up the red led , the green led or both this lights the dome in red green or amber, with this system you can easily see what mode you are in at a glance
-
this looks great hyper. you have come along way and hav impressed the powers that be here at acidmods. Please keep up the great work, and let me know if I can be of any assistance.
-
alll i have to say is wow.....
i havnt really bin following any projects on here recently as im still touring europe .... back in 3 weeks....
but wow hyper this is a wicked looking set up.... cant wait to test it out
something like this will need full tuts and testing ..... so hit me up once im home if u need a hand with anyting
-
ok some info you guys should know...
- this wont be finished for a while yet. i was going to finish it in my half term holiday but i was dragged to weymouth for the week by my parents :( so now im busy with school again but im getting there :) so far i have the rapid fire code done except for the quickscope mode(which i might skip out) and i am yet to mash the rf and my serial routines tegether but tht should be easy.
- if using a traditional serial port you will need a rs232 to 3.3V ttl level converter. although any usb 3.3v ttl serial cable should work but i will be using a cable like this
http://www.uchobby.com/index.php/2009/10/04/diy-usb-to-serial-cable-for-3/ (http://www.uchobby.com/index.php/2009/10/04/diy-usb-to-serial-cable-for-3/)
- aswell as the cable you will need...
- a 12f683
- a 3mm red led
- a 3mm green led
- a stereo jack and socket or other 3 way connector
- a tact switch
- and all of the usual wire solder and resistors etc
i will probs make a thread in rnd when i get closer to completion for more advanced modders to test and so we can work out tuts and stuff
-
wow man this looks very good!! you already know if you need someone to test the code and the programm i will be here man!!
-
ok some info you guys should know...
- this wont be finished for a while yet. i was going to finish it in my half term holiday but i was dragged to weymouth for the week by my parents :( so now im busy with school again but im getting there :) so far i have the rapid fire code done except for the quickscope mode(which i might skip out) and i am yet to mash the rf and my serial routines tegether but tht should be easy.
- if using a traditional serial port you will need a rs232 to 3.3V ttl level converter. although any usb 3.3v ttl serial cable should work but i will be using a cable like this
http://www.uchobby.com/index.php/2009/10/04/diy-usb-to-serial-cable-for-3/ (http://www.uchobby.com/index.php/2009/10/04/diy-usb-to-serial-cable-for-3/)
- aswell as the cable you will need...
- a 12f683
- a 3mm red led
- a 3mm green led
- a stereo jack and socket or other 3 way connector
- a tact switch
- and all of the usual wire solder and resistors etc
i will probs make a thread in rnd when i get closer to completion for more advanced modders to test and so we can work out tuts and stuff
sounds good. I will just have to get the cable.
-
I'm up for abit of testing :) be my first real mod lol
-
maybe a dropshot mod also?? what do you think guys??
-
Pointless and not possible as there is not enough pins
-
Pointless and not possible as there is not enough pins
ok i didnt know it lol
-
a far better option is to simply put a tact on the underside of the controller and hook it up to B :)
-
a far better option is to simply put a tact on the underside of the controller and hook it up to B :)
and R. put the b and ron the same pin or hole in the botton and the ground to the other pin/hole. when you press the tactile you dropshoot
-
i dont think that would work as on a matrix controller that would just press brtt and on a cg controleeeeerr that would only rpess b i think
no, i think you have to solder it to the top R trigger
-
Program the chip first with all possible combination modes. Assign each mode's rapid fire signal with a variable so you can customize the duty cycle and pulse rate.
use an I/O pin as a manual programming input....
say pin 5 on the chip is the rapid fire signal out...
lets also say pin 3 is the "programming pin"
What you will have to do is program the pic to search for a sequence of data to pin 3 at a certain speed like 35KHz....
The 3rd pin is going to then be programmed to look for a 8 bit sequence of numbers....
1 0 0 1 0 0 1 1 ( --_ _ -- _ _ -- -- ) Where each 1 and 0 is a pulse of that 35KHz clock.
You will have to assign your PIC to have an array of data that you are able to re assign variables of your duty cycle or speed etc...
In VB.NET i belive you can send data along a printer port sequentially at a certain speed IDK search and read on msdn.microsoft.com (MSDN is a lifesaver)
So your application will have form values that generate that 8 bit sequence of data that gets sent to your printer port or whatever I/O floats your boat. The first 3 bits are "8" combinations of pre-programmed values from 1 to 8 then the next 4 to 6 bits of sequence data are going to be the other set of pre-programmed values... your pre-programmed values are your on and off duty cycles... say your array has this: 000 is 200 milliseconds ON and 001 is 80 milliseconds ON etc... then the other set array is the off time of the duty cycle. The Last two bits of data represent the mode number.
Here is an example (tl; dr):
01010101 Breaks down to this: 010 101 11
First 3 bit set is duty cycle ON
Second 3 bit set is duty cycle OFF
Last 2 bit set is Mode number.
So the application will generate the 8 bit code and send it to the PIC and the data is broken down and variables are assigned accordingly to customize the rapidfire speed etc.
I'm not telling you how to do this I'm just throwing ideas in the pot. lololol that's partly why I'm R&D
-
and R. put the b and ron the same pin or hole in the botton and the ground to the other pin/hole. when you press the tactile you dropshoot
that wouldnt work on either matrix or cg... it wont work on matrix cos well matrix doesnt' work like that ..
and as for cg well if B and rt are on the same pin on the tact.... they are linked... so when the trigger is pulled (grounded) or b is pushed (grounded) it would also ground the other so when ur just wanting to pull the trigger or tap b u'll be doing both........
no, i think you have to solder it to the top R trigger
and this is also incorrect.... soldering to the top of the 3 trigger pins wont do anything..... as this pin is either ground or the 1.5v analog line... its not connected to the pads main chip so wont send a signal to it to say ur pushing the button.....
however it may work with a transitor...... im not exactulaly sure on how it would work maybe fookz could answer that..... or even a diode
to stop the signals going back up the wires and activating the button/trigger when u only want the button or trigger to work .... not when u push the tact for ur drop shot....
p.s. sorry for stealling this thread i just wanted to correct this missunderstanding....
-
i dont think that would work as on a matrix controller that would just press brtt and on a cg controleeeeerr that would only rpess b i think
sorry i had no idea what i was talking about, i may have been slightly drunk :P
@ fookz all the coding is done and works it just needs fitting all together, its using rs232 standard comunication and the at a 9800 baud rate (35khz is far to fast for a 12f683) each mode has a set of bytes to control what it does the pc generates these bytes sends them via your usb serial port the pic then reads them and sends them back to the pc if what the pc recieves is the same as what was sent the pc sends a final byte to tell the pic that everything was recieved correctly and its ok to write all the data to eeprom, if not then it starts the whole process over again.
from the pc we will be able to change for each of the modes..
the dwell time on rt
the pulse time on rt
the dwell time on lt
the pulse time on lt
the number of burst rounds on rt
the number of burst rounds on lt
and enable disable each of the triggers and burst etc
because we have access to the dwell and pulse there is no need to tell the pic to alter the dutycycle as the pc app can do this
-
that wouldnt work on either matrix or cg... it wont work on matrix cos well matrix doesnt' work like that ..
and as for cg well if B and rt are on the same pin on the tact.... they are linked... so when the trigger is pulled (grounded) or b is pushed (grounded) it would also ground the other so when ur just wanting to pull the trigger or tap b u'll be doing both........ and this is also incorrect.... soldering to the top of the 3 trigger pins wont do anything..... as this pin is either ground or the 1.5v analog line... its not connected to the pads main chip so wont send a signal to it to say ur pushing the button.....
however it may work with a transitor...... im not exactulaly sure on how it would work maybe fookz could answer that..... or even a diode
to stop the signals going back up the wires and activating the button/trigger when u only want the button or trigger to work .... not when u push the tact for ur drop shot....
p.s. sorry for stealling this thread i just wanted to correct this missunderstanding....
opps lol. Im going to end that part of the conversation and get back on topic. Sorry lol.
For the duty cycle will it just be the 75% and the 25%? I never fully understood the duty cycles so this may sound like a stupid question but would we be able to customize that variable to say maybe make it like 30%?
-
Just saw this, I've been thinking of doind something similar for the past few months.
My idea was to use code snippets (with variables) that were put together by a gui interface. The GUI interface would use dropdown boxes to let the user create their own RF code and then generate a HEX or ASM file using the snippets. The good thing about this system is that it could be expanded so easily: all code snippets could be taken from a set folder within the program, and using special keywords or phrases, you could define variables, e.g. '###RFSPEED'.
However I had not yet decided as to whether to use snippets written in Assembler, or if I should use something like C (which would probably be easier, but I'd have to include a compiler/assembler to convert the code to HEX).
-
@anonamous that option will not be included in the pc app however if a new game requires a different duty cycle the pc can just be updated instead of having to take the chip out and reprogram it
@hiddenvenom that would be cool but a french programmer has already done it but this sorta stuff is way beyond my pc programming knowledge, however i much prefer this way of doing it as it doesnot require taking the controller apart everytime
-
Dutycycle is simply the difference between the dwell time and the pulse time. If Hyper codes it like he said 3 posts up, you will have full control over it.
-
@hyper you can still load the stuff for the dropdown boxes from an external file - you wouldn't have to rewire it (except in certain setups.)
What language are you using?
-
@ hiddenvenom you would have to rewire it but you would have to take the chip out of the controller everytime you want to reprogram. Im not sure if you meant this origionally but an awesome way of doing this would be if you had a bootloader on the pic and a pc app like you described so effectively the same setup as viking controllers.
But anyway im programming in visual c# but my knowledge is limited to what i need for this project
it would need a beefier pic but id be very interested in looking into this in the future
-
hey hyper999 is their any new update on this project?
-
no not really my little bro broke my test controller so i need to get a new pad but have no money and i have had no time to work on it due to sixth form and girlfriend but il get it done as soon as i can especially as im keen to get using this myself :P
-
Yeah the two main things that stop me writing articles for me its GCSEs tho lol, as soon as i get some money to buy a programmer i'll help test if ya like got pretty much all popular FPS's
-
question for you guys
- tap the tact to change modes or
- tap tact to turn on and off + hold tact to change modes?
-
Umm maybe it could be tap to change modes and tap + hold to on or off
-
Umm maybe it could be tap to change modes and tap + hold to on or off
no u want the on off to be quicker then mode change... i prefer tap to turn on off and hold to change modes.... as most games u only need the one mode for it but u need to turn it off every now and then.....
-
yeah, or if it was tap to change modes and one of the modes was off like
Mode 1 = Off
Mode 2 = Custom 1
Mode 3 = Custom 2
Mode 4 = Custom 3
-
yeah but which do people prefer
-tap to flick through
*off
*mode 1
*mode 2
*mode 3
or
-tap for on and off and hold for mode change?
-
ether way would require about the same amount of code ~ hold for on and off tap for mode change is a good idea if there's 4+ modes.
-
well there will be up to three on modes
my preference is tap to change mode cos its just as quick to turn off (3 taps max) and its easier to change speeds whilst playing :)
-
my preference is as said before... tap for on/off hold to change mode.....
but thats just my 2 cents.......
dunno if its possible but could u code it into the interface so u can chose between the 2???? ie a check box to select tap on/off or tap mode change????? just a idea dont ava clue how much work or if it would work at all????
-
later on when we get a beta of this running we can work on how users can set the order of the modes. like drag and drop... that would be nice.
-
thats not a bad idea spurg im off school early tomorow so il see if i can get an alpha version for RnD going
-
tap to change modes and tap and hold for on/off.
I guess you could make that option available with the program yes?
-
anomamous yes could do that but like spurg said you should have it the other way round
-
anomamous yes could do that but like spurg said you should have it the other way round
I know. Its just a preference that Im sure people would have different opinions on
-
So, Now out of curiosity, hows it coming along?
-
slow...
im not the most organised person in the worl so unless i write my program all in one go i struggle to remember how what ive written works or even where i saved the file and what it was called the problem at the minute is how the serial part of the code works
its a question of how you enter the prgramming mode
- press a button and then open the pc app
- do nothing on the controller just plug in and program
the problem is with idea number one if the programing fails what happens next?
the problem with number two is im struggling to recieve bytes acurately with this system so more tinkering is required but i have very little time atm due to school and its starting to look like topfire 3 will not onlybe better but be finished first but il get this done eventually :)
-
well there will be up to three on modes
my preference is tap to change mode cos its just as quick to turn off (3 taps max) and its easier to change speeds whilst playing :)
I have many pads, one of them a legacy viking, why don't you have something similar to that in regards to mode select and on/off
Both flex and t0pfire are kick ass pads, but i find myself using my t0pfire pad or my legacy pad more for the quick on/off and Im a hardcore cod player (just hit 12 prestige on black ops☺)
-
any updates hyper im pretty exited
-
@fastbrad yes it is possible to make it like that however unlike topfire which has 8 modes this will only ever have a max of 3 so IMO its better just to tap to change modes but we will experiment soon
@famas no updates yet but i break up from school on thursday so il probably start working on it properly on saturday
-
@fastbrad yes it is possible to make it like that however unlike topfire which has 8 modes this will only ever have a max of 3 so IMO its better just to tap to change modes but we will experiment soon
@famas no updates yet but i break up from school on thursday so il probably start working on it properly on saturday
Looking forward to seeing it hyper. Is the chip going to have onboard programing as well. or just through the UI.
-
no onboard to begin with but i may add it in later on
-
I'm hanging out to build another pad, let me tell ya. Looking at my work bench and getting bored with my viking and flex pads.
-
this wont be complete for a while and i have changed from a PIC12f683 to an AVR attiny45
-
tap on off and hold to change
-
tap on off and hold to change
to add to that (if implemented), the ability to set how long you must hold it to change it.