Jump to content

Help: BAT's not working


ThatsSoWitty

Recommended Posts

So I'm trying to run two bat files to give myself all of the spellbooks for the vanilla game and also for some mods I've installed. Every time I run a bat file in game, the game says, "Batch file cannot be found or opened" even though it's in both my data folder and my main folder as both a .txt and a .bat file just to make sure.

 

I know the psb command doesn't work, but I'm trying to make it work by using a bat that removes all of the illegitimate spells that crash the game. The original problem was caused by the Naruto Overhaul because the ninja masters won't sell me a good 75% of the spells and they don't even pop up in inventory. I really don't want to sit and add them all line by line, so I was hoping I could get a BAT to do it for me.

 

I'm hopelessy stuck, so if anyone could help me, that'd be great...

 

Build:

Intel® Core i5-3230M CPU @ 2.60GHz 2.60 GHz

16.0 GB (15.9 GB usable)

64-bit Operating System

Nvidia GeForce GT 650M/2GB GDDR5

Link to comment
Share on other sites

The BAT file only needs to be in your main skyrim folder, not the data folder and it only needs to be a .txt file.

 

When in game you need to type the follow in the command console:

 

bat filename without the .txt

 

I have such files for myself for all books and another for just skill/spell book. My files are allbooks.txt and allskillbooks.txt, so I would type for example:

 

bat allbooks

bat allskillbooks

 

The formatting in your file should be as follows:

 

 

