Divide numbers in quotes by two
-
Hey everyone,
I have a multiple config files and would like to divide all numbers in quotes by two (rounded up).
I’m hoping there is a way to only effect the numbers that have the custom_viewport string.
Here is the example file:
aspect_ratio_index = “23”
custom_viewport_height = “1135”
custom_viewport_width = “1516”
custom_viewport_x = “327”
custom_viewport_y = “1093”
input_overlay = ":\overlays\vertical-arcade\arcade\game2\game2.cfgI appreciate any and all help. Thank you so much!
-
Search the forum for
add_1. Use the same technique shown there, except your math will be to divide the matching number by 2. -
@PeterJones thank you!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login