Brutus5000
Sorceror
UO Atlas - simple replacement for UOAM
Ladies and gentleman,
due to the lack of updates for UO Automap and therefore missing support for map1.mul enhancements in the latest clients and the increased map size introduced with Mondains Legacy, I played around with some code and may therefore present you UO Atlas.
Description:
A very simple map-viewer built around the UltimaSDK.
Features:
Installation guide:
It is important to modify the map definitions in UltimaSDK\map.cs to fit your custom map! You will have to edit the following lines:
Map( 0, 0, 7168, 4096 ) means step by step:
use map0.mul, mapindex 0, width: 7168, height: 4096
If the program crashes while generating images there's a 99% chance, that's because you have stated the wrong map size. There are 2 different sizes out there for map0/1.mul:
Mondain's Legacy uses 7168x4096 - the file is around 85mb.
Alle client before use 6144x4096 - the file is around 75mb.
After you edited your map sizes, you (currently) need to recompile UO Atlas.
Controls:
Known issues:
On the first launch it will throw out an exception anyway (click on "Continue"), because no images have been generated. Do this once and no further errors should appear (except for unsquashed bugs ).
Licensing:
All* code is licenced under GPL v2.0.
*Exception: The Ultima-folder is a copy of the Ultima SDK repository and therefore licenced under LGPL v2.1.
Special thanks to:
Screenshots:
First Step: Generating images of the map:
Normal View with all controls:
View with hidden controls:
Ladies and gentleman,
due to the lack of updates for UO Automap and therefore missing support for map1.mul enhancements in the latest clients and the increased map size introduced with Mondains Legacy, I played around with some code and may therefore present you UO Atlas.
Description:
A very simple map-viewer built around the UltimaSDK.
Features:
- Support for *all* 5 UO maps, including map1.mul
- Support for any kind of map size (only by recompiling)
- Tracking the player
- Calculate hovered coordinates
Installation guide:
It is important to modify the map definitions in UltimaSDK\map.cs to fit your custom map! You will have to edit the following lines:
Code:
public static readonly Map Felucca = new Map( 0, 0, 7168, 4096 ); // Adjusted to ML size
public static readonly Map Trammel = new Map( 1, 1, 7168, 4096 ); // Adjustet to map split in client 6.0.x
public static readonly Map Ilshenar = new Map( 2, 2, 2304, 1600 );
public static readonly Map Malas = new Map( 3, 3, 2560, 2048 );
public static readonly Map Tokuno = new Map( 4, 4, 1448, 1448 );
Map( 0, 0, 7168, 4096 ) means step by step:
use map0.mul, mapindex 0, width: 7168, height: 4096
If the program crashes while generating images there's a 99% chance, that's because you have stated the wrong map size. There are 2 different sizes out there for map0/1.mul:
Mondain's Legacy uses 7168x4096 - the file is around 85mb.
Alle client before use 6144x4096 - the file is around 75mb.
After you edited your map sizes, you (currently) need to recompile UO Atlas.
Controls:
- Click (middle mb): Move to this location
- Doubleclick (left mb): Hide/Show controls
- Drag + Click (left mb): Drag the map
- Mousewheel up/down: Zoom in/out
Known issues:
On the first launch it will throw out an exception anyway (click on "Continue"), because no images have been generated. Do this once and no further errors should appear (except for unsquashed bugs ).
Licensing:
All* code is licenced under GPL v2.0.
*Exception: The Ultima-folder is a copy of the Ultima SDK repository and therefore licenced under LGPL v2.1.
Special thanks to:
- All Ultima SDK devs
Screenshots:
First Step: Generating images of the map:
Normal View with all controls:
View with hidden controls: