[PC] Mod manager - 7thHeaven (v1.54)

  • Thread starter Thread starter Iros
  • Start date Start date
Status
Not open for further replies.
Doesn't updating the version number for the main mod file make 7H download the whole thing again though? How do I make it download just the patch files for those who already have the main mod installed?
No. Updating the version number tells 7H there is a new version. If the user wants to update then 7H first checks if there is a <Patch> entry with correct version numbers (i.e. VerFrom matches the version the user has installed, VerTo matches the new version) and if there is, it downloads the patch and applies it.

Only if there is no useful <Patch> entry will it download the entire thing the same as when installing for the first time.
 
Does 7H have issues patching large files? I have a mod with the soundfx mod included, and the patch gets stuck on the audio.dat file every time, it wont finish making the patch. The audio.dat file is 72 mb.

~I tried repackaging the iro I was trying to make a patch for just in case it didn't like something, and now 7H wont open. I deleted the 7thworkshop folder and tried again but it's pretty consistent.

Code: [Select]
Code:
System.ArgumentException: Path cannot be the empty string or all whitespace.   at System.IO.Directory.CreateDirectory(String path)   at Iros._7th.Workshop.fSettings.bOK_Click(Object sender, EventArgs e) in c:\Iros\7thWorkshop\fSettings.cs:line 96   at System.Windows.Forms.Control.OnClick(EventArgs e)   at System.Windows.Forms.Button.OnClick(EventArgs e)   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)   at System.Windows.Forms.Control.WndProc(Message& m)   at System.Windows.Forms.ButtonBase.WndProc(Message& m)   at System.Windows.Forms.Button.WndProc(Message& m)   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Second attempt. I reinstalled 7H after wiping everything out. I'm only setting the 7H library as I don't have the game installed on this computer, but that hasn't mattered since I started using 7H. As long as I don't try to start the game. Any ideas what it means because I'm back to not being able to load 7H at all. If I'm trying to run the game with a faulty mod I'd understand it crashing, but I'm just trying to zip an iro and create a patch.

Code: [Select]
Code:
_7thWrapperLib.IrosArcException: Signature mismatch   at _7thWrapperLib.IrosArc.ArcHeader.Open(Stream s) in c:\Iros\7thWrapperLib\IrosArc.cs:line 56   at _7thWrapperLib.IrosArc..ctor(String filename, Boolean patchable) in c:\Iros\7thWrapperLib\IrosArc.cs:line 273   at Iros._7th.Workshop.fImportMod.ImportMod(String source, String name, Boolean iroMode, Boolean noCopy) in c:\Iros\7thWorkshop\fImportMod.cs:line 80   at Iros._7th.Workshop.fLibrary.fLibrary_Load(Object sender, EventArgs e) in c:\Iros\7thWorkshop\fLibrary.cs:line 147   at System.Windows.Forms.Form.OnLoad(EventArgs e)   at System.Windows.Forms.Form.OnCreateControl()   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)   at System.Windows.Forms.Control.CreateControl()   at System.Windows.Forms.Control.WmShowWindow(Message& m)   at System.Windows.Forms.Control.WndProc(Message& m)   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)   at System.Windows.Forms.ContainerControl.WndProc(Message& m)   at System.Windows.Forms.Form.WmShowWindow(Message& m)   at System.Windows.Forms.Form.WndProc(Message& m)   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
~v1.34 opens fine. 1.35 keeps crashing regardless of settings or anything. Which is weird because I've been using it all day, it just stopped working all of the sudden. Hmm v1.34 was able to zip my mod and create the patch file, even with the audio.dat file. Maybe just something with 1.35 than.
 
Last edited:
So I tried this out and when I try to launch game I got this:

System.ArgumentException: STATUS_INVALID_PARAMETER: Unable to start process; please check the given parameters. (Code: 740)
   at EasyHook.NativeAPI.Force(Int32 InErrorCode) in C:\Code\EasyHook-2.7.4761.0-Source\EasyHook\DllImport.cs:line 460
   at EasyHook.NativeAPI.RtlCreateSuspendedProcess(String InEXEPath, String InCommandLine, Int32 InProcessCreationFlags, Int32& OutProcessId, Int32& OutThreadId) in C:\Code\EasyHook-2.7.4761.0-Source\EasyHook\DllImport.cs:line 671
   at EasyHook.RemoteHooking.CreateAndInject(String InEXEPath, String InCommandLine, Int32 InProcessCreationFlags, String InLibraryPath_x86, String InLibraryPath_x64, Int32& OutProcessId, Object[] InPassThruArgs) in C:\Code\EasyHook-2.7.4761.0-Source\EasyHook\RemoteHook.cs:line 913
   at Iros._7th.Workshop.fLibrary.Launch(Boolean varDump, Boolean debug) in c:\Iros\7thWorkshop\fLibrary.cs:line 816
   at Iros._7th.Workshop.fLibrary.bLaunch_Click(Object sender, EventArgs e) in c:\Iros\7thWorkshop\fLibrary.cs:line 715
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Strange as it happens my FF7 Bootloader with Tifas Package and all works like a charm. This program does sure look nice in terms off managing your mods and all. Easier to use so to say, so again great work.
 
