Author Topic: [PC] Mod manager - 7thHeaven (v1.54)  (Read 486986 times)

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.28)
« Reply #475 on: 2014-08-05 11:35:53 »
I got this error:
Quote
System.Runtime.Serialization.SerializationException: Der Typ "_7thWrapperLib.ActiveWhen" in Assembly "7thWrapperLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" ist nicht als serialisierbar gekennzeichnet.
   bei 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:Zeile 944.
   bei Iros._7th.Workshop.fLibrary.Launch(Boolean varDump, Boolean debug) in c:\Iros\7thWorkshop\fLibrary.cs:Zeile 738.
   bei Iros._7th.Workshop.fLibrary.bLaunch_Click(Object sender, EventArgs e) in c:\Iros\7thWorkshop\fLibrary.cs:Zeile 637.
   bei System.Windows.Forms.Control.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
   bei System.Windows.Forms.Button.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I tried both strategies:

Code: [Select]
<ModFolder Folder="Cloud\CloudWBoB 00">
<ActiveWhen>
<And>
<Option>Dynamic = 1</Option>
<Option>CloudSword = 0</Option>
</And>
</ActiveWhen>
</ModFolder>
<ModFolder Folder="Cloud\CloudWBoB 01">
<ActiveWhen>
<And>
<Option>Dynamic = 1</Option>
<Option>CloudSword = 1</Option>
<Or>
<Option>Sword = 0</Option>
<Option>Sword = 1</Option>
</Or>
</And>
</ActiveWhen>
</ModFolder>
<ModFolder Folder="Cloud\CloudWBoB 02">
<ActiveWhen>

<And>
<Option>Dynamic = 1</Option>
<Option>Sword = 1</Option>
<Or>
<Option>Sword = 2</Option>
<Option>Sword = 3</Option>
</Or>
</And>
</ActiveWhen>
</ModFolder>

Code: [Select]
<ModFolder Folder="Cloud\CloudWBoB 00">
<ActiveWhen>
<And>
<Option>Dynamic = 1</Option>
<Option>CloudSword = 0</Option>
</And>
</ActiveWhen>
</ModFolder>
<ModFolder Folder="Cloud\CloudWBoB 01">
<ActiveWhen>
<And>
<Option>Dynamic = 1</Option>
<Option>CloudSword = 1</Option>
</And>
<Not>
<Option>Sword = 2</Option>
<Option>Sword = 3</Option>
</Not>
</ActiveWhen>
</ModFolder>
<ModFolder Folder="Cloud\CloudWBoB 02>
<ActiveWhen>

<And>
<Option>Dynamic = 1</Option>
<Option>CloudSword = 1</Option>
</And>
<Not>
<Option>Sword = 0</Option>
<Option>Sword = 1</Option>
</Not>
</ActiveWhen>
</ModFolder>

But I have no luck with it.

Well I will try something else, which will make the script a bit longer, but should also work as I plan it.

Edit:
This seems to work:
Code: [Select]
<ModFolder Folder="Cloud\CloudWBoB 00">
<ActiveWhen>
<And>
<Option>Dynamic = 1</Option>
<Option>CloudSword = 0</Option>
</And>
</ActiveWhen>
</ModFolder>
<ModFolder Folder="Cloud\CloudWBoB 01">
<ActiveWhen>
<And>
<Option>Dynamic = 1</Option>
<Option>CloudSword = 1</Option>
<Option>Sword = 0</Option>
</And>
</ActiveWhen>
</ModFolder>
<ModFolder Folder="Cloud\CloudWBoB 01">
<ActiveWhen>
<And>
<Option>Dynamic = 1</Option>
<Option>CloudSword = 1</Option>
<Option>Sword = 1</Option>
</And>
</ActiveWhen>
</ModFolder>
<ModFolder Folder="Cloud\CloudWBoB 02">
<ActiveWhen>

<And>
<Option>Dynamic = 1</Option>
<Option>CloudSword = 1</Option>
<Option>Sword = 2</Option>

</And>
</ActiveWhen>
</ModFolder>
<ModFolder Folder="Cloud\CloudWBoB 02">
<ActiveWhen>