;random books
;player.additem 973ac 1 ;the keepers of the razor
;player.additem 72840 1 ;the last king of the ayeleids
;player.additem 86EF8 1 ;mythic dawn c. #1
;player.additem 86EF9 1 ;mythic dawn c. #2
;player.additem 86EFa 1 ;mythic dawn c. #3
;player.additem 86EFb 1 ;mythic dawn c. #4
;player.additem 4D249 1 ;night of tears
;player.additem F68AC 1 ;nightingales v1
;player.additem F68Ad 1 ;nightingales v2
;player.additem B6426 1 ;notes on yngol barrow
;player.additem 32785 1 ;ruminations o t ES
;
;skill books begin now
;
;alchemy skill books
;player.additem 1AFC4 1 ;
;player.additem 1AFC8 1 ;
;player.additem 1AFC7 1 ;
;player.additem 1AFC5 1 ;
;player.additem 1AFC6 1 ;
;;alteration
;player.additem 1AFC9 1 ;
;player.additem 1B236 1 ;
;player.additem 1AFCC 1 ;
;player.additem 1AFCD 1 ;
;player.additem 1AFCB 1 ;
;;archer
;player.additem 1B005 1 ;
;player.additem 1B008 1 ;
;player.additem 1B009 1 ;
;player.additem 1B26D 1 ;
;player.additem 1B007 1 ;
;;block
;player.additem 1AFDD 1 ;
;player.additem 2F83C 1 ;
;player.additem 1AFDF 1 ;
;player.additem 1AFDE 1 ;
;player.additem 1AFE0 1 ;
;;conjuration
;player.additem 1AFE7 1 ;
;player.additem 1AFEA 1 ;
;player.additem 1AFE9 1 ;
;player.additem 1AFE8 1 ;
;player.additem 1AFEB 1 ;
;;destruction
;player.additem 1AFEE 1 ;
;player.additem 1AFEC 1 ;
;player.additem 1AFEF 1 ;
;player.additem 1AFED 1 ;
;player.additem 1AFF0 1 ;
;;enchanting
;player.additem 2F837 1 ;
;player.additem 2F83A 1 ;
;player.additem 2F83B 1 ;
;player.additem 2F839 1 ;
;player.additem 2F838 1 ;
;;heavy
;player.additem 1AFFA 1 ;
;player.additem 1AFF6 1 ;
;player.additem 1AFF7 1 ;
;player.additem 1AFF8 1 ;
;player.additem 1AFF9 1 ;
;;illusion
;player.additem 1B00F 1 ;
;player.additem 1B010 1 ;
;player.additem 1B012 1 ;
;player.additem 1B011 1 ;
;player.additem 1B013 1 ;
;;light armor
;player.additem 1B001 1 ;
;player.additem 1B002 1 ;
;player.additem 1B000 1 ;
;player.additem 1B003 1 ;
;player.additem 1B004 1 ;
;;lockpicking
;player.additem 1b01c 1
;player.additem 1b01b 1
;player.additem 1b019 1
;player.additem 1b01d 1
;player.additem 1b01a 1 ;wolf queen v1
;;one handed
;player.additem 1afe3 1
;player.additem 1afda 1
;player.additem 1afd9 1
;player.additem 1afe4 1
;player.additem 1afe6 1
;;pickpocket
;player.additem 2f836 1
;player.additem 1ace6 1
;player.additem 1afd6 1
;player.additem 1b022 1
;player.additem 1afbf 1
;;restoration
;player.additem 1b016 1
;player.additem 1b017 1
;player.additem 1b015 1
;player.additem 1b018 1
;player.additem 1b014 1
;;smithing
;player.additem 1afd2 1
;player.additem 1afce 1
;player.additem 1afd1 1
;player.additem 1afcf 1
;player.additem 1afd0 1
;;sneak
;player.additem 1b01f 1
;player.additem 1afd5 1
;player.additem 1b021 1
;player.additem 1b020 1
;player.additem 1b276 1
;;speech
;player.additem 1b00e 1
;player.additem 1b00d 1
;player.additem 1b025 1
;player.additem 1b023 1
;player.additem 1b00a 1
;;two-handed
;player.additem 1afe5 1
;player.additem 1afdc 1
;player.additem 1afe2 1
;player.additem 1afdb 1
;player.additem 1afd8 1
;
;standard books begin now
;
;List 0
player.additem 1AFF1 1 ;immortal blood
player.additem 1AFC1 1 ;dance of fire v4
player.additem 1AFD7 1 ;arg a b1
player.additem 1AFFC 1 ;arg a b3
player.additem 1B00C 1 ;2920 sh v7
player.additem 1AFF3 1 ;ahzirr traajijazeri
player.additem 1AFC2 1 ;blk arrow v1
player.additem 1AFC0 1 ;dance in fire v1
player.additem 1AFD4 1 ;^v3
player.additem 1AFD3 1 ;ransom zarek
player.additem ED039 1 ;nightingales f/f?
player.additem 1AFFE 1 ;palla v1
player.additem 1AFC3 1 ;mystery talara v1
player.additem ED03D 1 ;song return v19
player.additem 1AFFB 1 ;wolf queen v3
player.additem 1B00B 1 ;^4
player.additem 1B024 1 ;^5
player.additem 1B026 1 ;^7
player.additem 1AFF2 1 ;^2
player.additem EF53E 1 ;kolb & dragon
player.additem EDD35 1 ;killing b4
player.additem ED604 1 ;horker
player.additem ED02E 1 ;gentleman..whiterun
player.additem ED030 1 ;holds skr
player.additem 1ACB9 1 ;brief history empire v1
player.additem 1ACBA 1 ;v2
player.additem 1ACBB 1 ;v3
player.additem 1ACBC 1 ;v4
player.additem 1ACB7 1 ;barenziah v3
player.additem 1ACB6 1 ;v2
player.additem 1ACB5 1 ;v1
player.additem 7EBC9 1 ;malacath
player.additem 7EBC2 1 ;city of stone
player.additem 1ACC6 1 ;rep dis @ ionith
player.additem ED161 1 ;nords arise (SC propaganda)
player.additem EB090 1 ;olaf dragon
player.additem 1ACB8 1 ;myth sheogorath
player.additem 9F267 1 ;uncommon taste
player.additem 1B274 1 ;yellow book riddles
;List 2
player.additem A0322 1 ;kiss sweet mother
player.additem F456D 1 ;great war
player.additem 1ACD5 1 ;gods & worship
player.additem 1ACCD 1 ;galerion the mystic - psijic
player.additem 1ACCB 1 ;frontier conquest
player.additem ED60B 1 ;hagravens
player.additem D6F0B 1 ;ice wraith
player.additem 1B26A 1 ;hope redoran
player.additem E2FC5 1 ;dunmer skyrim
player.additem ED02F 1 ;dream sovngarde
player.additem 1ACC9 1 ;darkest darkness
player.additem ED033 1 ;fall from glory
player.additem 83B38 1 ;exp g to skr
player.additem E7F34 1 ;dwemer inquiries v3
player.additem E7F33 1 ;v2
player.additem E7F31 1 ;v1
player.additem 1ACD2 1 ;firmament
player.additem 1ACD3 1 ;firsthold revolt
player.additem 1ACE1 1 ;amulet of kings
player.additem 1B22D 1 ;ancestors dunmer
player.additem EA5B0 1 ;alduin is real
player.additem ED04B 1 ;alduin/akatosh dichotomy
player.additem 1B22F 1 ;atecedants of dwemer law
player.additem 1B25E 1 ;arcturian heresy
player.additem 1B22C 1 ;aedra & daedra
player.additem 1ACC8 1 ;daedra
player.additem 1ACC7 1 ;beggar prince
player.additem 7EB9E 1 ;bear of markarth - ulfric rule reach
player.additem 1ACDF 1 ;children's anuad
player.additem 1B237 1 ;chance's folly
player.additem ED605 1 ;cats of skyrim
player.additem EF638 1 ;cabin woods
player.additem 1B262 1 ;cake and the diamond
player.additem ED5F5 1 ;rising threat v2
player.additem ED5F4 1 ;v1
player.additem E7EF0 1 ;pirate king abecean
player.additem 1ACD6 1 ;real barenziah v1
player.additem 1ACD7 1 ;v2
player.additem 1ACD8 1 ;v3
player.additem 1ACD9 1 ;v4
player.additem 1ACDa 1 ;v5
player.additem 37DEA 1 ;oblivion crisis
player.additem E0D66 1 ;nords of skyrim
player.additem ED607 1 ;ode to tundrastriders
player.additem ED035 1 ;of crossed daggers
player.additem B64B1 1 ;fjori holgeir
player.additem 3010A 1 ;pension ancestor moth
player.additem 7EB03 1 ;madmen reach
player.additem C1771 1 ;legend red eagle
player.additem 1ACDC 1 ;life uriel septim vii
player.additem 1ACD1 1 ;mixed unit tactics
player.additem F1AB3 1 ;minor maze
player.additem 1B26E 1 ;monomyth
player.additem 1ACD4 1 ;mysterious akavir
player.additem ED04D 1 ;talos mistake
player.additem 1AF8E 1 ;song of pelinal v5
player.additem 1AF8F 1 ;v6
player.additem 1AF90 1 ;v7
player.additem 1AF91 1 ;v8
player.additem 1AF8D 1 ;v4
player.additem ED045 1 ;song of the return v2
player.additem ED046 1 ;v2
player.additem ED044 1 ;v56 (holy s***, 56 volumes?!)
player.additem 1B25A 1 ;spirit of nirn
player.additem ED03B 1 ;scourge gray quarter
player.additem ED5F7 1 ;rising threat v 4
player.additem ED5F6 1 ;v3
player.additem 1ACDB 1 ;ruins kemel-ze
player.additem E7F37 1 ;songs askelde men
player.additem 1AF8A 1 ;song pelinal v1
player.additem 1AF8B 1 ;v2
player.additem 1AF8C 1 ;v3
player.additem ED04F 1 ;third era tl
player.additem 1ACDD 1 ;thief virtue
player.additem 1ACE2 1 ;trials st alessia
player.additem ED606 1 ;troll slaying
player.additem 83B3B 1 ;wispmother
player.additem ED03C 1 ;windhelm letters
player.additem ED63F 1 ;watcher stones
player.additem 1AFBA 1 ;wabbajack
player.additem ED061 1 ;walking the world v xi
player.additem ED601 1 ;woodcutter's wife
player.additem 2A563 1 ;yngol sea-ghosts
;list 3
player.additem EDA90 1 ;imp rep on saarthal
player.additem ED047 1 ;great harbingers
player.additem ED031 1 ;ghosts storm
player.additem ED60C 1 ;automatons
player.additem 1ACEA 1 ;dwemer history culture
player.additem 8316A 1 ;dwarves v3
player.additem 83169 1 ;v2
player.additem 83168 1 ;v1
player.additem EDDD5 1 ;dragon war
player.additem 1ACF2 1 ;dowry
player.additem 1AFCA 1 ;dragon break
player.additem ef2c0 1 ;dragon language
player.additem ed040 1 ;death wanderer
player.additem e0d68 1 ;the falmer: a study
player.additem 1acf7 1 ;fall snow prince
player.additem 1aced 1 ;feyfolken 3
player.additem 1b267 1 ;final lesson
player.additem 1aceb 1 ;feyfolken 1
player.additem 1acec 1 ;2
player.additem e3e69 1 ;forge hammer anvil
player.additem ed04e 1 ;flight thalmor
player.additem 1ace9 1 ;azura box
player.additem 1ace8 1 ;arg ac b4
player.additem ed03f 1 ;amongst draugr
player.additem eda8f 1 ;apprentice's ass
player.additem 1ace7 1 ;arg ac 2
player.additem 1ace3 1 ;2920 sun's dusk v11
player.additem 1ace5 1 ;2920 first seed v3
player.additem 1ace4 1 ;2920 evening star v12
player.additem f86fe 1 ;book of the dragonborn
player.additem ed032 1 ;chaurus pie
player.additem 1b238 1 ;charwich-koniige v1
player.additem 1b239 1 ;v2
player.additem 1b23a 1 ;v3
player.additem f4530 1 ;rise & fall of the blades
player.additem ed041 1 ;werewolves
player.additem 1af40 1 ;lamae bal
player.additem eda8e 1 ;great collapse
player.additem ed037 1 ;stepping lightly
player.additem 1acf3 1 ;on oblivion
player.additem 1acf4 1 ;palla v2
player.additem 1acf0 1 ;madness of pelagius
player.additem 1acf1 1 ;magic from the sky
player.additem f699d 1 ;lusty arg maid v2
player.additem 1acef 1 ;v1
player.additem ed608 1 ;lost legends
player.additem 1acf5 1 ;mystery talara v5
player.additem f03e3 1 ;tale dro'zira
player.additem f11d5 1 ;songs skyrim revised
player.additem ed062 1 ;songs skyrim
player.additem e2fc6 1 ;sovngarde reexamination
player.additem 1acfa 1 ;the seed
player.additem ed04c 1 ;skyrim's rule
player.additem 1af93 1 ;shezarr divines
player.additem 1b22b 1 ;morrowind
player.additem 1acfc 1 ;varieties daedra
player.additem 1acfb 1 ;third door
player.additem ed5f8 1 ;there be dragons
player.additem 1b27d 1 ;world of clan mother ahnissi
player.additem 1acfd 1 ;wolf queen v8
player.additem 1b273 1 ;wraith wedding dowry
player.additem 1b245 1 ;invocation of azura
;list 4
player.additem 1ad07 1 ;glories and laments
player.additem 1ad08 1 ;hanging gardens
player.additem 1b006 1 ;dance in fire v5
player.additem 3010b 1 ;effects elder scrolls
player.additem 1ad05 1 ;five songs king wulfharth
;player.additem 1ad06 1 ; fragment on artaeum (dupe of below)
player.additem 72841 1 ;^(not sure if 2 parts or dupe)
player.additem 1acfe 1 ;arcana restored
player.additem 1afb1 1 ;16 accords of madness xii
player.additem 1afb3 1 ;ix
player.additem 1afb2 1 ;vi
player.additem 1af94 1 ;the adabal-a
player.additem ed03a 1 ;accounting of the scrolls
player.additem 1acff 1 ;brothers of darkness
player.additem 1b233 1 ;boethia's glory
player.additem 1ad03 1 ;children of the sky
player.additem 1b23b 1 ;charwich-koniige letters v4
player.additem 1b23c 1 ;chronicles of nchuleft
player.additem 1ad04 1 ;cleansing of the fane
player.additem 1ad13 1 ;red book of riddles
player.additem 1ad14 1 ;remanada
player.additem 1ad12 1 ;posting of the hunt
player.additem 1ad11 1 ;pig children
player.additem e0d67 1 ;night mother's truth
player.additem 1ad0f 1 ;the old ways
player.additem ed042 1 ;lycanthropic legends of skr
player.additem 1ad09 1 ;last king of the ayleids
player.additem 1ad0a 1 ;legendary scourge
player.additem 1ad0e 1 ;n'gasta! kvata! kvakis! - wtf?
player.additem 1ad0d 1 ;nerevar moon and star
player.additem 1ad15 1 ;spirit of the daedra
player.additem ed048 1 ;song of the return v24
player.additem 1ad0c 1 ;souls black & white
player.additem 1ad16 1 ;true nature of orcs
player.additem 1adb4 1 ;treatise on ayleidic cities
player.additem 1ad17 1 ;waters of oblivion
player.additem 1ad18 1 ;wild elves
player.additem 1b272 1 ;war of the first council
player.additem 1b01e 1 ;the wolf queen v6

 

 

