Jump to content


Photo

Wrye's Bash won't run from inside MO2


  • Please log in to reply
75 replies to this topic

#31 GrantSP

GrantSP

    The antipodean

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,280 posts

Posted 15 July 2017 - 06:12 PM

You should not be seeing those files in 'Overwrite'.

All that you should see are the reports from the last bashed patch creation.



#32 cptmcsplody

cptmcsplody

    Guard

  • Members
  • PipPip
  • 135 posts

Posted 15 July 2017 - 06:22 PM

I never get the logs or bash patch in overwite, they are saved to the data folder. Its with the portable version of MO2. Going to test instance version.

 

Same for instance version https://i.imgur.com/yTjpM50.png

 

Anyway it works, in a fashion.

 

If I can help troubleshoot the above, let me know.


Edited by cptmcsplody, 15 July 2017 - 06:30 PM.

  • 0

#33 GrantSP

GrantSP

    The antipodean

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,280 posts

Posted 15 July 2017 - 08:00 PM

How have you got MO2 and WB setup? A copy of your logs would be good to see.



#34 cptmcsplody

cptmcsplody

    Guard

  • Members
  • PipPip
  • 135 posts

Posted 15 July 2017 - 09:33 PM

Sure not sure if they will help

 

Log from MO2 log folder after running wrye bash, crash on exit, have a dmp file not sure how to read it.

 

03:28:50.899 [D] remove from process 8108
03:28:50.899 [I] create config in 8108
03:28:50.899 [I] 0 processes - 3
03:28:50.900 [I] mod_organizer_instance_1 created in process 8108
03:28:50.900 [I] attached to mod_organizer_instance_1 with 1 nodes, size 65536
03:28:50.900 [I] inv_mod_organizer_instance_1 created in process 8108
03:28:50.900 [I] attached to inv_mod_organizer_instance_1 with 1 nodes, size 65536
03:28:50.900 [D] context current shm: mod_organizer_instance (now 2 connections)
03:29:02.831 [I] (proxy) instance: mod_organizer_instance
03:29:02.831 [I] (proxy) exe: 
03:29:02.831 [I] (proxy) pid: 3824
03:29:02.831 [I] (proxy) size: 8192
03:29:02.831 [I] (proxy) addr: 0x860000
03:29:02.831 [I] (proxy) objs: 1
03:29:02.831 [I] (proxy) injecting to process 3824 with same bitness
 
Only thing in wrye bash 
BashBugDump

testing UAC
 
testing wrye python now
 
****** Edit
 
BashBugDump for wrye bash python debug version
 
Wrye Bash starting
Using Wrye Bash Version 307.201612302300
OS info: Windows-8-6.2.9200
Python version: 2.7.10
wxPython version: 2.8.12.1 (msw-unicode)
input encoding: UTF8; output encoding: None; locale: ('en_IE', 'cp1252')
filesystem encoding: mbcs 
Searching for game to manage:
bush.py   71 _supportedGames: Detected the following supported games via Windows Registry:
bush.py   73 _supportedGames:  skyrim special edition: E:\SteamLibrary\steamapps\common\Skyrim Special Edition
bush.py  131 _detectGames: Detecting games via the -o argument, bash.ini and relative path:
bush.py  141 _detectGames: No known game in parent directory of Mopy: E:\SteamLibrary\steamapps\common\Skyrim Special Edition\data
bush.py  172 setGame: No preferred game specified.
Single game found: skyrim special edition
bush.py  131 _detectGames: Detecting games via the -o argument, bash.ini and relative path:
bush.py  141 _detectGames: No known game in parent directory of Mopy: E:\SteamLibrary\steamapps\common\Skyrim Special Edition\data
bush.py  152 __setGame: Specified game "skyrim special edition" was found: E:\SteamLibrary\steamapps\common\Skyrim Special Edition
testing UAC
mods_metadata.py  224 __init__: Using LOOT API version: 0.10.2

 

BashBugDump_startup.txt

Found Python at 'C:\Python27\pythonw.exe' 
Launching Wrye Bash 307 in debug mode 
 
screenshot of overwrite after python version

Edited by cptmcsplody, 15 July 2017 - 09:47 PM.

  • 0

#35 GrantSP

GrantSP

    The antipodean

  • Super Moderators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,280 posts

Posted 15 July 2017 - 10:16 PM

Well that is the weirdest thing I have seen, nothing out of the ordinary jumps out at me but I have never heard/seen anyone have those things in their 'Overwrite' before.

The "rule of thumb" with MO/MO2 is this: if the file exists, edit the original and keep it in the original location. If it is a new file then create it and save it in 'Overwrite'.

WB uses it own system to store temp folders which will be %AppData%\Local\Temp\. Those files/folders may for some unknown reason be diverted here?

 

Anyway if you are able to get functionality from this setup, let's not break anything with trying to fix whatever is (not)broken.



#36 fortunequacker

fortunequacker

    Prisoner

  • Members
  • 8 posts

Posted 21 July 2017 - 08:59 PM

I have the same error.  What I found in addition to everything you all have noted already.  Is that even though, I manually set all of the paths in bash.ini to child directories of my Mopy folder, Win 10 is still insisting on using Appdata\Local when Wrye Bash is run though MO2.  With all the same bash.ini settings, WB runs perfectly outside of MO2.

 

I am on Win 10 Insider Build 16237, rolled back from 16241.  16241 will not let you run MO1 games with mods.  I verified this myself.

 

So, I have modified the batch file submitted above and will try this work-around.  Thanks for the batch coding work.  Appreciate it.

 

F.Q.


  • 0

#37 fortunequacker

fortunequacker

    Prisoner

  • Members
  • 8 posts

Posted 25 July 2017 - 09:19 AM

Regarding my previous post.  The batch file runs great for me until it reaches a large BSA file, then it hangs.  I tried some different ROBOCOPY flags with no joy.

 

In other news, after a complete Windows 10 reinstall to IP 16237, I still cannot get Wrye Bash to run through MO2.  I can also confirm the same issue with FO4.  I firmly believe, at this point, something in Windows 10 is causing this issue.  Unfortunately, at some point, all users of Windows 10, MO2, and Wrye Bash will be affected.  We can only hope that Tannin and the NMM Team will come through with a better solution with a new and improved NMM.

 

F.Q.


  • 0

#38 shadow1

shadow1

    Prisoner

  • Members
  • 24 posts

Posted 25 July 2017 - 11:07 PM

More problems with insider builds of win 10, I advise to stay clear of it for now.

 

MO2 + Wrye + Insider = no good

MO1 + FNIS + Insider = no good

 

Probably more.


Edited by shadow1, 25 July 2017 - 11:14 PM.

  • 0

#39 outdatedTV

outdatedTV

    Prisoner

  • Members
  • 40 posts

Posted 16 September 2017 - 06:13 AM

Same problem with SSE and MO2 + Wrye Bash here:

https://imgur.com/yTjpM50

 

Windows Insider 16288.

 

Anyone found a solution?

 

(It works with MO1 New Vegas)


  • 0

#40 outdatedTV

outdatedTV

    Prisoner

  • Members
  • 40 posts

Posted 16 September 2017 - 06:20 AM

 

Nor me too, just tried it, different issue I suspect. 

 

In order to get wrye bash to work for what I want it to do (create bashed patch) I knocked up a batch script that rebuilds the skyrim install with all the mods based on the load order in MO2 it worked for me.  Takes ages on large mod setup and about as kludgy as one can get but it works for me, to create bashed patches.  To use it you will need to modify it for your own paths and it needs somewhere between the size of a skyrim install and your Mod organizer folder to run, save as anyfilename.bat it your MO mods folder, and run. 

 

Tested only on my setup USE AT OWN RISK but it is here if any one wants it:

@echo off
set _Output=c:\xeditTEMP\Skyrim Special Edition
set _SteamPath=c:\steam\steamapps\common\Skyrim Special Edition
set _ModList=..\profiles\Default\modlist.txt