@Erik: Can you post a screenshot of your settings screen? I wonder if everything is set up correctly.

Or another possible problem: Is FF7.exe set to run in Compatibility mode / as an admin? If it is, you may have to set 7H to run the same, or it cannot start FF7.

@cmh: Patches for large files should work ... although compress/decompress speed is not so fast in the current version so it will be slower on compressed files. Next version will speed this up a bit.

Your error starting looks like you somehow have a corrupted IRO in your 7H mod folder. If you have the option "auto import mods" turned on, whenever you start 7H, it will import any mods it sees in the folder, and I guess one of the files is broken.
 
The problem seems to be with v1.35. I had zipped the mod that was giving me trouble and made the patch using v1.34. I had left something out so I made a second patch using v1.35 just now. 7H is crashing again same as before. It's either from creating large iro's or patches for large iro mods. I'm definitely sure it's either one because I fixed it reverting back to v1.34.

The corrected patch using v1.34 isn't merging properly. Or at least patches don't work if you update a model present in the mod already. I updated a field model with a patch and the game now crashes, applog says it's missing several rsd and .tex files. When I unzip the mod the model has no texture and the feet are missing. Patches may work to add new updates to mods but don't seem to work for replacing current mods already in place.

~A patch that was an add on, not replacing a currently install model, failed too. The model had no texture and was mostly transparent. Patches don't seem to be applying correctly at all.
 
Last edited:
The problem seems to be with v1.35. I had zipped the mod that was giving me trouble and made the patch using v1.34. I had left something out so I made a second patch using v1.35 just now. 7H is crashing again same as before. It's either from creating large iro's or patches for large iro mods. I'm definitely sure it's either one because I fixed it reverting back to v1.34.

The corrected patch using v1.34 isn't merging properly. Or at least patches don't work if you update a model present in the mod already. I updated a field model with a patch and the game now crashes, applog says it's missing several rsd and .tex files. When I unzip the mod the model has no texture and the feet are missing. Patches may work to add new updates to mods but don't seem to work for replacing current mods already in place.

~A patch that was an add on, not replacing a currently install model, failed too. The model had no texture and was mostly transparent. Patches don't seem to be applying correctly at all.
Patches apply fine for me. I will need to see your original files + patch to work out what's going on.
 
My problem could be related to the fact that I have the FF7 bootloader installed and maybe you can't have these 2 at the same time?

But here is my settings screen:

http://i.imgur.com/Ge0JNGX.png
The settings are a little out of whack. FF7Mods is from the Bootleg tutorial, but that's not where Aali's Driver works. You can keep that folder of mods on your computer for later use, but you need to start with a fresh install of the game.

1. Go to Control Panel -> Uninstall a program.
2. Uninstall FF7Music if it's there (should be if it's a Bootleg install).
3. Uninstall the game.
4. Delete the old game folder (C:\Games\FF7). Copy your save folder somewhere beforehand.
5. Clean your registry keys: DOWNLOAD
6. Install the game again. C:\Games\FF7 is fine.

Now Run FF7_GameConverter_7H.exe from STEP 1 of the tutorial. It should identify the installation path as C:\Games\FF7 and place/rename all the necessary files/folders for 7H to function. If it states the movie path isn't found, then type it in as "C:\Games\FF7\data\movies" (parenthesis included). If you have a keyboard without a numpad (3x3 grid of numbers on rightside), type Y when it asks to install the Laptop Keyboard Patch, otherwise type N to skip it. These instructions are all in the command prompt when you run it.

Next, change the following in your 7H settings:

Library Location: C:\Games\FF7\mods\7th Heaven
Aali Modpath: C:\Games\FF7\mods\Textures
Movie Path: C:\Games\FF7\data\movies
Extra Folders: music
                       direct

Open 7H and go to the Library tab. Right-click on the Installed button and uninstall all the mods. They aren't in the right location, so this needs to be done. It's going to require you to download them all again, so sorry about that.
 
New version v1.36: https://mega.co.nz/#!6IF1QRRS!EqE0R1N0eBPLK_JeVncj5wKNTrsnCmnhbKV4L8DKIuo

Changes in v1.36:

-Minor GUI fixes
-Improve decompression speed for compressed IRO files
-Improve FF7 startup speed when loading mods with chunked files
-Add advanced patch create - create a patch without needing to create a 'full' IRO of the new version

Kaldarasha's Chaos mod should load a lot quicker now. On my PC it used to take ~50 seconds longer to start FF7, which is bad - now it takes less than 10 seconds which I think is OK.