<And>
<Option>Dynamic = 1</Option>
<Option>CloudSword = 1</Option>
<Option>Sword = 3</Option>
</And>
</ActiveWhen>
</ModFolder>
« Last Edit: 2014-08-05 11:53:12 by Kaldarasha »

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.28)
« Reply #476 on: 2014-08-05 14:06:54 »
Well I can't set the new ActiveWhen function against a conditional folder.

For some reasons it does not work anymore.
Quote
System.Runtime.Serialization.SerializationException: Der Typ "_7thWrapperLib.ActiveWhen" in Assembly "7thWrapperLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" ist nicht als serialisierbar gekennzeichnet.
   bei 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:Zeile 944.
   bei Iros._7th.Workshop.fLibrary.Launch(Boolean varDump, Boolean debug) in c:\Iros\7thWorkshop\fLibrary.cs:Zeile 738.
   bei Iros._7th.Workshop.fLibrary.bLaunch_Click(Object sender, EventArgs e) in c:\Iros\7thWorkshop\fLibrary.cs:Zeile 637.
   bei System.Windows.Forms.Control.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
   bei System.Windows.Forms.Button.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
« Last Edit: 2014-08-05 14:51:24 by Kaldarasha »

Iros

  • 7th Heaven Crew
  • *
  • Posts: 229
  • Files for the file god! Mods for the mod throne!
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.28)
« Reply #477 on: 2014-08-05 15:12:02 »
Definitely a bug :/ will fix it

Iros

  • 7th Heaven Crew
  • *
  • Posts: 229
  • Files for the file god! Mods for the mod throne!
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.28)
« Reply #478 on: 2014-08-05 20:48:28 »
Update v1.29: https://mega.co.nz/#!nFE2iRJA!DBTKcFTBAgY-yfq23v8tEqNj7oqsUo5GQpnxLtUJz6g

-Fix Conditional folders using new ActiveWhen tags
-Add auto update feature

7H will now tell you when a new version is out and [I hope] download & install the new version automatically if you choose to install it. You can disable the update check in settings if you don't want it of course. Since v1.29 is the first version with the updater, you still have to download this version and apply it manually of course :)

@Kaldarasha: Although most of your tags looked right to me, this one:

Code: [Select]
<ActiveWhen>

<And>
<Option>Dynamic = 1</Option>
<Option>CloudSword = 1</Option>
</And>
<Not>
<Option>Sword = 0</Option>
<Option>Sword = 1</Option>
</Not>
</ActiveWhen>

won't work since a <Not> can only contain one other node (otherwise, it would not know how to combine the results of the various child nodes?).

<And> can contain any number of other nodes and it is active only if ALL the contained nodes are active.

<Or> can contain any number off nodes too, it is active if ANY of the container nodes are active.

<Not> can only contain one node, it is active if the one node is NOT active.

<Option> cannot contain any other nodes, it actually checks a config option.

If you have problems, tell me what you are trying to do and we will get it working...

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.29)
« Reply #479 on: 2014-08-06 13:39:05 »
I will start to test things now. The mod seems to work again and the auto update is a good idea. I had sometimes three 7th Heaven directories in my FF7 folder.

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.29)
« Reply #480 on: 2014-08-06 16:58:11 »
So far everything seems to work. I had a crash, but this was caused by wrong commands in the script. You said that only the way I used the 'No' command was wrong, so is it possible to nest the 'Or' command in the 'And' command?
And I have no idea what 'Option' should do or when it is better to use it. ???

Iros

  • 7th Heaven Crew
  • *
  • Posts: 229
  • Files for the file god! Mods for the mod throne!
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.29)
« Reply #481 on: 2014-08-06 17:49:10 »
So far everything seems to work. I had a crash, but this was caused by wrong commands in the script. You said that only the way I used the 'No' command was wrong, so is it possible to nest the 'Or' command in the 'And' command?

Yes, certainly. And, Or, Not entries contain other entries, this can either be Option node, or another And, Or, Not, that is fine. It is just Not can only contain ONE child node.

Quote
And I have no idea what 'Option' should do or when it is better to use it. ???

Well, at some point you have to use Option to actually check a config var! And / Or / Not just combine the results of some other checks together in some way, so to do anything useful, there should be one or more Option entries that you then combine together with And/Or/Not to decide when the folder is active...

