Ryandor.com

Forums
It is currently Fri Jul 04, 2025 8:03 am

All times are UTC - 7 hours [ DST ]




Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Fri Jul 15, 2005 3:45 am 
Hi People,

Im trying to gather as much information on Mondains Legacy as possible to assist RunUO. I have Mondains Legacy Enabled (Feature and Char Creation Flags) I also have the correct bytes for the race selection.

However, in the new client, the Map Size for map0.mul has changed, its gotten bigger. Anyone know exactly how I can get the size of Map0.mul for RunUO/Other apps such as Inside UO.

Cheers,
Belzemus


Top
  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 3:46 am 
Offline
Journeyman
Journeyman

Joined: Sun Dec 29, 2002 4:27 am
Posts: 101
Location: New Zealand
The above was me, Wasnt logged in Sorry :)

*Addition to the above*
I spent a few hours on it, but have exhausted my options, any help would be great, You can get the ML beta client from fileplanet freely. I can provide any information required to help.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 5:52 am 
Offline
Posting Whore
Posting Whore

Joined: Fri Aug 29, 2003 6:21 pm
Posts: 1434
Location: Colorado Springs, Co.
If you use Worldforge it should show you the size.

Dev

_________________
"So...if crazy people don't know their crazy...does that mean your only sane if your know your crazy?"


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 6:37 am 
Offline
Journeyman
Journeyman

Joined: Sun Dec 29, 2002 4:27 am
Posts: 101
Location: New Zealand
Just tried Worldforge, 2 different versions, both capped the map at the standard sizes, the rest is still missing. Im assuming the programs have the mapsize hard-coded into them.

Any other methods, Or perhaps a specific version of worldforge?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 8:19 am 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
Divide the file size by 196 ? if it comes out to be an integer (no decimal), then the format itself has not changed, just the size. The number you get is the number of 8x8 blocks of cells. Next, the height (in blocks) you must figure out manually ? but it is probably still 512, so divide the number you got before by 512, and what is left is the width in blocks. Now multiply the width in blocks by eight, and that is the width in tiles.

If the height is different, you will have to guess it too, but I imagine it is still a power of two (in block size).

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 8:29 am 
Offline
Journeyman
Journeyman

Joined: Sun Dec 29, 2002 4:27 am
Posts: 101
Location: New Zealand
Sorry Syd, File size in Bytes, Kilobytes, Megabytes or ? :)

And would it be possible for you to show the calculations in an example of say, the standard map0.mul so I have a reasonable idea of what I should get.

Im ok at math, but not superb, a little rusty we'll say, heh.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 11:08 am 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
It is very basic algebra:

NumBlocks = FileSizeInBytes / 196

If NumBlocks is not an integer, then the format has changed, and you should quit this procedure.

WidthBlocks = NumBlocks / HeightBlocks

Width = WidthBlocks * 8

Height = HeightBlocks * 8

The only unknown is HeightBlocks, but you can try 512 to see if it is the same as the original map. If that does not work, try guessing ? powers of two are more likely.

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 5:35 pm 
Offline
Journeyman
Journeyman

Joined: Sun Dec 29, 2002 4:27 am
Posts: 101
Location: New Zealand
Thanks Syd, Seems to have worked correctly, looks like they only added an extention to the size by 1000 tiles approx.

Thanks for the help :)

For those interested it turned out...

89915392 / 196 = 458752
458752 / 512 = 896

896 * 8 = 7168 (Width)
512 * 8 = 4096 (Height)

Tested these settings in InsideUO, and was able to see the extention (No matter how horrid it was) of the new map. I did tinker with InsideUO trying to get more of the map (Incase the height had changed) but it didnt like it, So I will assume for now, that only the width changed.

Again, thanks Syd.


Last edited by Bmzx007 on Fri Jul 15, 2005 6:13 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 6:00 pm 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
Bmzx007 wrote:
89915392 / 196 = 458752 (Not an integer, as they stop at 32,000 approx, but a whole number, so I continued anyway)


Huh?

Any whole number = integer.

Integer = any whole number.

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 6:12 pm 
Offline
Journeyman
Journeyman

Joined: Sun Dec 29, 2002 4:27 am
Posts: 101
Location: New Zealand
Apologies Syd, I was thinking of a short. Still a bit tired, was thinking back to an old program I used which called shorts, integers, quite confusing still after a few years of use :P


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 6:19 pm 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
A short is 2^16 (two bytes, or 16 bits) = 65,536.

An integer is 2^32 (four bytes, or 32 bits) = 4,294,967,296.

Of course, this assumes you are using a PC.

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 6:42 pm 
Offline
Journeyman
Journeyman

