UnReal World > Modding

Generated map image

<< < (2/2)

Night:

--- Quote from: ineedcords on January 10, 2023, 01:50:59 PM ---
--- Quote from: Night on January 10, 2023, 10:53:13 AM ---Heres the gist of it
<snip>

--- End quote ---
Fantastic! Once again thank you for a fully detailed response.
I will look into the memory method at first chance and will keep an eye out for your potential next utility release.

--- End quote ---


Some progress:




working out an issue with size constraints (which is why the tiles are scaled to 6x7 currently)
Ignore gimp file size, actual file size is 25.2mb

ineedcords:

--- Quote from: Night on January 12, 2023, 02:30:00 PM ---Some progress:
<snip>
working out an issue with size constraints (which is why the tiles are scaled to 6x7 currently)
Ignore gimp file size, actual file size is 25.2mb

--- End quote ---
Thanks for sharing the developments. I look forward to the next update.

Following up on your previous message, I have looked at the map-in-memory idea. After some brief evaluation, (for me) I did not find it to be faster than the method suggested below.

(While on the matter, as a side curiosity, I also briefly tested modifying portions of the map via memory locations and also via WORLD.DAT file modification followed by its duplication as WORLD.PLM. A primitive quick test succeeded in generating an artificial island in the north west corner of the map that was visible in F6/in-game map screen. A follow up, wider scope test, attempting to create a massive island, failed, as the game completely ignored this change, somehow reverting to the default/previous state. At this point, I am unsure whether there are checks in the game code preventing from a modified more-than-threshold map to be used, but that's my first guess.)

Back on the original goal of obtaining a (mostly-unmodified) single, unified Large Unreal World map:
Prior to your interest in developing a convenient external utility solution, I was thinking doing via another route, using the convenience devs gave all users (i.e.: F6/in-game map screen). As detailed in the suggestion thread, my main issue is the in-game map is not big enough.

Observation shows the entire World Map (the entirety of the F6 screen, including the sections that are only visible via scrolling) appear to be made of 6 "cells", like so:

--- Code: -------------------------------------------------------
|                |                |                |
|                |                |                |
|       A        |      B         |        C       |
|                |                |                |
----------------------------------------------------
|                |                |                |
|                |                |                |
|       D        |      E         |        F       |
|                |                |                |
----------------------------------------------------

--- End code ---
The quick solution I had on mind is based on the idea if you copy and paste small map enough times, it would get "big enough".
It could work like this: 1) take 6x screenshots save to disk, 2) pixel-perfect merge the 6x in the correct composition to create a unified map, and 3) save output externally.

As a proof of concept, without any script/program involvement, I did this manually by taking manual screenshots and manual merging in GIMP and here is the outcome:
* 6x screenshots, each displaying a single cell at max-zoomed-out level:

** Click here for the full sized version, then right click and open image in new tab.
* 1x unified Large World Map:

** Click here for the full sized version, then right click and open image in new tab.

My current thinking is that there are imperfections in this final output, for example between cells A and B in the middle of the border however it is still much better than the small World Map I can see in UrW F6/in-game map screen so I would consider this a win, if it can be automated by any means.

Just sharing in case you would like to evaluate this approach, that is, in case you have not done so already.

For the automation/convenience part, I had ideas like using an AutoHotkey script to grab and save screenshots, use ImageMagick to post process to create the unified merged large picture etc. but that would be hard to use for some. A nice utility, as single software package (I believe you prefer .NET?) surely would be far superior solution.
I have not done any AHK/IM tests on this even though I used C & IM together long ago and I remember it gave adequate results for a problem then, so probably this would work but won't be nice or easily maintainable.

Now the good part: having seen your post & updates, if you are still keen to develop a solution, all I have to do now is wait! :>

aat:
A good thing to mention in this topic:
There is a tool to generate browsable maps.

It's in the old forum, but it is still downloadable and it still works.
https://www.tapatalk.com/groups/urwforum/map-viewer-t7712.html

I also attach it here in case attachments in the old forum gets deleted in the future

Navigation

[0] Message Index

[*] Previous page

Go to full version