This list is for ALL books.

Edited by Baibaihe
Link to comment
Share on other sites

I literally copied what both of you said line for line and made two bat files: one for all books and one for all spells with the later made by the Skyrim Easy Console Command Adder. I placed both in my C:\Program Files (x86)\Steam\SteamApps\common\Skyrim and loaded up the game and tried to run it to no avail. Do I need to start a new game after I had them, or...?

Link to comment
Share on other sites

When you "run the bat file in game" are you entering console, then typing "bat" with a space and the name of the file without the extension? For example, I have TEST1.txt for bat file in skyrim main folder, I type: "bat TEST1" in console to execute the batch file.

Link to comment
Share on other sites

  • 2 months later...

So I'm trying to run two bat files to give myself all of the spellbooks for the vanilla game and also for some mods I've installed. Every time I run a bat file in game, the game says, "Batch file cannot be found or opened" even though it's in both my data folder and my main folder as both a .txt and a .bat file just to make sure.

 

I'm having the same problem.

 

My bat files are in the proper place. [C:\Program Files (x86)\Steam\SteamApps\common\Skyrim]

 

names are spells.txt and perks.txt

 

in the console I'm typing:

 

bat spells

 

or

 

bat perks

 

 

It is odd, because I know they use to work.....

 

Found a solution.

 

