Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: when is a mod not a mod?
Thread: when is a mod not a mod?
SirJohn
SirJohn


Adventuring Hero
posted February 17, 2008 11:10 PM

when is a mod not a mod?

I have followed the instructions in "modding for dummies" and corrected some of the imbalances in the Stronghold.  I gave trappers the land mine spell and witch doctors got cleansing.  I was considering anti-magic too but didn't want to get carried away.  These spells seem to fit how these creatures were intended.  I didn't even attempt any animation changes.
Anyway, after making a copy of my original data folder I inserted the changes and everything is working well.  My question is, why are some mods I downloaded able to be placed in the "user mods" folder and work from there, while my little project has to overwrite the original game files?  I would prefer keeping mods isolated if at all possible.  Can someone answer this?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted February 17, 2008 11:47 PM
Edited by Gnoll_Mage at 23:48, 17 Feb 2008.

Your project should never need to overwrite the original data. An h5u file should work fine. I can't help much more than this really. Try it, and if it doesn't work maybe you could upload the file.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Wulfstan8182
Wulfstan8182


Famous Hero
, eh?
posted February 18, 2008 01:54 AM
Edited by Wulfstan8182 at 02:04, 18 Feb 2008.

i don't understand what you mean by overwriting. 90% of all mods are changed normal files from data.pak, which, sort of "overwrite" the normal files. the other 10% are additions which are based on the main files, but don't overwrite them, they are new stuff.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
SirJohn
SirJohn


Adventuring Hero
posted February 18, 2008 05:55 AM

I took the advice here and restored my old data, even using the date tool to restore the old dates (as close as I could guess).  But now when I put my mods in the usermads folder, I can't get them to work at all.  I tried zipping with winrar and XP before renaming to .h5u but it just does not seem to notice them.  I wish I had left things as they were, I was really enjoying playing with the mod, now I miss it.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted February 18, 2008 12:33 PM
Edited by Gnoll_Mage at 12:33, 18 Feb 2008.

I can't imagine why it wouldn't work. Upload your attempt to make a .h5u, and I'll see if it works for me - if it does, we'll know the problem lies with your game (in which case, a reinstall would be the solution I suppose) .
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
SirJohn
SirJohn


Adventuring Hero
posted February 18, 2008 02:22 PM
Edited by SirJohn at 14:23, 18 Feb 2008.

I tried reinstalling and still no good.  Here is my file:

http://www.mediafire.com/?2dmishawpts
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
SirJohn
SirJohn


Adventuring Hero
posted February 18, 2008 05:26 PM

I found what the problem was... I zipped mymod\gamemechanics instead of zipping just "gamemechanics".  I thought I could name my mod whatever I wanted but I guess not?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted February 18, 2008 08:32 PM

How do you mean? The h5u can be called what you like of course, but the folders inside the zip must be equivalent to those inside the main paks, so Effects, GameMechanics etc..
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
SirJohn
SirJohn


Adventuring Hero
posted February 18, 2008 10:51 PM

I dont really know what I mean.  I had zipped "my mod" with winrar and assumed everything under it was zipped too.  But when "mymod.h5u" was placed in usermods, it didnt work.  Are you saying I must first zip the game file, i.e. "gamemechanics" and then zip the containing folder "mymod"(or whatever) and give it the h5u extension?

In any event I finally got it to work by just sticking "gamemechanics.h5u" in usermods and combining my mod and the first aid tent mod under it.

Sorry I am new at this thing.  Thanks for your help.

____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted February 19, 2008 04:40 PM
Edited by Gnoll_Mage at 16:42, 19 Feb 2008.

data.pak contains
 GameMechanics folder
 Effects folder
 etc.
SirJohnsMod.h5u / .pak / .h5m contains also
 GameMechanics folder (if it mods files that are within the equivalent of this folder in data.pak)
 Effects folder (ditto)

