s2maCache Manager

s2ma manager

Cache -> Maps tool.

r6

Default: Prints cachefolder path.

Option 1: Prints mapnames and locations from local cachefiles

  1. Find all *.s2ma files from the cachefolder.
  2. Using MpqLib to open the s2ma files.
  3. Get mapname without using locale ( ugly hack read from MapScript.galaxy autogenerated comments )
  4. Print Mapnames plus location
  5. repeat 4 until all valid maps have been printed.

also has an option to sort by Creation date.

Option 2: Copy cache maps to .\Maps and renaming them to <mapname>+<Creation date>.sc2map

  1. Find all *.s2ma files from the cachefolder.
  2. Get mapnames without using locale using MpqLib.
  3. Copy the .s2ma files to .\Maps and rename them to mapname.sc2map.

Option 3:

Same as Option 1, but does not print the mapnames( only locations ). Also has an option to print raw locations.

What may be coming:

  • Save locations to file.
  • Smaller size of application by integrating a new mpqlib made by myself.

By Borgen

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Draxacon Draxacon Apr 09, 2014 at 03:24 UTC - 0 likes

    What do you mean by "Print" maps lol i have the cache files but what i do with em

    also i found an sc2.ma file in the cache but i dont know what to do with it help

    Last edited Apr 09, 2014 by Draxacon

    Me and a friend are currently working on a zerg Rpg a forum will soon be up :D

  • Avatar of theb0rg theb0rg Aug 13, 2013 at 09:32 UTC - 0 likes

    As i said to somebody in a pm:

    Im guessing my program is not that compitable with the Arcade patch and/or different patches/expansions. I orginally made the program when sc2 was in beta-ish

    If you run into error loading an error loading components, you can try to create a new map, then use the ComponentList.SC2Components that comes with that. the are almost always the same. Although you may need to use an mpq-openener software to modify the map..

    I have not looked into why option 2 crashes or some maps are not extracted. I do not know when or if i will fix some bugs, but if some coder wants to continue i can send him the sourcecode. The program is very very simple though.

  • Avatar of SuperAI SuperAI Aug 08, 2013 at 12:45 UTC - 0 likes

    How to download.

  • Avatar of Euroset Euroset Jul 03, 2011 at 13:10 UTC - 0 likes

    hi. it's very interest project, but i have problem with custom maps. I want to open many maps with any tricks included (such as interface like star jawelled, poker defence), but galaxy cant open this (core error with loading components). How can i open this maps?

  • Avatar of NvBz NvBz May 13, 2011 at 13:59 UTC - 0 likes

    Hi,

    Can anyone teach me how to run this? I really have no idea how to make this work at all. How do you use MpqLib to open the *.s2ma files? The MpqLib.dll can't run for me. Sorry if this is a noob's question.

    Thanks.

  • Avatar of AlexO6 AlexO6 Jan 06, 2011 at 01:13 UTC - 0 likes
    In fact, that's what I did. I used date sort... But yeah, it would be really nice if you could change the system. :P Perhaps make it so that those unsupported characters change to something else, or that the tool simply ignores those characters? Or perhaps even an option to not rename the files, just keep them in their weird random name, but still turn them into map files...
  • Avatar of theb0rg theb0rg Jan 05, 2011 at 12:23 UTC - 0 likes

    @Alex06 Yes, my errorhandling seems pretty crappy. For example if a map has some unsupported characters by windows file management, it would probably crash. If there is a error in opening the mapfiles for filenames, The other files will crash. I should rewrite this system. Thus if there is any error with mpqlib, it will crash.

    Have you tried to use option 1 with date sort? Atleast it gives some info to go on.

  • Avatar of AlexO6 AlexO6 Jan 05, 2011 at 07:32 UTC - 0 likes
    It crashes when I try to get it to save the 389 maps it found in the cache to a folder...There are some really nice maps I have downloaded and want to get on my laptop for offline play without having to log in and download them again there too, especially since after a patch, all maps are cleared from the cache... This tool would be really useful, if it worked. It keeps telling me the program has stopped responding after 5 seconds of choosing option 2. R5 didn't crash, but it did only copy barely a few of the maps...Is there any way to fix this or do this manually? Hm...
    Last edited Jan 05, 2011 by AlexO6
  • Avatar of theb0rg theb0rg Dec 30, 2010 at 18:49 UTC - 0 likes

    New version uploaded. Hopefully fixes the application. Also all the maps have an unique identifier, though temporary it is the file creation date. Works for now.

  • Avatar of theb0rg theb0rg Dec 17, 2010 at 22:04 UTC - 0 likes

    @topsen17

    Yes, its a little broken right now. If you use the maplisting, you can see that it detect most of the maps, though something prevents it doing what it is supposed to do. I will see if i can put up a new rev soon.

    Edit: Yeah, out of around 170 detected maps, only around 13 gets copied. Will see what i can do. Also if you use option 1, its kinda a bummer that the console windows flushes a lot of maplocations.

    Last edited Dec 17, 2010 by theb0rg

Table of contents

  1. 1 r6

Facts

Date created
Jul 31, 2010
Category
Last update
Dec 30, 2010
Development stage
Release
Language
  • enUS
License
Public Domain
Downloads
5,463
Recent files

Authors