[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Master of Magic - Implode's Multiplayer Edition • View topic - Saved Game Format

Saved Game Format

Details about file formats, structure and contents in the original Master of Magic

Saved Game Format

Postby saxxonpike » Wed Apr 30, 2008 4:11 am

saxxonpike
 
Posts: 13
Joined: Thu Oct 19, 2006 4:35 pm

Postby Implode » Wed Apr 30, 2008 10:08 am

User avatar
Implode
Site Admin
 
Posts: 432
Joined: Fri Feb 24, 2006 3:35 am
Location: Newfoundland, Canada

Postby saxxonpike » Wed Apr 30, 2008 10:24 am

saxxonpike
 
Posts: 13
Joined: Thu Oct 19, 2006 4:35 pm

Re: Saved Game Format

Postby Xaekai » Mon Oct 26, 2009 4:44 am

http://www.dragonsword.com/magic/eljay/SaveGam.html

Note that the fog of war offset for myrror is wrong in the above file, a number is transposed. it's 15174
Xaekai
 
Posts: 2
Joined: Mon Oct 26, 2009 2:30 am

Re: Saved Game Format

Postby Xaekai » Sun Nov 08, 2009 2:09 pm

I've experimented and researched some new data.

As far as location types (Offset 04: nodes/lairs/towers)
00 Tower
01 Chaos node
02 Nature node
03 Sorcery node
04 Mysterious cave
05 Dungeon
06 Ancient temple
07 Abandoned keep
08 Monster lair
09 Ruins
0a Fallen temple

Other newly determined offsets:
0A-0B Amount of Gold found
0C-0D Amount of Mana found
0E Spells, Spell books and Retorts. 1-4 indicates random spells, weakest to strongest. 5-6 are 1 or 2 spellbooks or retorts.
Also at the 0F (exploration bitmask) offset, the 01 flag means there is a prisoner
10 Number of Items to be found


The region starting at 6058h is node ownership and power details. 31 records of 48 bytes each.
00 X coordinate
01 Y coordinate
02 Plane
03 Owner
04 Node base strength
2C Node type. 00 sorcery/01 nature/02 chaos
2D byte the tells whether there is guardian spirit (02) or if its warped (03)

05-2B Are the sparkles bytes, but I'll be damned if I can figure out their format


that's all for now
Xaekai
 
Posts: 2
Joined: Mon Oct 26, 2009 2:30 am

Re: Saved Game Format

Postby kyrub » Sun Nov 08, 2009 9:50 pm

Excellent stuff. Very useful info. Nice to spot that myrror thing as well.
Thanks a lot.

I have some new info on the wizard part of the savefile as well, will post it once I get some time to gather everything.
kyrub
 
Posts: 33
Joined: Fri May 15, 2009 5:11 pm

Re: Saved Game Format

Postby Asfex » Thu Jan 21, 2010 5:22 pm

Asfex
 
Posts: 25
Joined: Thu Jan 21, 2010 5:43 am


Return to Files and formats

Who is online

Users browsing this forum: No registered users and 2 guests

cron