:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::

Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Thu Dec 03, 2020 1:21 pm
All times are UTC + 0
 Forum index » Featured Tools » Community Tools
MapResize
Moderators: Community Tools Developpers
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
Author Message
E1 Elite
Commander


Joined: 28 May 2013

PostPosted: Tue Oct 20, 2020 9:43 am    Post subject:  MapResize
Subject description: For TS & RA2
Reply with quote

A small tool to resize maps of TS and RA2/YR. Prompted by shortcomings
of FinalSun/FinalAlert2 like can't resize beyond max size limitation of
these map editors, doesn't process tunnels, smudges, base nodes etc. and
doesn't cleanup well.

It runs on Windows OS with .Net 4.0.

During resize process, this tool additionally performs these tasks:
- Removes comments
- Removes duplicates, discards entries in incorrect formats
- Better compressed IsoMapPack5 section (undone by FinalSun/FinalAlert2)

Limitations:
- Preview pack/image is not updated as it needs game files for map image.
Have to use map editors or CnC Map Renderer for that.
- It isn't smart enough to check if full tunnel path goes beyond map borders.

Source code : https://github.com/E1Elite/MapResize
This tool uses code from OpenRA and CnC Map Renderer. OpenRA has updated
code for map pack encoding/decoding, it was easier to pickup these files from
Starkku's MapTool.

Changes:

2020-11-01 (version 1.0.2.0)
- Save filename options.
- Option to change map name in [Basic] section.
- Updates to validations, log and messages.

2020-10-21 (version 1.0.1.0)
- Added option for retaining LocalSize position on non-ngative inputs.
- Few validations and log/messages.

2020-10-20 (version 1.0.0.0)
- Initial release


MapResize_20201101.7z
 Description:

Download
 Filename:  MapResize_20201101.7z
 Filesize:  265.45 KB
 Downloaded:  3 Time(s)


Last edited by E1 Elite on Sun Nov 01, 2020 2:57 pm; edited 2 times in total

Back to top
View user's profile Send private message
G-E
General


Joined: 09 Feb 2015

PostPosted: Tue Oct 20, 2020 10:52 am    Post subject: Reply with quote

Are you saying this moves the smudges and base nodes according to the resize?
_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
E1 Elite
Commander


Joined: 28 May 2013

PostPosted: Tue Oct 20, 2020 12:05 pm    Post subject: Reply with quote

Yes. FA2 couldn't be patched for those shortcomings, so spent a few days on this tool.

Back to top
View user's profile Send private message
Tuc0
Missile Trooper


Joined: 26 Sep 2016
Location: Slovakia

PostPosted: Tue Oct 20, 2020 3:22 pm    Post subject: Reply with quote

Very nice!
Results look very promising, I might update some of my maps for extra size, but I need to test it a lot during gameplay to see if everything works fine such as waypoints, AI, triggers, etc.

I will definitely use this for future maps Smile

Also it would be nice to have checkbox to maintain LocalSize position. I know it can be done easily with text editor, but it would speed up process to have map ready for testing during mapping.

Back to top
View user's profile Send private message
E1 Elite
Commander


Joined: 28 May 2013

PostPosted: Wed Oct 21, 2020 10:25 am    Post subject: Reply with quote

Updated download in first post.

@Tuc0: Added the maintain LocalSize position checkbox, it is only for 0 or greater values in the input fields.

Back to top
View user's profile Send private message
Tuc0
Missile Trooper


Joined: 26 Sep 2016
Location: Slovakia

PostPosted: Fri Oct 30, 2020 8:01 pm    Post subject: Reply with quote

Thanks alt lot, used for my Blood River map as test. Allowed me push more playable area from it.

May I have a little request? Would it be possible to add bar to set name of new map (also with prompt to confirm overwriting if map already exists)?
It would speed up map testing - TS Client needs to be restarted to refresh map list, or new map needs to be additionally renamed each time after resize.


But thanks again for the tool and hard work.

Back to top
View user's profile Send private message
E1 Elite
Commander


Joined: 28 May 2013

PostPosted: Sun Nov 01, 2020 2:58 pm    Post subject: Reply with quote

Updated first post with v1.0.2.0 download.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [7 Posts] View previous topic :: View next topic
 Forum index » Featured Tools » Community Tools
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1331s ][ Queries: 12 (0.0034s) ][ Debug on ]