e.g.

Code: [Select]
<ActiveWhen>
  <And>
    <Or>
      <Option>Sword = 0</Option>
      <Option>Color = 0</Option>
    </Or>
    <Or>
      <Option>Sword = 2</Option>
      <Option>Color = 3</Option>
    </Or>
  </And>
</ActiveWhen>

For the first <Or> to be true, then either Sword must equal 0, OR Color must equal 0.
For the second <Or> to be true, either Sword must equal 2, OR Color must equal 3.

If BOTH of these are true then the <And> becomes true (and the folder is activated). If you have no <Option> entries then it will not check any config vars (and then why do you even bother to have the ActiveWhen entry?)

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.29)
« Reply #482 on: 2014-08-06 17:57:44 »
Lol, I missed the forest for the trees. ;D
Of course I use the <Option> command, but it looked for me as if this would be an operator like the others to define a condition when you mentioned it.

EQ2Alyza

  • 7th Heaven Crew
  • Global moderator
  • *
  • Posts: 3200
  • Dilly-Dally Shilly-Shally
    • View Profile
    • EQ2Alyza - YouTube Channel
Re: [FF7PC] Mod manager - 7thHeaven (v1.29)
« Reply #483 on: 2014-08-07 02:21:03 »
I used the "Check subscriptions now" button, but it looks like we still have to close and reopen to update the catalog after changing the metaversion.

Iros

  • 7th Heaven Crew
  • *
  • Posts: 229
  • Files for the file god! Mods for the mod throne!
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.29)
« Reply #484 on: 2014-08-07 12:00:13 »
I used the "Check subscriptions now" button, but it looks like we still have to close and reopen to update the catalog after changing the metaversion.

I THINK I have a fix for this, although I am not sure if I have seen the same error as you.

If I change a MetaVersion on a catalog, then update the catalog, then mods I see on the screen do not change, but if I refresh the display (e.g. by doing a search again) then the new details show up. Is that what happens for you?

If yes, then it's what I found, and next version should fix :)

EQ2Alyza

  • 7th Heaven Crew
  • Global moderator
  • *
  • Posts: 3200
  • Dilly-Dally Shilly-Shally
    • View Profile
    • EQ2Alyza - YouTube Channel
Re: [FF7PC] Mod manager - 7thHeaven (v1.29)
« Reply #485 on: 2014-08-07 12:55:53 »
That's what I would like to have happen, and if possible, have it automatically do the search button refresh when we hit the Check subs now button. All the changes I made were either in the Configure, Readme, or file structure, and I have to close and reopen 7H to get the updated download. I notice the catalog.xml does get updated with the new download address after using the Check subs now button, but for some reason, it doesn't live update with an open 7H.

EDIT: Looks like the blue progress bar isn't displaying anymore during a download.
« Last Edit: 2014-08-08 01:07:36 by EQ2Alyza »

Iros

  • 7th Heaven Crew
  • *
  • Posts: 229
  • Files for the file god! Mods for the mod throne!
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.29)
« Reply #486 on: 2014-08-08 10:57:31 »
New version v1.30: https://mega.co.nz/#!SVlVWD4A!49almnriOetNxk0Y7vZXiMHGwLwUxH3jPgJPJg5BPaY

If you have v1.29 installed then it will hopefully offer to update automatically.

Fix: Catalog refresh didn't update UI straight away
New: Compression support for IRO archives
New: Patch support for IRO archives

Explanation:

1) Compression. When you create a IRO archive you can choose whether to compress the files in it. This makes the IRO smaller (faster download or install, smaller disk space) but COULD mean it slows things down when running the game - because it will have to wait for a file to be decompressed, when it tries to access the file...

The options when creating a IRO are:

Never: Do not compress files at all.
Always: Always compress files. Probably not a good idea.
By Extension: Do not compress PNG, JPG, MP3, OGG files. Compress all other files. Probably a good idea, there is no point trying to compress a file which is already quite well compressed.
By Content: TRY to compress every file, but if it saves < 10% size, then do not bother. Will take longer to create the archive but should only compress files, which will actually benefit.

I have tested this and it works for me, but, like always, perhaps there are bugs so please try it and tell me :)


