Staredit Network > Forums > SC1 Mapping Tools > Topic: Scmdraft2
Scmdraft2
Oct 3 2011, 6:29 pm
By: IAGG  

Oct 3 2011, 6:29 pm IAGG Post #1



I am using Scmdraft 2, the version with memory triggers. I can hardly do any work on the map because it seems like if I have the editor open for more then 10 seconds and try to save, it will give me the messege... Something bad happened, would you like to save a diagnostic file?. This will also happen randomly when I am not trying to save, such as just moving from actions to conditions or other minor movements... Any ideas on why its spazzing out on me?



None.

Oct 3 2011, 6:35 pm Roy Post #2

An artist's depiction of an Extended Unit Death

I assume you're on Windows 7 (someone else I was talking to recently also has this issue). Has it always done this, or is it recent?

Here's some things to try:

1) Run SCMD2 in compatibility mode (I choose XP SP3).
2) Check your backup database located in your SCMD2 directory (backupDB.scmdDB). If it is large (>500MB) you may want to rename it or delete it.
3) Run as administrator, because hey, who knows.
4) Save a diagnostic file and post it here for someone to interpret.
5) Try a different version of SCMD2 and see if the problem persists.

Also, I've been told that you can just ignore this message (don't press any buttons on it) when it pops up and continue using SCMD2 without problem. Try moving it off to the corner of your screen and continue mapping.




Oct 3 2011, 6:43 pm IAGG Post #3



I am actually running on Vista, also I have never used compat mode before. Where and how do I try that?

This is also recent.



None.

Oct 3 2011, 6:46 pm Roy Post #4

An artist's depiction of an Extended Unit Death

Go to the Scmdraft directory, right-click on the .exe, select "Properties." On the "Compatibility" tab, check "Run this program in compatibility mode" and select an option from the available dropdown.

Here's a link for the instructions: http://www.howtogeek.com/howto/windows-vista/using-windows-vista-compatibility-mode/

If it's a recent issue, it might be your backup database. I'd check that first.




Oct 3 2011, 6:49 pm Dem0n Post #5

ᕕ( ᐛ )ᕗ

If you've got auto-save enabled and your backups folder is big, it'll cause scmdraft to freeze and crash. Make sure you clear it periodically (it can easily get over 2 gbs) or just turn it off altogether.




Oct 3 2011, 6:52 pm IAGG Post #6



Ok i tried the compat and it still didnt work, I also deleted the backup database because it was pretty large and i never used it. That also didnt seem to work.

Could it have something to do with the map im currently trying to work with?



None.

Oct 3 2011, 6:53 pm Roy Post #7

An artist's depiction of an Extended Unit Death

Does it only happen for that particular map? If so, it could be related to hitting some sort of limit (i.e. strings).




Oct 3 2011, 6:53 pm NudeRaider Post #8

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Personally I just use v0.7.3 (unless I need a 0.8.x feature) because it's much more robust than other versions. IIRC you can get it when you click on "download" on the left at http://www.stormcoast-fortress.net to get a list of archived versions.




Oct 3 2011, 6:56 pm IAGG Post #9



I went to an older version and it doesnt seem to have that problem, Is there a way to check the amount of current strings and whats the limit?

Ahhh scratch that... 99.9% strings used. wow... not cool.

Is there some kind of secret to allow more that i probably dont know of? haha or some way to compress?



None.

Oct 3 2011, 7:00 pm Roy Post #10

An artist's depiction of an Extended Unit Death

SCMD2 allows string recycling, so if you have multiple strings that are the same, it only counts it as one string.

Removing trigger comments is an easy way to clean up your string usage. A lot of mappers will use an empty string for all of their trigger comments except for particular ones that mark a "section" of triggers. For example, if you had an HP system, the first trigger would say "HP system" and the other triggers related to the HP system would have blank comments.




Oct 3 2011, 7:04 pm IAGG Post #11