echo Deleting old dir...
RD /S /Q "%_Output%"
cls
echo Ready to start.
pause

robocopy /s "%_SteamPath%" "%_Output%"

echo copying skyrim mods according to MO2 modlist order...
title copying skyrim mods according to MO2 modlist order...
md "%_Output%\dataTEMP"
::get total amount of mods
Set /a _Lines=0
For /f %%j in ('Find "%_ModList%" /v /c ^< %_ModList%') Do Set /a _Lines=%%j
SET /A XCOUNT=0
setlocal enableextensions enabledelayedexpansion

::start looping through mod folders  from modlist.txt and copy to temp folder

FOR /f "tokens=1,2* delims=+" %%G IN (%_Modlist%) DO (
    cls
    SET /A _XCOUNT+=1
    echo Copying skyrim mods according to MO2 modlist order...
    title Copying skyrim mods according to MO2 modlist order...
    echo Copying mod !_XCOUNT! of %_Lines%
    echo Copying mod "%%G"
    IF NOT "%_XCOUNT%" == "1" robocopy /s /xc /xn /xo /xx "%%G" "%_Output%\dataTEMP" >nul
)
cls
echo Copying skyrim mods to final folder...
Title Copying skyrim mods to final folder...
robocopy /MOV /S /IS "%_Output%\dataTemp" "%_Output%\data"
cls
echo All done... copying your plugins file to beth folder now
copy "..\profiles\Default\plugins.txt" "C:\Users\mark\AppData\Local\Skyrim Special Edition\plugins.txt"
pause
"C:\modOrganizerSky\tools\WBskyrim\Wrye Bash.exe" -g "Skyrim Special Edition" -o "c:\xeditTEMP\Skyrim Special Edition"

Crazy stuff, generating...


  • 0

#41 outdatedTV

outdatedTV

    Prisoner

  • Members
  • 40 posts

Posted 16 September 2017 - 06:33 AM

@mscheetham

 

Can you tell me what is C:\modOrganizerSky\tools\WBskyrim\Wrye Bash.exe?

 

Can I point to my G:\ProgiGry\SteamProg\steamapps\common\Skyrim Special Edition\Mopy\Wrye Bash.exe ?

 

I understand this bat file should create all the Data 

\textures

\meshes

...etc.

 

But it does not for me. Data folder is same as in the "real" game, without those. Any idea what I am doing wrong? Here's my batch file:

 

 
Alright, found it, different profile name in MO I have than "Default"

Edited by outdatedTV, 16 September 2017 - 06:47 AM.

  • 0

#42 outdatedTV

outdatedTV

    Prisoner

  • Members
  • 40 posts

Posted 16 September 2017 - 07:09 AM

Now after completing the bat, when WB runs, it says that the list has been sanitized due to missing plugins and again I am left with the vanilla esms in the list. But getting closer to making the bat right I guess


Still get this after running the bat:

 

https://imgur.com/a/TSG9X


  • 0

#43 outdatedTV

outdatedTV

    Prisoner

  • Members
  • 40 posts

Posted 16 September 2017 - 07:59 AM

Made a video of what happens:

https://youtu.be/8wpJF8qcK1M

 

And here's my BAT version:

https://pastebin.com/2Dr4Ff4z


  • 0

#44 outdatedTV

outdatedTV

    Prisoner

  • Members
  • 40 posts

Posted 16 September 2017 - 09:17 AM

I reported the original issue on github here:

https://github.com/w...bash/issues/387


  • 0

#45 outdatedTV

outdatedTV

    Prisoner

  • Members
  • 40 posts

Posted 16 September 2017 - 04:04 PM

I have a fix. You need to use this python version of Wrye Bash:

https://github.com/w...tree/utumno-wip

 

Here's how to install it and use from MO2:

https://github.com/w...d-Mod-Organizer

 

On first run enable and then disable Auto Ghosting. The Bashed Patch will go to Overwrite. Just move it manually to your SkyrimSE Data folder. I am now building a game using this python version and it works fine on Win10 build 16288.


  • 0


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users