2) Patch support.

Imagine you have a big IRO file - music, movies, lots of PNGs, could be anything - and it is 1GB to download. Well, OK, it has to be that big if the files are high quality/long. Then you find a bug and want to release a new version - maybe a few of the PNGs need to be updated with a transparent fix. It is not very good for everybody to download the new 1GB mod again, when you have only changed 5MB of PNG files...

So, what you can do now is:

-When you upload the first version of the mod, you upload the large 1GB IRO file
-Then you make a new version. You still probably upload a new 1GB IRO file with the latest version - for people who are downloading the mod for the first time - but 7H will also let you create a patch file. This is a smaller file that contains only the changes between the first IRO and the newer IRO, so if you have only updated 5MB of files, it will only be ~5MB in size.
-If you include a link to this patch file in your catalog, 7H will automatically work out if the user has a version which can be patched, and if yes, it will download and apply the patch instead of downloading the whole thing again.

To make a patch file, there is a new tab on the IRO screen in 7H. You tell it where the original IRO is, where the new version IRO is, and where to save the patch. You also choose whether to compress files, same as creating a new IRO.

The catalog should look like this:

Code: [Select]
<?xml version="1.0"?>
<Catalog>
  <UpdatedOn>2013-08-08 13:34</UpdatedOn>
  <Mods>
    <Mod>
      <ID>BFAE987C-C1E6-C451-8139-FF039842D72E</ID>
      <Author>Iros</Author>
      <Link>http://forums.qhimm.com/</Link>
      <Name>Test music/patching</Name>
      <MetaVersion>1</MetaVersion>
      <Description>Testing music in a IRO archive</Description>
      <Tags>
        <string>Music</string>
      </Tags>
      <LatestVersion>
        <Link>iros://Url/http$www.myserver.com/7H/Music2.iro</Link>
        <Version>2.0</Version>
        <ReleaseDate>2014-08-08</ReleaseDate>
        <CompatibleGameVersions>Original</CompatibleGameVersions>
        <PreviewImage></PreviewImage>
        <ReleaseNotes></ReleaseNotes>
      </LatestVersion>
      <Patch VerFrom="1.0" VerTo="2.0">iros://Url/http$www.myserver.com/7H/Music_1_to_2.irop</Patch>
    </Mod>
  </Mods>
</Catalog>

The "Patch" line says which version(s) the patch can update and what version it updates you to, and has the link for downloading the patch file 7H has created.

Questions? :)

EQ2Alyza

  • 7th Heaven Crew
  • Global moderator
  • *
  • Posts: 3200
  • Dilly-Dally Shilly-Shally
    • View Profile
    • EQ2Alyza - YouTube Channel
Re: [FF7PC] Mod manager - 7thHeaven (v1.30)
« Reply #487 on: 2014-08-08 19:39:14 »
Very cool stuff :D

Code: [Select]
<?xml version="1.0"?>
<Catalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <UpdatedOn>2013-08-08 00:00</UpdatedOn>
   <Mods>
   
    <Mod>
      <ID>d73a9d4b-7590-4df5-a269-c08153a446e9</ID>
      <Author>Qhimm Modding Community</Author>
      <Link>http://forums.qhimm.com/</Link>
      <LatestVersion>
        <Link>iros://GDrive/0B-Q_AObuWRSXZVA5WkdITkJGNVE</Link>
        <ExtractSubFolder></ExtractSubFolder>
        <ExtractInto></ExtractInto>
        <Version>1.1</Version>
        <ReleaseDate>2014-05-31T00:00:00</ReleaseDate>
        <CompatibleGameVersions>All</CompatibleGameVersions>
        <PreviewImage>http://i.imgur.com/qFoXAWD.gif</PreviewImage>
        <ReleaseNotes />
      </LatestVersion>
      <Patch VerFrom="1.0" VerTo="1.1">iros://GDrive/0B-Q_AObuWRSXQ0RNeWpYcUhvVDA</Patch>
      <MetaVersion>1</MetaVersion>
      <Name>Field Models Patch Test</Name>
      <Description>Test Test Test</Description>
      <Tags>
        <string>field</string>
        <string>test</string>
      </Tags>
    </Mod>
 
  </Mods>