Ok i understand that part. How is a string determined exactly? like is it a group of triggers? lets say i had a blank comment for every single trigger. so all the triggers combined would be one string? most likely wrong but i want to verify



None.

Oct 3 2011, 8:14 pm Lanthanide Post #12



If you have 2 triggers that have a comment that is exactly the same, eg "Hey this is a comment", that will consume 1 string slot and both triggers will point at it. If you then manually edit one of the comments to say "Hey this is another comment", then you will create a new string and you will now have 2 strings stored, the original "Hey this is a comment" will be used by the other trigger, and the new "Hey this is another comment" will be used by the trigger you just edited.

So if you have 50 triggers that have a comment of "" (empty string), then that will consume 1 string slot and all 50 triggers will point at it. If you edit one of them to say "HP system", then you will have 2 strings: "" and "HP system" and the empty string will be pointed at by 49 different triggers.

Note that the strings need to be identical in every possible way in order for this recycling to take affect. So often if I have a trigger comment that can refer to multiple different triggers, I copy and paste the text to make sure it's identical.



None.

Oct 3 2011, 8:56 pm IAGG Post #13



Sounds good to me. Thank u!



None.

Oct 3 2011, 9:14 pm O)FaRTy1billion[MM] Post #14

👻 👾 👽 💪

Strings aren't only trigger comments. Anything that is text that you can modify is a string. Map name/description, force names, location names, unit names, display text, comments, leaderboard captions, wav filenames, and "set next scenario" path.
SCMDraft also has a string viewer that will let you go through and see if there are any unnecessary strings that can be deleted.



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
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!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Oct 3 2011, 9:18 pm NudeRaider Post #15

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

This might be the source of your "something bad happened" problem. SCMDraft is known to sometimes go haywire when you reach or exceed the string limit though it's technically capable of handling more.
Your best bet is first trying to reduce the amount of strings used and see if the problem persist (in the newer version ofc) and if not you might try an older version of your map (though you just deleted your backup database -d'oh) which hasn't reached the string limit yet and work with string recycling from there.

Btw. Your case is why I always recommend renaming the database file instead of deleting it until you're certain you really need the space. That way you can still restore it if need be. Or maybe you still have it in the recycler?




Oct 4 2011, 6:31 am IAGG Post #16



Well i dont need the backup because whenever i make edits, i will save the map with the date i was editing on the end. ie RPG20111004. So. i end up having like 100 versions of the same map until its ready to be released. Its not efficient but its easier for me

I also just finished removing all the comments and setting all of them to a blank space. Took the string % from 99.9 down to 78.6% haha very nice!!!



None.

Aug 9 2012, 8:06 pm TristanOfVP Post #17



I am currently having this exact same problem, but I only have 6.5% of my strings used. Any ideas? I'm on Windows XP so the Vista solution goes out the window.



None.

Aug 9 2012, 11:20 pm Roy Post #18

An artist's depiction of an Extended Unit Death

Did you go through these steps?
Quote from Roy
Here's some things to try:

1) Run SCMD2 in compatibility mode (I choose XP SP3).
2) Check your backup database located in your SCMD2 directory (backupDB.scmdDB). If it is large (>500MB) you may want to rename it or delete it.
3) Run as administrator, because hey, who knows.
4) Save a diagnostic file and post it here for someone to interpret.
5) Try a different version of SCMD2 and see if the problem persists.
Post your results for these. If it still doesn't work, provide more details:

1) Does this only happen for one map?
2) Does this only happen for a specific tileset?
3) Has this always happened, or is it recent? Have you changed any configurations recently that might have caused this?




Aug 10 2012, 6:32 am TristanOfVP Post #19



I tried a reinstall of SCMDraft2 and that seemed to fix it for whatever reason :wtfage:



None.

Aug 11 2012, 12:24 am Azrael Post #20



I have had the same problem a few dozen times. Clearing the backup database has always fixed it.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
Please log in to shout.


Members Online: Roy, Dem0n