Programming newbie in a bit of a pickle here. I know next to nothing about .cmd or .bat files or the like, but I'm to understand that .cmd is the way to go for a little project I'm currently undertaking. Basically, I'm looking to distribute a file which, when executed, alters two very specific lines from two individual .ini files located in the same folder as the .cmd file.
For NewGame.ini, I would very much like for the following line to be changed from:
FullHealthLimit = 1000
...to...
FullHealthLimit = 9999
And for NewGameUI.ini, I'd like for the following line to be changed from:
m_PosOffset=(X=25,Y=-99)
...to...
m_PosOffset=(X=-9999,Y=-9999)
That's it. I just need one executable file to perform two -- hopefully -- quite basic tasks. Reason being is that my friends and I are really into modding certain video games, but want to make it much easier to distribute files.
I'll be honest: I've had so much trouble trying to implement solutions from other topics and make it work for my situation (largely because of the presence of an equals sign causing grief) that I'm beginning to wonder if it's even possible. I'm at my wits' end, I tells ya! ;)
If anyone could provide the necessary code for me, ready to be plonked into a text file and saved as a .cmd file or whatnot, then I would be eternally grateful. I just want for me and my little circle of chums to be able to distribute our little mods amongst our humble community.
Thank you so much for reading about and hopefully looking into my quandary! I really appreciate any and all help. Cheers!