Well as long as you've got everything working that you wanted to, and can therefore make new mods, I guess I don't need to say any more.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
SirJohn
SirJohn


Adventuring Hero
posted February 19, 2008 10:12 PM

Right, that's the problem, when I had gamemechs under mymodname it didn't work; only when I made gamemechanics a h5u did it take effect.

As you say I have it working now and don't reckon I'll do too much more modding to need to worry about it.  Just wish I understood the process a little better as it got very frustrating for a while there.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Wulfstan8182
Wulfstan8182


Famous Hero
, eh?
posted February 19, 2008 11:50 PM

Quote:
Right, that's the problem, when I had gamemechs under mymodname it didn't work; only when I made gamemechanics a h5u did it take effect.
thats weird, so when you renamed "mymod.h5u" to "gamemechanics.h5u" it worked? u must have done something to the folders inside that took effect. the name of the actual .h5u doesn't matter. only the names inside the zipped folder matter. and, what i usually do to save time, i make a copmpressed/zipped folder in the beggining, and then copy-paste the gamemechanics containing all the valid data.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
SirJohn
SirJohn


Adventuring Hero
posted February 20, 2008 01:22 AM

Quote:
Quote:
Right, that's the problem, when I had gamemechs under mymodname it didn't work; only when I made gamemechanics a h5u did it take effect.
thats weird, so when you renamed "mymod.h5u" to "gamemechanics.h5u" it worked? u must have done something to the folders inside that took effect. the name of the actual .h5u doesn't matter. only the names inside the zipped folder matter. and, what i usually do to save time, i make a copmpressed/zipped folder in the beggining, and then copy-paste the gamemechanics containing all the valid data.


No I didn't rename anything, gamemechanics was under "mymod".h5u, so I just unzipped mymod, zipped gamemechanics, and then changed the extension of gamemechanics.zip to gamemechanics.h5u.  Surely someone else has had issues with this?!?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Wulfstan8182
Wulfstan8182


Famous Hero
, eh?
posted February 20, 2008 03:10 AM

wtf? do u have like a gamemechanics folder inside ur gamemechanics? 'cause i don't understand how this works!
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
SirJohn
SirJohn


Adventuring Hero
posted February 20, 2008 03:25 AM

I had a folder structure like this:  mymod.h5u\gamemechanics\creature\creatures\orcs\[files for each]

That did not work.  

So I changed "mymod" back to a zip, opened, clicked one level down, zipped gamemechanics.  Changed gamemechanics.zip to h5u and stuck it in usermods, viola it worked.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Gnoll_Mage
Gnoll_Mage


Responsible
Supreme Hero
posted February 20, 2008 06:03 PM
Edited by Gnoll_Mage at 18:03, 20 Feb 2008.

No, that structure is correct. If I understand you correctly, you had a folder called MyMod, which you then zipped by right clicking on it or whatever. This gave MyMod.h5u\MyMod\GameMechanics\Stuff, which is wrong. When you zip a folder, it does not empty the contents of that folder into the zip. Instead, you need to do what you said and zip the GameMechanics folder. Then just drag other folders e.g. Effects onto the new .zip/.h5u file to add them. The h5u does not need to be called GameMechanics.h5u, it can be called whatever you like. Hope this clears things up.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
SirJohn
SirJohn


Adventuring Hero
posted February 20, 2008 09:55 PM

Quote:
No, that structure is correct. If I understand you correctly, you had a folder called MyMod, which you then zipped by right clicking on it or whatever. This gave MyMod.h5u\MyMod\GameMechanics\Stuff, which is wrong. When you zip a folder, it does not empty the contents of that folder into the zip. Instead, you need to do what you said and zip the GameMechanics folder. Then just drag other folders e.g. Effects onto the new .zip/.h5u file to add them. The h5u does not need to be called GameMechanics.h5u, it can be called whatever you like. Hope this clears things up.


Yes, thank you for the information.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0266 seconds