In need of a ini checker
-
use normal editor on every ini
use the replace functiion
search for
space=space
replace by
=
;D
only a hint^^
Wont work because when i replace “nickname=” with "nickname = " it will also replace lines with "nickname= " means i will have 2 space after the 0.
I need a tool that checks all my modded inis for spaces before and after each =, if not it should add the required space’s.
I would ask my programmers to do such a tool for me but they’re busy with uni and learning and it will take 2-3 weeks till i one of em gets time for this.I rly appreciate all help.
Thx in advance
Mindhunter -
Maybe don’t hesitate to add some additional spaces and
replace every double space with a single space
in a 2nd step.Maybe try http://editplus.com/
which is pretty fast and also able
to do a search + replace in all open files. -
Find and Replace using text editor:
1: “=” ==> " = "
2: " = " ==> " = "
3: " = " ==> " = "First add the spaces. Then do points two and three to fix the double spaces. You should be finished.
Edit: Oh. That is exactly what F!R said.
LoL thats so easy can’t believe that i dont that idea myself
-
Find and Replace using text editor:
1: “=” ==> " = "
2: " = " ==> " = "
3: " = " ==> " = "First add the spaces. Then do points two and three to fix the double spaces. You should be finished.
Edit: Oh. That is exactly what F!R said.
LoL thats so easy can’t believe that i dont that idea myself
Can’t you just do “=” -> " = "
and then " " -> " " (repeat as many times as you like?) -
That’d also strip spaces between commas.
I also happen to love regular expressions: Search for “[ ]=[ ]” and replace with " = " (Without quotes, of course).
Just need to use a program with regexp support I heard a lot of good about Notepad++, but I use Dreamweaver myself.
-
Can’t you just do “=” -> " = "
and then " " -> " " (repeat as many times as you like?)Actually, yes, I’ve been thinking about that soon after I clicked the post button. But didn’t bother
As for N++, I’ve had no problems with it so far, I find it amazingly useful.
-
That’d also strip spaces between commas.
I also happen to love regular expressions: Search for “[ ]=[ ]” and replace with " = " (Without quotes, of course).
Just need to use a program with regexp support I heard a lot of good about Notepad++, but I use Dreamweaver myself.
It’s a replace double space with single - not remove spaces
I’m not overly sure what the OP was actually after, at first I thought they wanted to remove all spaces between the equals sign and text either side of it. Then as we went on I thought it was make sure each one has a space either side, and then finally I thought it was remove double spaces…
Still not overly sure what they were actually after, meh
-
It was the second and the third.
I need to make sure there is a space at either side and i wanted to remove all double spaces.It worked with replace, but for the shiparch.ini i copyed the whole shiparch.ini into word because notepad always crashed when i started to replace (lol 302 DIN A4 pages in word).
Greetings
Mind -
… that’s what i always do
search " " replace " "
and the same with cr search
""
and replace
*
*
doing that till nothing is replaced anymore-. -
That’d also strip spaces between commas.
I also happen to love regular expressions: Search for “[ ]=[ ]” and replace with " = " (Without quotes, of course).
Just need to use a program with regexp support I heard a lot of good about Notepad++, but I use Dreamweaver myself.
It’s a replace double space with single - not remove spaces
I’m not overly sure what the OP was actually after, at first I thought they wanted to remove all spaces between the equals sign and text either side of it. Then as we went on I thought it was make sure each one has a space either side, and then finally I thought it was remove double spaces…
Still not overly sure what they were actually after, meh
Bleh. Blame it on 14 hours + without sleep and 7 hours of plane. I saw " " to “”. -,-