</Catalog>

I haven't gotten a patch to work yet. First I downloaded the above at version 1.0 without the patch line. Then I added the patch line and updated it to version 1.1. 7H recognized the update and gave me an Update button in the Catalog tab, but it is stuck on Calculating as its progress. For the patch file itself, I packed the Field Models into an IRO using the ByContent compression method. I created a second IRO with the same compression method that has just an added Cloud model option. The IROP came okay it seems. I uploaded the original IRO and the IROP to Google Drive with the links above to them.

EDIT: Hmm, I remembered something. I had problems getting a download to proceed when the file size was below 1 MB. It was with the Animation category. So I added a text file in it to increase the size above 1MB and it downloaded after that. The patch I'm trying to test is under 1 MB in size.

EDIT2: I added some more files into the patch and increased its size from 77 KB to 442 KB. The patch downloaded and installed after that, so it looks like we'll need a fix for smaller file size downloads. Go figure we cover the extremely large files, but the small ones are now the buggers lol
« Last Edit: 2014-08-08 20:19:03 by EQ2Alyza »

Iros

  • 7th Heaven Crew
  • *
  • Posts: 229
  • Files for the file god! Mods for the mod throne!
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.30)
« Reply #488 on: 2014-08-08 20:19:42 »
Grr! Such a silly bug...

You are basically correct: although the limit wasn't 1MB, there was a bug with small GDrive downloads that stopped them from working sometimes. I wish all bugs had such useful bug reports though :)

Your IRO / IROP files and catalog XML looks absolutely fine so the new version should make them work.

v1.31: https://mega.co.nz/#!yR8i1T5S!5KTI8bwm64ucWhJX2c--kJz9C-Rx6DDnPxYuh_-x07c
(Auto update should work...)

Fix: Small GDrive files sometimes didn't download
Fix: IROP patches were not deleted after installing

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.30)
« Reply #489 on: 2014-08-08 20:42:40 »
Hmm, the auto update doesn't seem to work for me.

It repeats 'waiting file is in use' then I got the message that the install was unsuccessful and after this I got this.
Quote
System.UnauthorizedAccessException: Der Zugriff auf den Pfad "D:\Games\FINAL FANTASY VII\7th Heaven\Updater.exe" wurde verweigert.
   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bei System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
   bei System.IO.File.Copy(String sourceFileName, String destFileName)
   bei Iros._7th.Workshop.fLibrary.fLibrary_Load(Object sender, EventArgs e) in c:\Iros\7thWorkshop\fLibrary.cs:Zeile 57.
   bei System.Windows.Forms.Form.OnLoad(EventArgs e)
   bei System.Windows.Forms.Form.OnCreateControl()
   bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   bei System.Windows.Forms.Control.CreateControl()
   bei System.Windows.Forms.Control.WmShowWindow(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
   bei System.Windows.Forms.Form.WmShowWindow(Message& m)
   bei System.Windows.Forms.Form.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Iros

  • 7th Heaven Crew
  • *
  • Posts: 229
  • Files for the file god! Mods for the mod throne!
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.30)
« Reply #490 on: 2014-08-08 20:48:00 »
Grr :/ you are correct, I have prepared the update wrong. Installing manually would have worked, but it is best if the auto update works too of course.

Updated v1.31 download: https://mega.co.nz/#!LJEmQZzL!wYMIo8HehC71MLnYfKPDwTEntlL6EyckvFJjWh5c9fs