Joined: Sun Dec 29, 2002 4:27 am
Posts: 101
Location: New Zealand
Yep, I know the sizes, The programmers of the program I used didnt :P, Although this was many many years ago.

Its a long story. Thanks all the same.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 7:35 pm 
Offline
Master
Master

Joined: Mon Jan 20, 2003 7:55 pm
Posts: 213
*raises hand*

Umm...so, does this mean the new section containing the ML landmass is just pinned onto the side of the Britannia map and can't be seen in InsideUO?

There isn't a map5.mul so I thought they might've just changed Britannia somehow. I tricked InsideUO into showing me the new graphics but I don't know how to see the map without editing the InsideUO .xml document. And, I don't want to mess with that and screw up the program. ::shrug::

-CMS
*******


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 15, 2005 8:18 pm 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
Just change the map width in the XML -- not hard. Just back it up.

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 16, 2005 1:08 am 
Offline
Master
Master

Joined: Mon Jan 20, 2003 7:55 pm
Posts: 213
Apparently, you have to be a programmer or have a programming...umm...program to change the .xml file? I can open it but it won't let me change anything. Unless, of course, since I'm no programmer I just don't know HOW to. ::shrug::

-CMS
*******


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 16, 2005 12:00 pm 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
Open it in notepad.

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 16, 2005 1:24 pm 
Offline
Master
Master

Joined: Mon Jan 20, 2003 7:55 pm
Posts: 213
*slaps self* I thought for SURE I tried opening it in Notepad. That's what I use to edit most files.

Thanks :)

-CMS
*******


Top
 Profile  
 
 Post subject: Increased Map Sizes
PostPosted: Sun Jul 24, 2005 2:40 am 
Has anyone discovered a way to increase Map0.mul in width or height without problems? I am looking for a map 9000 by 16000 for my shard. I am also having a weak moment with Photoshop... What must I do to get Photoshop from bleeding colors together. I remeber a Tutorial Ryandor created said how but can't find that one now.


Top
  
 
 Post subject:
PostPosted: Sun Jul 24, 2005 9:52 am 
Offline
Master
Master

Joined: Mon Jan 20, 2003 7:55 pm
Posts: 213
IF the edges or your colors are "blurred", turn off anti-aliasing. That keeps the edges from being "soft" and fading into other colors.

-CMS
*******


Top
 Profile  
 
 Post subject: Thanks
PostPosted: Sun Jul 24, 2005 10:42 pm 
Thank you CMS... now how about that map lol.
by the way... I am RavenCBMcloud but the forum
won't let me log in. Go figure.


Top
  
 
 Post subject:
PostPosted: Mon Jul 25, 2005 10:24 am 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
The width and height of map0.mul is hard-coded into the official client and not (by standard) stored within the file. The only way you can support a custom map size is if you use a third-party client with that feature and follow their guidelines for specifying map dimensions.

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
 Post subject: Reply to Sydius
PostPosted: Mon Jul 25, 2005 9:30 pm 
Sydius,

If you can find someone who can make a clone of the original client, or one that will work with any mojor emu like Pol, runuo, or sphere. However with this cloned client, devise a way to have a map of that magnitude. I will pay money. Perhaps even include a way that one can add music and additional graphics easily. That would be worth the money spent in the end. Plus hundreds, perhaps thousands of shard owners would benifit from this project.


Top
  
 
 Post subject:
PostPosted: Tue Jul 26, 2005 6:48 am 
Offline
Posting Whore
Posting Whore

Joined: Fri Aug 29, 2003 6:21 pm
Posts: 1434
Location: Colorado Springs, Co.
Thats what Syd said.

Dev

_________________
"So...if crazy people don't know their crazy...does that mean your only sane if your know your crazy?"


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 26, 2005 11:45 am 
Offline
Peanut Gallery
Peanut Gallery
User avatar

Joined: Sun Jun 02, 2002 8:53 pm
Posts: 1864
Location: Hayward, CA
There are already a few projects trying to do that.

I would not bother, since if I made a client as good as the original UO client, I would just come up with an entirely new game and detach all association with UO. As it stands, unless you want to pay me about $2,000/mo, so that I can quit my job and support myself, I do not have the time.

_________________
Blog: http://www.sydius.org
Web: http://www.sydius.net


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 26, 2005 2:17 pm 
Offline
Journeyman
Journeyman
User avatar

Joined: Tue Jan 20, 2004 11:45 am
Posts: 104
Slacker. Can't you just sue over the acid in the eye? *grins* Yeah yeah. Just kidding.

_________________
Darien Dragon
"There is no good or evil, only fun and boring."


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next

All times are UTC - 7 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group