

skypickle
-
Posts
1074 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by skypickle
-
-
I also am pondering using helios. Currently I just run a monitor config that includes my main display and a smaller one. By setting variables like MFCD in the monitor config, I can get DDIs, MFCDs, MPDs etc on my second screen. But I take a FPS hit (obviously because DCS is rendering more pixels). What kind of a FPS hit does Helios cause? I know I should just do it for myself but I thought I'd ask since anything I've ever thought of has already been done.
-
Thank you for you generous help. Did you use prebuilt shift registers or build your own? I’m not so good at soldering. Did you design your own pcb?
-
duh. how could I miss that. Is the aft pull needed because the center of gravity is forward of the center of lift?
-
I can understand why you need left boot - to counter the torque of the main rotor
But why do you need to put the cyclic to the left of center and a little back if the weight is balanced (center of gravity=center of lift)?
-
On 9/17/2013 at 12:11 PM, SkateZilla said:
Creating Multiple Installs w/ Separate Settings Folders from One Source Install, using dcs_variant.txt
Step 1, Open Notepad, Type a name for your main DCS Install, (ie MAIN) etc. save as dcs_variant.txt, Place the TXT File in your /DCS World/ Main folder.
Step 2, Run DCS, Allow it to load to the main screen then choose exit,
Step 3, Verify DCS_Variant is working correctly, Goto /<User Name>/ Saved Games Folder, and there should now be a new DCS folder, (ie DCS.MAIN), This folder will hold all the settings for your main install.
Step 4, Copy and Paste your Main /DCS World/ Application folder, rename folder as you wish (ie /DCS World Open Beta/)
Step 5, Open the dcs_variant.txt file in your copied DCS World folder, and change the name from MAIN to a different descriptive work (ie BETA), Save and close.
Step 6, Run DCS from the Copied folder to the main menu, then exit.
Step 7, Verify you have a new folder in the /Saved Games/ Folder for your copy (ie DCS.BETA)
Repeat for as many builds you need.
Thank you for writing this. I gather this allows each SEPARATE DCS folder (the folder with the game) to use a different saved games folder. Is it possible to start the SAME DCS but direct it to use a DIFFERENT saved games folder?
-
@SkateZilla u said
'The Path setting is so the App knows where to look for config profiles, Each build's SG should match the setting DCS is using.'
What is supposed to happen if the DCS build I'm using is on the C drive and the saved games folder path is on the F drive? I am not detecting a difference.
Thank you and sorry for being dense. just curious. As per VeeSpike, could Skatezilla write a dcs_variant.txt file containing the info in Skatezilla's 'saved games Folder Path' and put that into the directory specified in Skatezilla's '.DCS Folder path'. This would allow DCS to use a saved games folder in a non standard location.
I found the documentation here:
Creating Multiple Installs w/ Separate Settings Folders from One Source Install, using dcs_variant.txt Step 1, Open Notepad, Type a name for your main DCS Install, (ie MAIN) etc. save as dcs_variant.txt, Place the TXT File in your /DCS World/ Main folder. Step 2, Run DCS, Allow it to load to the main screen then choose exit, Step 3, Verify DCS_Variant is working correctly, Goto /<User Name>/ Saved Games Folder, and there should now be a new DCS folder, (ie DCS.MAIN), This folder will hold all the settings for your main install. Step 4, Copy and Paste your Main /DCS World/ Application folder, rename folder as you wish (ie /DCS World Open Beta/) Step 5, Open the dcs_variant.txt file in your copied DCS World folder, and change the name from MAIN to a different descriptive work (ie BETA), Save and close. Step 6, Run DCS from the Copied folder to the main menu, then exit. Step 7, Verify you have a new folder in the /Saved Games/ Folder for your copy (ie DCS.BETA) Repeat for as many builds you need.
No matter which directory I specify in the Saved games folder field of skatezilla, I cannot detect a diffference
-
thank you for your reply. If I interpreted it correctly
'The Path setting is so the App knows where to look for config profiles, Each build's SG should match the setting DCS is using.
You cannot use the App to tell DCS to look into a different folder, that's done through DCS or DCS Variable File.'means I can load a specific install of DCS and use the contents of the 'Config' folder of the saved games location specified in the Skatezilla field to the right of the field where the DCS install is specified. The remainder of the files in that location are ignored and DCS looks in its default saved games folder location?
How can I 'tell DCS to look into a different folder' for the saved games->DCS.openbeta folder ?
-
Well, this is the way skatezilla is configured. I have three builds Lets focus on builds 2 and 3.
build 2 is the default saved games folder in the default location with DCS in the default location.
build 3 is a pure dcs installation on a different drive with a bare saved games folder without mods.
I can select each build like so:
or
The default saved games nissions folder looks like this:
The bare saved games missions folder looks like this:
No matter which I launch, I have lots of missions available, as if the default saved games folder is being used.
How do we debug this?
ED has a habit of breaking things and and not telling us.
-
@Karon thank you for your contribution which in and of itself is already beyond my full understanding. But how do you make the arduino talk to a pc over usb?
Also, why do you need a 3x3 matrix ?
I can understand this for example
// Rotary Encoder Inputs // https://lastminuteengineers.com/rotary-encoder-arduino-tutorial/ #define CLK 2 #define DT 3 #define SW 4 int counter = 0; int currentStateCLK; int lastStateCLK; String currentDir =""; unsigned long lastButtonPress = 0; void setup() { // Set encoder pins as inputs pinMode(CLK,INPUT); pinMode(DT,INPUT); pinMode(SW, INPUT_PULLUP); // Setup Serial Monitor Serial.begin(9600); // Read the initial state of CLK lastStateCLK = digitalRead(CLK); } void loop() { // Read the current state of CLK currentStateCLK = digitalRead(CLK); // If last and current state of CLK are different, then pulse occurred // React to only 1 state change to avoid double count if (currentStateCLK != lastStateCLK && currentStateCLK == 1){ // If the DT state is different than the CLK state then // the encoder is rotating CCW so decrement if (digitalRead(DT) != currentStateCLK) { counter --; currentDir ="CCW"; } else { // Encoder is rotating CW so increment counter ++; currentDir ="CW"; } Serial.print("Direction: "); Serial.print(currentDir); Serial.print(" | Counter: "); Serial.println(counter); } // Remember last CLK state lastStateCLK = currentStateCLK; // Read the button state int btnState = digitalRead(SW); //If we detect LOW signal, button is pressed if (btnState == LOW) { //if 50ms have passed since last LOW pulse, it means that the //button has been pressed, released and pressed again if (millis() - lastButtonPress > 50) { Serial.println("Button pressed!"); } // Remember last button press event lastButtonPress = millis(); } // Put in a slight delay to help debounce the reading delay(1); }
but windows does not see it as a game controller/
-
3 hours ago, SkateZilla said:
that's for the App Settings and Log..
Saved games for each build is set in the saved games section.thank you for your reply but i am a little dense and cannot parse it.
what does this mean? 'Saved games for each build is set in the saved games section' are these not the fields to the right of each build field?
and is 'that's for the App Settings and Log..' referring to the skatezilla app? Why would anyone want a special folder for your app settings?
-
I have two installations of DCS and this wonderful utility launches each properly. One is 'pure' and the other has changes in various lua files. However, I have also specified different saved games folder in the app settings for each. One DCS folder in the proper saved games location has many missions in its missions folder. The other DCS 'saved games' folder in the alternate location has an empty missions folder. When I launch the 'pure' client which is associated with the DCS 'saved games' folder in the alternate location ( with the empty missions folder), the game starts up with all of the missions from the proper folder with all the missions.Both presets have green squares in the status column.
Then there is a button labeled 'Specify Custom User Profile folder'. Isnt that what the entries in the 'Saved Games Folder PAth' are? custom locations?
When I specify a 'Custom User Profile folder', which slot/build does it refer to?
-
I recently started the ARGO campaign and am enjoying it. Howevewr, half way through a mission, real life interrupted my adventure. I thought I would end the mission, save the track file and come back to it later. However, when I replayed the track file, the helo didnt take off. I could see the controls indicator move but the bird was grounded. This only happens in this campaign- is it a bug ?
-
I found out in another thread that you have to throttle down. Then it works no matter where you land in the open space surrounded by people.
-
1
-
-
I recently started the ARGO campaign and am enjoying it. Howevewr, half way through a mission, real life interrupted my adventure. I thought I would end the mission, save the track file and come back to it later. However, when I replayed the track file, the helo didnt take off. I could see the controls indicator move but the bird was grounded. This only happens in this campaign- is it a bug ?
-
Press ‘direct’ after you’ve selected wpt
-
The minute I readjust the Crosshair it loses lock. Lmc then has to be disengaged and reengaged. Is this a bug?
-
just some code. Although I know how to do simple things with an arduino, writing 'game controller code' must be different , right?
First, did you use encoders or pots for your dials? How many did you get per teensy?
Second , when you read the data from the pin for a particular dial, for example, what do you do with it? It's not like you are going to process the input and activate an output pin on the arduino. How do you assign that value to a variable which the pc will recognize as an axis? Maybe I could see a snippet of code?
Finally, I can only find teensy 4.1, teensy 2 and teensy LC boards.
-
yep, had to throttle down. thanks.
-
1
-
-
yup, their code does not work with my monitor config.
ED says:
if v ~= nil then if v.width ~= total_w or v.height ~= total_h then ULX = v.x ULY = v.y SZX = v.width SZY = v.height local aspect = SZX/SZY -- Thanks Asto (https://forum.dcs.world/profile/127293-asto/) local control_pos_offset = {(ULX + SZX / 2 - total_w / 2) / total_w * total_aspect * 2, -(ULY + SZY / 2 - total_h / 2) / total_h * 2} weap_control_pos = {0.8 * aspect + control_pos_offset[1], -0.75 + control_pos_offset[2]} compass_pos = {-0.82 * aspect + control_pos_offset[1], -0.7 + control_pos_offset[2] * 2} -- Kudos to you (https://forum.dcs.world/topic/295236-george-interface-with-3-monitors/?do=findComment&comment=4922420) weap_control_size = weap_control_size * v.height / total_h compass_size = compass_size * v.height / total_h end end
but for me this is needed:
if v ~= nil then if v.width ~= total_w or v.height ~= total_h then ULX = v.x ULY = v.y SZX = v.width SZY = v.height local aspect = SZX/SZY local offsetX = (ULX + SZX / 2 - total_w / 2) / total_w * total_aspect * 2 local offsetY = -(ULY + SZY / 2 - total_h / 2) / total_h * 2 local padding = math.min(total_aspect, aspect) * 0.2 compass_pos = { -math.min(total_aspect, aspect) + offsetX + padding, -1 + offsetY * 2 + padding} weap_control_pos = { math.min(total_aspect, aspect) + offsetX - padding, -1 + offsetY * 2 + padding } compass_size = compass_size * v.height / total_h weap_control_size = weap_control_size * v.height / total_h end end
-
@Raisuli thank you for your explanation. I am about to fall into the diy controller rabbit hole and am pondering the different controller options: 1)Arduino 2)teensy 3)Adafruit feather.
I like the fact that teensy plays nicely w usb but sourcing a teensy has become a problem as most places are low/out of stock due to the chip shortage. Do you use a teensy 2? 3.2? 4.1? Is your available for perusal so I can see what I am about to get myself into?
-
9 hours ago, Karon said:
Hi @skypickle, way too kind
What do you mean with "dials"? Rotary encoders or potentiometers? I'd use the encoders if I were you,
I guess icould use an encoder. With 12 digital inputs on an arduino. that would only give me 6 encoders per arduino. Then i could use the 6 analog inputs with potetiometers which gives me another 6 dial controls. But I am confused about how to talk to the pc and make the arduino look like a HID. This video makes it look complicated.
https://www.youtube.com/watch?v=RoG_-9lAnSI
This suggests that an arduino is a serial device and to make appear as a usb device requires extra work
https://learn.sparkfun.com/tutorials/usb-serial-driver-quick-install-/all
Obviously you have many arduinos talking to your pc and they are appearring as usb peripherals. What does your arduino code look like?
-
@Karon I am just starting down the diy controller rabbit hole. I would like to start with something simple-a box with 12 dials for all the analog things like lights in the aircraft I fly. It seems the arduino leonardo can do this. Why did you choose it over a teensy? From what I have read, you cant have more than 1 leonardo per pc due to usb id limitations. But it seems you have a bunch of them all working at once.
Also, where did you get your pots, knobs, etc.?
Your setup is not only impressive in scope but also in imagination.
-
I saw the post about landing next to the Apaches. I tried all the orientations and distances from the Apaches..
I also tried landing real close to the C130 and at all 4 quadrants. But the only thing that worked was landing ON the C130
Although I got the message for the Greeks to board the chopper, I also failed the mission for damaging the aircraft (even tho I landed like a butterfly)
-
same here. Where do I have to park? I tried all around the c130 and the Greeks wont get out of the plane.
Manual Cargo Release Push Pedal
in DCS: UH-1H
Posted
what doesa external cargo safety do?