samadchaz Posted July 30, 2011 Share Posted July 30, 2011 here is my script If VersionLessThan 1.1.2 Message "This mod must be installed by OBMM version 1.1.2 or later to prevent install script errors." FatalErrorEndIfDontInstallAnyDataFiles IfNot OblivionNewerThan 1.2.416 Message "This mod requires Oblivion 1.2.416 or higher. Please download and install the official patch." FatalErrorEndIfDontInstallAnyDataFiles IfNot ScriptExtenderNewerThan 0.0.20.6 Message "HUD Status Bars requires Oblivion Script Extender. This cannot work without it." "WARNING - MISSING OBSE" FatalErrorEndIfDontInstallAnyDataFiles IfNot DataFileExists "Hud Status Bars.esp"Message "HUD Status Bars mod not detected. This cannot work without it." "WARNING - MISSING MAIN MOD" FatalErrorEndIfDontInstallAnyDataFiles DisplayImage "SS3.jpg" "HUD Alive!"DontInstallAnyDataFiles IfNot DataFileExists "Oblivion XP.esp" Message "Oblivion XP not detected.Oblivion XP bar will not appear" "Oblivion XP"EndIf IfNot DataFileExists "DarNifiedUI Config Addon.esp" Message "DarNifiedUI Config Addon not detected. HUD Aive could strongly benefit from that mod." "DarNifiedUI Config Addon.esp"EndIf DontInstallAnyDataFilesIf DialogYesNo "This will Install ini file,Continue?" InstallDataFile "ini\\Hud Status Bars.ini"EndIf DontInstallAnyDataFilesIf DataFileExists "Oblivion XP.esp"If DialogYesNo "Oblivion XP detected ,Continue installing Oblivion XP Bar?" CopyDataFolder "Textures" "Textures" TrueCopyDataFolder "Menus" "Menus" TrueEndIfEndIf I dont know where I am going wrong. Its giving me following error"you cannot copy a folder over itself" first script, please help. Link to comment Share on other sites More sharing options...
DrakeTheDragon Posted July 30, 2011 Share Posted July 30, 2011 As far as I know the 'CopyDataFolder' steps are all done internally in the temporary folder the archive got extracted to, not your data folder. So when you call 'CopyDataFolder "Textures" "Textures"' it's instructed to do exactly what it's complaining about, copying "its" 'Textures' folder over "its" 'Textures' folder, not "yours". Simply calling 'InstallDataFolder "Textures"', or what the corresponding command is, would do what you're trying to achieve here by 'CopyDataFolder "Textures" "Textures"'. Link to comment Share on other sites More sharing options...
samadchaz Posted July 31, 2011 Author Share Posted July 31, 2011 Thanks for your help! Kudos :thumbsup: know how to tell OBMM to install the files in My Documents/My Games folder? Link to comment Share on other sites More sharing options...
DrakeTheDragon Posted July 31, 2011 Share Posted July 31, 2011 OBMM should know your game path from the registry, but I think there's also a config dialog where all those pathes can be set up.What exactly are you trying to achieve by installing resource files to some place outside of your game, where they can't be found? Link to comment Share on other sites More sharing options...
samadchaz Posted August 1, 2011 Author Share Posted August 1, 2011 (edited) thanks for reply:)I want to replace/install in this folderMy Documents/My Games/Oblivion/Pluggy/I want to install a log file there made by Darnified UI config Addon.I cant use Conscribe( I think it store values in savegame) Edited August 1, 2011 by samadchaz Link to comment Share on other sites More sharing options...
DrakeTheDragon Posted August 1, 2011 Share Posted August 1, 2011 Hmm, I don't know if OBMM can do that. I'm sorry. Hopefully someone else knows better. Link to comment Share on other sites More sharing options...
Recommended Posts