I recently got a new SSD [drive F: on my pc] and I reinstalled my games there. If I put the bat files here: [F:\SteamLibrary\steamapps\common\Skyrim], they work.

Link to comment
Share on other sites

  • 1 year later...

Well I'm having the same problem with my batch files. I've used these literally thousands of times with Fallout 3, Fallout NV, Fallout 4, and Skyrim so I know the routine quite well. I have made and used so many of these batch files I can add and change almost anything in my games. But for some strange reason Oblivion wants to be a headache and not open the batch files.

 

I too installed it to the Steam games folder - C:\Program Files (x86)\Steam\steamapps\common\Oblivion - and I'm wondering if that somehow is the problem. I have the retail disc copy of Elder Scrolls IV Oblivion GOTY Edition and installed it there so it could be launched from Steam. I have OBSE installed at - C:\Program Files (x86)\Steam\steamapps\common\Oblivion\obse_loader.exe - and it runs fine from there. I put my batch files in the same folder as the Game Launcher and obse_loader.exe. But when I type - bat SG (SG is what I named the .txt file to get soul gems) it says it cannot open the file.

 

I uninstalled and reinstalled the game several times but still have the same problem. I even tried putting the batch file in the data folder and the default - C:\Program Files (x86)\Bethesda Softworks\Oblivion - folder but it still either can't find it or can't open it. I even tried making it an .ini file.

 

Anyone else got any ideas?

Link to comment
Share on other sites

  • 1 year later...
  • 6 months later...

There's a new location that the files need to be placed into. It used to be (in my case) C:\Steam\Steamapps\Common\Skyrim, but now it turns out it is C:\Program Files(X86)\Steam\Steamapps\Common\Skyrim.

 

Apparently there's been a change in the steam client.

 

You're welcome.

Link to comment
Share on other sites

It all depends on where you have Steam installed. The files are placed in the same location as they have always been. C:\Program Files(86) etc. is the default location where Steam installs itself. In my case the files would be placed in C:\User\my name\Steam\Steam Apps\Common\Skyrim

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...