![]() f Adds the registry entry without prompting for confirmation. ![]() Ok after trying so many complicated solutions, i found out in the doc how to overwrite without prompt. ![]() If you simply want to add all of the data regardless of any existing values, then just this would be all you need: Off %Reg% Add "%Key%" /Reg:32 /V "Patcher" /D "Updater_Launcher_ENG.exe" /F 1> NUL This is how I'd suggest you perform the task, if you only want to add all of the registry keys, if there is already an existing value named Patcher: Off Please also remember that this code is adding to a protected area of the Windows registry, so you must be running this script elevated or as a user with the required permissions. Please note that I have made several, more appropriate, changes to what you posted, please do not modify any of the content I have posted, it has been written using the correct syntax, keys, values and data. However, there were several other issues with what you've posted, so I have rewritten the entire thing for you in two possible formats, (as I was unsure of your true intention). Please open a Command Prompt window type reg /? and press the ENTER key to read the usage information. REG query HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v Argument /t REG_EXPAND_SZ /d "not_used" || REG ADD HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v Argument /t REG_EXPAND_SZ /d "not_used"Īs already mentioned in your subsequent answer, you should use the /F option with Add to force the overwriting of existing value data. REG query HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v Install_Dir /t REG_EXPAND_SZ /d "C:\Pangya eXtremV2" || REG ADD HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v Install_Dir /t REG_EXPAND_SZ /d "C:\Pangya eXtremV2" REG query HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v Launcher Version /t REG_EXPAND_SZ /d "v3.1" || REG ADD HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v Launcher Version /t REG_EXPAND_SZ /d "v3.1" REG query HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v Ver /t REG_EXPAND_SZ /d "TH.R4.584.04" || REG ADD HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v Ver /t REG_EXPAND_SZ /d "TH.R4.584.04" REG query HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v IntegratedPak /t REG_EXPAND_SZ /d "projectg500 .pak" || REG ADD HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v IntegratedPak /t REG_EXPAND_SZ /d "projectg500 .pak" REG query HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v PatchNum /t REG_EXPAND_SZ /d "184" || REG ADD HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v PatchNum /t REG_EXPAND_SZ /d "184" Reg query HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v Patcher || REG ADD HKLM\SOFTWARE\Wow6432Node\Ntreev\PangYa_Th /v Patcher /t REG_EXPAND_SZ /d "Updater_Launcher_ENG.exe" The fact is i am totally lost in writing batch files, i tried this but i don't know how to make the IF statement.And even less how to automatize the prompt answer ! off So i would like to make if key value exists echo y and press And since Pangya's multiplayer is asynchronous anyway latency isn't an issue, add a auto-translate system like Final Fantasy XIV has and one global server should be good to go.I'm really not used to use batchs.So i'm stuck on a problem : I want to ADD some registry key values but it will prompt : "key alreday exists, overwrite it (yes/no) ?" The playerbase based on fans as a whole should be strong-enough to sustain the game but not if you split it up across multiple servers. ![]() I really hope this takes off unlike the previous Pangya Mobile, one mistake they really shouldn't make anymore is to split this game up by regions. It seems like the series isn't dead yet! :D NCSoft announced Pangya M today at a press-conference which is apparently a "true" sequel to the original PC game with as much features retained as possible, a whole new graphics-engine, new gameplay additions like tornadoes and it features PC and Mobile crossplay.
0 Comments
Leave a Reply. |