And auto-update will work now I hope. Although you might discover  that actually it has installed the update fine even though there was an error message.

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.31)
« Reply #491 on: 2014-08-09 00:34:26 »
I still can't use the auto update properly. The updater.exe seams to crash and prevents 7th Heaven to start.
Quote
System.UnauthorizedAccessException: Der Zugriff auf den Pfad "D:\Games\FINAL FANTASY VII\7th Heaven\Updater.exe" wurde verweigert.
   bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   bei System.IO.File.InternalDelete(String path, Boolean checkHost)
   bei System.IO.File.Delete(String path)
   bei Iros._7th.Workshop.fLibrary.fLibrary_Load(Object sender, EventArgs e) in c:\Iros\7thWorkshop\fLibrary.cs:Zeile 56.
   bei System.Windows.Forms.Form.OnLoad(EventArgs e)
   bei System.Windows.Forms.Form.OnCreateControl()
   bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   bei System.Windows.Forms.Control.CreateControl()
   bei System.Windows.Forms.Control.WmShowWindow(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
   bei System.Windows.Forms.Form.WmShowWindow(Message& m)
   bei System.Windows.Forms.Form.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Somehow the exe will be deleted after a while, but it's impossible for me to delete it myself without having full admin rights and I don't want to unlock and switch to the administrator mode in win7.

When I try to update, the 7thHeaven.exe seems to be still in use. Even the manual way doesn't work and say the exe is in use. Only if I would restart my computer and then run the updater.exe the update will be made. But after this it tries to start 7H but keeps crashing until the update.exe is removed.

Iros

  • 7th Heaven Crew
  • *
  • Posts: 229
  • Files for the file god! Mods for the mod throne!
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.31)
« Reply #492 on: 2014-08-09 08:55:10 »
Well, this is a bit of a mess - sorry :/

Hopefully THIS update will fix the auto-downloading...

v1.315: https://mega.co.nz/#!rccHyTLZ!c6XC5jSJNc78_Ci6waF6cl0RW2siCKW5gaX2S-Usfz0

-Fix auto update, again

If you are in problems with the updater currently then shut down the update tool/7H (maybe even use task manager to make SURE they are shut down and not crashed?) and manually apply the update if necessary.

dkma841

  • *
  • Posts: 1225
  • delete
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.315)
« Reply #493 on: 2014-08-10 01:45:45 »
.
« Last Edit: 2021-10-28 16:54:18 by dkma841 »

Iros

  • 7th Heaven Crew
  • *
  • Posts: 229
  • Files for the file god! Mods for the mod throne!
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.315)
« Reply #494 on: 2014-08-10 08:56:55 »
Thanks for the bug report!

It won't stop anything very important from working, it just means you will not be able to click links and have them open up in 7H automatically which is not really too bad. It may have been because you were not running as admin, but, the program should be able to cope with this really. So I will try and fix this for a future version.

xenokain

  • *
  • Posts: 62
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.315)
« Reply #495 on: 2014-08-11 01:38:54 »
Started using this for the first time and im pretty lost. Right now nothing launches. Its probably the directory settings i have are wrong. Im using windows 7 64 bit. Newest version of your program. Steam version of FF7. Is it setup correctly or am i missing something?




« Last Edit: 2014-08-11 02:45:17 by xenokain »

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.315)
« Reply #496 on: 2014-08-11 02:25:08 »
It doesn't work with the re-releases currently.  :'(

To use Aali's modpath Aali's driver must be installed and working! However this is only interesting for you if you want to use texture replacer mods. Maybe Omzy will do an alternative for this in the future, but even though Aali's driver is more stable as the creepy hack in by DotEmu.

Library location - correct
FF7.exe - correct but unsupported, maybe targeting it to the laucher is better (?)
Aali Modpath - wrong set up. In your case it should be C:\Games\FF7\mods, but this hasn't an effect for a native rerelease installment.
Movie Path - correct
Also Launch - well this is for additional programs which should start the FF7.exe. However the launcher will be started anyway so it's not really needed to launch this, too.


xenokain

  • *
  • Posts: 62
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.315)
« Reply #497 on: 2014-08-11 02:46:07 »
Thanks for clearing that up. I got my mod working using a different tool but ill test this later since you gave me the correct directory setup.

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: [FF7PC] Mod manager - 7thHeaven (v1.315)
« Reply #498 on: 2014-08-11 09:52:31 »
I have found a very minor bug. When I move in the configuration menu from a list option with a picture to a bool option without a picture, the last seen picture is placed to the bool option, too.

EQ2Alyza

  • 7th Heaven Crew
  • Global moderator
  • *
  • Posts: 3200
  • Dilly-Dally Shilly-Shally
    • View Profile
    • EQ2Alyza - YouTube Channel
Re: [FF7PC] Mod manager - 7thHeaven (v1.315)
« Reply #499 on: 2014-08-11 13:29:28 »
I've noticed that bug too. Once you check the box for the bool option, the preview image for it appears.