Actually accessing files (changing locations, loading models) is still a bit slow, I hope this will be speeded up more in another version.

For the last option you really need to be careful to set things up properly. If you create the patch by comparing two IRO file (old version and new version) that at least it is easy to test that both IROs work, and the patch (should!) automatically take account of all the differences between the versions.

For this version you have to make sure you put all the right files in all the right places.

Example: To update your mod to a new version you need to add two new files (vgmstream\yufi.ogg, vgmstream\yufi2.ogg), change two existing files (mod.xml and battle.lgp\rvaa) and delete one file from the IRO (battle.lgp\rvda) - perhaps you have realized you didn't need to change that file at all!

So set up a folder on your PC like this:

C:\temp\
   mod.xml
   battle.lgp\
      rvaa
   vgmstream\
      yufi.ogg
      yufi2.ogg
   
   
Point the new advanced patch create screen at the C:\temp folder. Any files in here (so, mod.xml, battle.lgp\rvaa, ...) get put into the patch to add/replace files to the original IRO. And in the 'deleted files' part of the patch create screen, type in 'battle.lgp\rvda' - so when the patch is applied, it will delete that file from the original IRO.
 
I like that feature, but it sounds pretty difficult to do. I'll test the regular patch feature with the new version and see if I still have problems.
 
Is there any chance the catalog sections could support mouse scroll instead of having to manually drag the scroll bar?
 
Is there any chance the catalog sections could support mouse scroll instead of having to manually drag the scroll bar?
A luxury, but definitely a nice one. I wouldn't mind this as well :)
 
A luxury, but definitely a nice one. I wouldn't mind this as well :)
Actually when you change it to compact view it does scroll fine with the mouse wheel, it is only in non compact view it doesnt :)

seeing as you made the packages and know what they all are you can just leave it in compact view for now and enjoy you lucky dog. I however need the pictures and descriptions lol :P
 
Ok so I did all the above steps, thanks for trying to help.

But now I can't even start 7th Heaven it says:
System.TypeInitializationException: The type initializer for 'Iros._7th.Workshop.Sys' threw an exception. ---> System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at System.Xml.XmlReader.MoveToContent()
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSettings.Read8_Settings()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
   at Iros._7th.Util.Deserialize[T](Stream s) in c:\Iros\7thWrapperLib\Util.cs:line 10
   at Iros._7th.Util.Deserialize[T](String file) in c:\Iros\7thWrapperLib\Util.cs:line 14
   at Iros._7th.Workshop.Sys..cctor() in c:\Iros\7thWorkshop\Sys.cs:line 100
   --- End of inner exception stack trace ---
   at Iros._7th.Workshop.Sys.get_Catalog()
   at Iros._7th.Workshop.pTags.Init() in c:\Iros\7thWorkshop\pTags.cs:line 20
   at Iros._7th.Workshop.pTags..ctor() in c:\Iros\7thWorkshop\pTags.cs:line 29
   at Iros._7th.Workshop.fLibrary.InitializeComponent() in c:\Iros\7thWorkshop\fLibrary.Designer.cs:line 79
   at Iros._7th.Workshop.fLibrary..ctor() in c:\Iros\7thWorkshop\fLibrary.cs:line 16
   at Iros._7th.Workshop.Program.Main() in c:\Iros\7thWorkshop\Program.cs:line 18
 
Last edited:
C:\Users\Erik\AppData\Roaming\7thWorkshop

Close 7th Heaven. Go to the above path, where Erik is instead the name of your user when you login to Windows. Delete everything in the 7thWorkshop folder and open 7th Heaven. You will need to put in all your settings again.
 
C:\Users\Erik\AppData\Roaming\7thWorkshop

Close 7th Heaven. Go to the above path, where Erik is instead the name of your user when you login to Windows. Delete everything in the 7thWorkshop folder and open 7th Heaven. You will need to put in all your settings again.
Ok, now I can actually launch the game (after some huge trial and error haha). But somethings look weird. Like the font (text) seems weird and the ATB was really off in some graphical error way.
 
Last edited:
You don't ever use FF7_en.exe or see the launcher in this process. Those are both related to the 2012 Square Enix release, which isn't compatible with Aali's Driver. The FF7_GameConverter_7H.exe will patch all the necessary files and the game is launched directly from ff7.exe.
 
Last edited:
You don't ever use FF7_en.exe or see the launcher in this process. The game is launched directly from ff7.exe.
Yeah I noticed that after some trial and error. See above post (which I've updated now).
 
At this point, I don't know what you've done to set this up. You've mentioned a Bootleg install and FF7_en.exe, which is completely off-base with how the setup is supposed to be. Now you say you've fixed it through trial and error, but that doesn't give me any details to what you did.
 
Status
Not open for further replies.
Back
Top