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

Age of Heroes Headlines:  
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
13 Oct 2015: Negative Reception of the Game, 2nd Patch Delayed - read more
29 Sep 2015: Heroes VII is Released, together with Bastion MOD for VCMI! - read more
4 Sep 2015: Polish Forge Town Released as a Heroes 3 MOD! - read more
25 Aug 2015: Heroes VII Beta #2 Starting Tomorrow! - read more
5 Aug 2015: First Details of Heroes VII Modding and new H5.5 patch! - read more
25 Jul 2015: First Look at Map Editor Teases RMG and Modding Tools! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: Ripping Creatures from Might and Magic
Thread: Ripping Creatures from Might and Magic

Famous Hero
Work at Magic Dimmension
posted June 03, 2012 05:16 PM

Ripping Creatures from Might and Magic

I have MMarchive.exe and Might&Magic 6-8 and now want to rip some creatures from it. The problem is M&M doesn't use DEFs or similair things, only loose frames. It is hard for me to find order of these frames althought the names of frames seems to follow some common pattern. What frames and in which order I should use for each DEF animation according to the scheme?

Or please some FAQ or HOWTO for ripping creature from Might and Magic?

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

Undefeatable Hero
posted June 03, 2012 05:21 PM

Ask OxFEA, he already ripped a lot of them from MM and uploaded in DF2.

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

Famous Hero
Work at Magic Dimmension
posted June 04, 2012 05:35 PM
Edited by majaczek at 17:39, 04 Jun 2012.

Yeah but if I wanted to rip some myself? For example ones which 0xFEA didn't rip? Or me prefering another scaling of original M&M unit? (Not to mention graphics from mods for M&M - and yes they are some - I can count at least 3 popular ones).

Ripping of spells is trivial, but ripping of units aren't since monster DEF has several animations and only 3 angles, and M&M monsters have many angles and the way they sort graphics isn't so obvious which frame from M&M should be which frame of which animation in H3.5's creature DEF.

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

Supreme Hero
Therefore I am
posted June 04, 2012 05:40 PM

Ask to Salamandre Hah Good job!

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

Undefeatable Hero
posted June 04, 2012 07:11 PM

I mean ask him to upload what he did, so you don't waste time doing twice. In general it is simple, need a keen eye to identify frames pattern, then technically create the 450x400 frames using extracted MM sprites.

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

Famous Hero
feanor on DF2.ru
posted June 04, 2012 08:19 PM
Edited by OxFEA at 20:26, 04 Jun 2012.

MM6 sprites doesn't fit (except droids and air/fire elementales) - they has no fitting attack frames.

Firstly, you need to extract sprites with MMArchive. Sometimes MMA doesn't apply palette correctly - so you need to unpack it from bitmaps.lod and apply it manually in Photoshop.

Secondly - resizing sprites. I use imagemagick and batch files for mass resizing

cd "D:\software_noins\ImageMagick-6.6.7-Q16-windows\ImageMagick-6.6.7-9\"
del e:\MMProcess\output\*.bmp

for %%i in (E:\MMProcess\source\*.*) do (convert %%i -fuzz 5%% -transparent cyan  e:\MMProcess\tmp.png & convert e:\MMProcess\tmp.png  -filter LanczosSharp -resize 50%%x50%%  -brightness-contrast 0x0  -channel alpha -threshold 50%% -background cyan -gravity center -extent 450x400 -alpha background -alpha off   e:\MMProcess\output\1.bmp & del e:\MMProcess\tmp.png & rename e:\MMProcess\output\1.bmp %%~nxi)

E:\MMProcess\source\ - folder with MM-bitmaps
e:\MMProcess\output\ - output folder
-transparent cyan    - color of MM sprite background. Sometimes it can be 'green', 'lime' or 'magenta'. Small differences (#00FEFE instead of #00FFFF) doesn't matter because of command -fuzz 5%
-resize 50%%x50%% - scale coefficient. For some monsters it can be 55%x55% (manticores), for some - 50%%x43%% (humanoids, see below)

At third time - pack result (bunch of files with names like m484Aa3.bmp) into def. Sequence of cadres (from hdl-file):



Just replace 484 with creature id by notepad, shift your creature to the right hex and assemble def.

1. Humandoids in HoMM and MM looks different. MM sprites use naturalisitic propotions, HoMM creatures looks like Dmitriy Medvedev a bit childish - unnaturally big head.
Sometimes it can cause a problems. Look at MM7 nosferatu:

Looks bad, isn't it?

This can be solved by unproportional scaling (50%*43%), but this also can look unkindly because of smashing details.
Ether knight.

But, sometimes it doesn't matter.

Cleric of moon (50%*50%)

2. Some creatures (especially cave monsters) use different-from-HoMM lightning. So, they look very dark.
Beholders, original and from MM7:

3. Sometimes creature hasn't some frames (esp. M****h1.bmp). Just remove it from hdl.

4. Never, never use cadres like M*****2 for "standing".

Format of MM cadres names:

M[id][group][cadre number][angle]

id - creature id. 3 digits.
group - one letter.  a - attack, d - death, f - fidget, n - getting damage, s - standing, w - walking, x - dead
cadre number - number of cadre in group. One letter, from a to h.
angle - from 0 to 5: 0 - 0, face,; 1 - 45, looks like H3 angle; 2 - 90 - profile; 3 - 135; 4 - 180, ass back.

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

Famous Hero
Work at Magic Dimmension
posted June 05, 2012 12:02 AM

Thanks! I want to do it with free software (No Photoshop), but the rest seems really helpful, especially the hdl scheme and frame name format description (these were the ones I intended to ask).

Thanks alos for suggestions - your mummy looks well, but if I use the beholder it seriously need recolor to fix shading problem. Anyway - you made my ripping work easier... Thanks!

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

Famous Hero
of infamy
posted June 05, 2012 07:38 PM

so 0xFEA can you upload the ones you already have done? Or link to df2 location?

 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.0320 seconds