TinyMap2
Post #62
Gigins
Mar 11 2010, 2:44 pm
|
{0;20;0;20}
it does the same when replicating the conditions. testmap.scx (52.06 kb) -- 3 hits testmap1.scx (6.64 kb) -- 1 hits ![]() ![]() ![]() ![]() ![]() ![]() |
Post #63
O)FaRTy1billion
Mar 11 2010, 7:43 pm
|
.rapsdleF
|
Hmm ...
The steps I used in the upgrades is: - If the upgrade is unused or if the player is unused, then null the player settings (use default, player start level, player max level.) This should not be the case as the player is not unused. - If UseDefault or if player settings == default settings, then clear player settings and set UseDefault. This should also not do anything since UseDefault is being set ... ;o Apparenltly the Default Max is being cleared. EDIT: Aha! I found it! In my code to clear Upgrade 60's Max Level (as you cannot upgrade it) I forgot to add the index, so it's clearing Terran Infantry Armor. EDIT2: Ok, I did something to the Fog of War layer for those who are having that problem. Post 1 updated with new version. This post was edited 2 times, last edit by FaRTy1billion: Mar 11 2010, 8:05 pm. ![]() ![]() ![]() ![]() ![]() ![]() TinyMap2 - Latest in map compression! [ 8/26/12 - New build! Potentially fixed Win7 crash ]
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!) EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab! MapSketch - New image->map generator! EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported) SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor! times! |
Post #64
rockz
Mar 11 2010, 8:28 pm
|
お や す み
|
I don't know if this is possible with your current implementation, but could you make compressing sections/chunks optional? For example: have a checklist with all the known sections, and add a check to the sections you want to compress by editing the data.
If you can just turn off the buggy sections (MASK for example was messing up, those people could simply disable tinymap from editing that section and the fog of war would work). It seems like you already have this compartmentalized already, but I don't know how hard it would be to code something like that. Most compression comes from simply compacting the mpq archive anyway. ![]() ![]() ![]() ![]() ![]() ![]() This is a great wallpaper to use if you want to go into an epileptic fit every time you sit down in front of your laptop, which I guess is a better option than watching Naruto.
|
Post #65
O)FaRTy1billion
Mar 11 2010, 8:46 pm
|
.rapsdleF
|
Where would I put such a checklist? ;o
What I do to each section makes that section more compressible in the MPQ, that's how TinyMap2 makes maps so much smaller. ;o ![]() ![]() ![]() ![]() ![]() ![]() TinyMap2 - Latest in map compression! [ 8/26/12 - New build! Potentially fixed Win7 crash ]
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!) EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab! MapSketch - New image->map generator! EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported) SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor! times! |
Post #66
rockz
Mar 11 2010, 9:19 pm
|
お や す み
|
hopefully in the "options" section.
I was assuming there were better ways to compact the archive without changing any data in scenario.chk, much like a "best compression" method utilized by rar and LZMA. I remember opening a map in uberation, compressing it, extracting the scenario.chk, then reinserting it with winmpq, and the filesize jumped back up to normal. ![]() ![]() ![]() ![]() ![]() ![]() This is a great wallpaper to use if you want to go into an epileptic fit every time you sit down in front of your laptop, which I guess is a better option than watching Naruto.
|
Post #68
Jack[RCDF
Mar 12 2010, 3:41 am
|
Skin to bone, steel to rust, ash to ashes, dust to dust.
|
Blargh it didn't work for me. It opens OK, then I choose a map and press save and it freezes. About the third attempt, it just crashed after I selected a map (a random version of temple siege).
I tried it on windoze XP with SP3. I'll try it on vista later. Also, apparently OSMap 2 can unprotect it. I thought it was supposed to be compressed so much that it beat all the unprotectors? ![]() ![]() ![]() ![]() ![]() ![]() Red classic. I have mostly left SEN except for the Temple Siege 2 forum (hidden to most of you). I am available via PM still, and Skype as JackRCDF. If it is important to you, you will find a way. Otherwise, you will find an excuse. -Unknown Magnificent! Perhaps you shouldn't be on SEN as much, too... Better than the iPad! |
Post #69
O)FaRTy1billion
Mar 12 2010, 3:46 am
|
.rapsdleF
|
Does it not work for any map?
Have you opened OSMap 2's output in an editor and tried doing anything with it? In any case, protection was not my goal. ![]() ![]() ![]() ![]() ![]() ![]() TinyMap2 - Latest in map compression! [ 8/26/12 - New build! Potentially fixed Win7 crash ]
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!) EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab! MapSketch - New image->map generator! EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported) SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor! times! |
Post #70
Jack[RCDF
Mar 12 2010, 4:10 am
|
Skin to bone, steel to rust, ash to ashes, dust to dust.
|
OK it works for some maps. It didn't open any temple siege's, or hungry hungry hydras. Most maps opened when I tried, just a few random ones like that. Other ones won't save, like attack of the homeless (I was just trying random maps in my folders.) Some DO save though, for example coon city.
Yep tried that, it let me open and do stuff and save. I realise it wasn't your goal but it'd have been nice ![]() ![]() ![]() ![]() ![]() ![]() Red classic. I have mostly left SEN except for the Temple Siege 2 forum (hidden to most of you). I am available via PM still, and Skype as JackRCDF. If it is important to you, you will find a way. Otherwise, you will find an excuse. -Unknown Magnificent! Perhaps you shouldn't be on SEN as much, too... Better than the iPad! |
Post #71
Lanthanide
Mar 12 2010, 4:54 am
Post #72
O)FaRTy1billion
Mar 12 2010, 6:05 am
|
.rapsdleF
|
Doing all that seems like a lot of work for no real use...
I could easily disable sections in the INI based on how it handles sections ... TinyMap1 didn't handle sections at all, it was a massive wall of "LOAD THIS INTO MEMORY, EDIT IT ALL AS A BIG PILE OF GARBAGE, PUT IT BACK." ;o TinyMap2 goes section-by-section loading the sections into memory after loading the map. When you compress the map, there are individual functions for each section... Basically to debug something I just go to that section's function and figure it out ... Each one is really small so it isn't very difficult. Also, in MSN we found that certain maps wouldn't compress because they were protected. I have a very weak support for opening protected maps, and unless there is a lot of demand for it I have no intentions on supporting it further. This post was edited 1 time, last edit by FaRTy1billion: Mar 12 2010, 6:11 am. ![]() ![]() ![]() ![]() ![]() ![]() TinyMap2 - Latest in map compression! [ 8/26/12 - New build! Potentially fixed Win7 crash ]
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!) EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab! MapSketch - New image->map generator! EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported) SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor! times! |
Post #73 LegacyWeapon Mar 12 2010, 7:02 am
Post #74
rockz
Mar 12 2010, 7:25 am
|
お や す み
|
There's no reason to compress a protected map. Unprotection is already a ridiculously simple process.
![]() ![]() ![]() ![]() ![]() ![]() This is a great wallpaper to use if you want to go into an epileptic fit every time you sit down in front of your laptop, which I guess is a better option than watching Naruto.
|
Post #75 fat_flying_pigs Mar 12 2010, 8:37 am
Post #76
O)FaRTy1billion
Mar 12 2010, 8:57 am
|
.rapsdleF
|
Because I apparently do something that (most) unprotectors don't recognize. ;o
![]() ![]() ![]() ![]() ![]() ![]() TinyMap2 - Latest in map compression! [ 8/26/12 - New build! Potentially fixed Win7 crash ]
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!) EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab! MapSketch - New image->map generator! EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported) SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor! times! |
Post #77
Jack[RCDF
Mar 12 2010, 9:24 am
|
Skin to bone, steel to rust, ash to ashes, dust to dust.
|
There's no reason to compress a protected map. Unprotection is already a ridiculously simple process. ![]() ![]() ![]() ![]() ![]() ![]() Red classic. I have mostly left SEN except for the Temple Siege 2 forum (hidden to most of you). I am available via PM still, and Skype as JackRCDF. If it is important to you, you will find a way. Otherwise, you will find an excuse. -Unknown Magnificent! Perhaps you shouldn't be on SEN as much, too... Better than the iPad! |
Post #78
rockz
Mar 12 2010, 6:46 pm
|
お や す み
|
There's no reason to compress a protected map. Unprotection is already a ridiculously simple process. ![]() ![]() ![]() ![]() ![]() ![]() This is a great wallpaper to use if you want to go into an epileptic fit every time you sit down in front of your laptop, which I guess is a better option than watching Naruto.
|
Post #79
O)FaRTy1billion
Mar 12 2010, 8:47 pm
|
.rapsdleF
|
There's no reason to compress a protected map. Unprotection is already a ridiculously simple process. ![]() ![]() ![]() ![]() ![]() ![]() TinyMap2 - Latest in map compression! [ 8/26/12 - New build! Potentially fixed Win7 crash ]
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!) EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab! MapSketch - New image->map generator! EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported) SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor! times! |
Post #80 GameLoader1337 Mar 12 2010, 11:18 pm
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)
+ guest(s)
[05:55 pm]
[01:00 pm]
[11:41 am]
[08:15 am]
[07:56 am]
[07:49 am]
[07:18 am]




times!
![[close]](/images/up.gif)