Find Me On Discord (Brood War UMS Community & Staredit Network)
I'm hoping I can continue using chkdraft for this because, my understanding of strings is it's per character that determines how many bytes are used, and Korean words use far fewer characters than English words. Thus, as I'm going through, my used string bytes should, by my understanding, actually go DOWN.
EDIT: I should note that the trigger editor is crashing a lot when I go to paste in my updated code. Not when pressing compile, but merely by pasting.
EDIT: Something is going on with the filesize of my map whenever I am compiling it through your program. It started at 95MB and it has since risen to 146MB! I fear what the final size will be when this process is complete! What's going on here??
Post has been edited 2 time(s), last time on Jun 23 2020, 6:59 pm by Oh_Man.
Find Me On Discord (Brood War UMS Community & Staredit Network)
Is any of this recognisable to you?
I noticed this pop up during one of my tests, and I searched my triggers for some of the text present here but zero results found.
Never encountered something like this before. Seems to have happened independent of any triggers.
Find Me On Discord (Brood War UMS Community & Staredit Network)
Weird stuff is going on with the strings now. Even though I've only changed the text in display text message only, some of the locations which shared these texts are being changed as well. This is creating compilation errors as the triggers are still searching for the English-named locations which have been changed into korean for some reason automatically by chkdraft. It's not really korean it's like that "machine code" korean too...:
x<1F>?<1F>?<1F>?<1F>M q { ? ? <13>!&!`!?!,"?"?"p#?#\\$e$z$?$?$?$ %-%?%<19>&&&5&L&?&?&6'U'?'?'-(?(?(<19>)?)?)p*?*?*<10>+++4+F+Z+?+v,?,<11>-]-k-x-?-?-?-<0C>.g.n.u.?.?.?.?.?.L/<0D>0?0<13>1=1?142d2?2?2?3?3?3<0D>484T4?4<02>5,5P5?5'6V6b6?6<08>7<1D>7R7?7?7?7?7<05>8j8?8?8?8<1E>9'9q9?9?9<0C>:t:?:?:?:?:<0A>;!;7;M;U;b;n;?;?;?;?;?;q\<?\<?\<<12>=!=Y=s=?=?=?=W>?>?>?>:?J?e???6@t@y@?@?@?@2AIArA?A?A?A?A
Actually, opening up my map in SCMDraft, I see string limit is now at 101.1% (662270 bytes). Maybe chkdraft is going whacky because of this?
EDIT: Something is going on with the filesize of my map whenever I am compiling it through your program. It started at 95MB and it has since risen to 146MB! I fear what the final size will be when this process is complete! What's going on here??
Your maps listfile was incomplete/corrupt - there were several files inside your map which were not listed in the listfile and many which were not used anywhere in the map. Because StormLib was unable to identify several of the files it refused to attempt compacting the map. I wrote a utility and posted it for you in discord to cleanup your map file which in my tests took your map size from 93mb to 63mb and stopped the growth-on-save issue.
The rest of the issues you raised I'll have to tackle at a later date as I'm presently out of time.
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
This release fixes all of the bugs raised by Oh Man as well as several others, in addition to implementing string usage statistics. As a reminder I do not yet support remastered and maps using remastered features (such as new terrain, player colors, or expanded in-game strings) should not be re-saved through Chkdraft.
Attachments:
Post has been edited 1 time(s), last time on Aug 10 2020, 1:22 am by jjf28.
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
Hi there,
When creating a new scenario from scratch, I get a blank map and there's nothing on the minimap either.
I can freely place units and make triggers, just not terrain. I've got all 3 mpqs linked to the tool and existing maps open just fine.
If I open the map in scmdraft, add some terrain, I get the "mpq optimise failed, map size larger than necessary" or so when saving.
I've never really used chkdraft until recently and I can't estimate what dependencies, if any, I might be missing.
None.
When creating a new scenario from scratch, I get a blank map and there's nothing on the minimap either.
That is expected, I don't yet have ISOM terrain support so I can't generate map terrain like Staredit/Scmdraft at this time. You can change the dropdown on the toolbar to "tileset indexed" to place individual tiles; though I recommend terraining in Scmdraft for now.
If I open the map in scmdraft, add some terrain, I get the "mpq optimise failed, map size larger than necessary" or so when saving.
Pretty sure that's Scmdraft's issue and not mine, I reported it
thereEdit: With the latest Chkdraft and Scmdraft the above mpq optimization issue is no longer present.
Post has been edited 1 time(s), last time on Jun 5 2023, 5:10 am by jjf28.
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
Release 1.02 / Update 2023-06-05 -
Download LatestFeature Changes:
- Support for loading StarCraft data from remastered data files (or optionally from 1.16.1)
- Support for loading and saving remastered maps without corruption
- Support for STRx, CRGB, rectangular remastered terrain
Bug/Error fixes:
- Stabilized all pre-existing features (hasn't been this stable since starting the 2018 refactor)
- No error dialog when cancelling open-map
- Saves from Chkdraft no longer cause Scmdraft to fail to optimize maps
- idk, tons
Code changes:
- Incorporated CascLib & RareCpp, updated StormLib
- Scenario is now a very simple, reasonably intuitive data structure, Sections.h/.cpp removed, section indirection removed, now serialized with the help of reflection
You can also now get the latest release (or a past release) from
git releases
Post has been edited 2 time(s), last time on Jun 5 2023, 5:24 am by jjf28.
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
Quick hotfix for the above, this update is solely to fix a critical bug where resaving some maps (not all) resulted in an invalid MPQ.
Download LatestAs always, see the chkd/Backups folder to recover your map as it was before it was saved if you need to.
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
Release 1.04 / Update 2024-02-10 -
Download LatestFeature Changes:
- ISOM terran editing completed
- Doodad layer completed
- Sprite layer completed
- Unit placement/paste options completed
- Fog layer completed
- Cut-copy-paste layer completed
- Context menus completed
- Mission briefing editor completed
- Dimensions/resize window completed (except "smooth terrain", which was deferred till after more ISOM documentation/research)
- Sprite properties window completed
- Several more little items completed
Bug/Error fixes/Code changes:
- Lots more bufixes/QA than I'm willing to document, though I'll give two special mentions: fixed GDI leaks (black screen/instability after extended use) which involved encapsulating all use of HDCs, and huge amounts of QOL/stabilization applied to triggers
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
Thank you, your work is very helpful.
None.
Good work! Here's some suggestions for having greater sprite/unit customization for EUD maps.
- Option to change a sprite/unit's iscript.
- Option to change a sprite/unit's direction so specific frames may be viewed.
- Option to change an image's draw function.
- Option to change an image's color. Normally restricted with draw function but one system allows for RGB 188, 184, 52. 132, 4, 4. and 0, 0, 0.
- Option to change elevation of a sprite/unit.
- Distinction between draw function 12 being shown in SD vs it being invisible in HD.
- Option to freeze transitional cloaking animations.
- Option to get the center coordinates of a placed sprite/unit so the location may be pinpointed.
- Within map settings>map properties>color display the actual colors alongside the name of the color.
- Option to add stars to null tiles in non-platform tilesets.
- When making a new map have an option for null terrain type.
- Option for EUD plugins for things such as matching the placement of sprites from the editor to in-game.
None.
Release 1.06 / Update 2024-09-06 -
Download LatestFeature Changes:
- StarCraft Remastered Skin Support - you can now switch to SC:R SD, HD2/HD and Carbot HD2/HD skins from the view/skins menu or with hotkeys alt+1 through alt+7
Bug/Error fixes/Code changes:
- Chkdraft was moved from a visual-studios based solution to a cmake/vcpkg project - this aids greatly with managing dependencies and is a step towards becoming more cross-platform
- All existing dependencies (GTest, ICU, CascLib, and StormLib) were moved to vcpkg, and a few new dependencies (related to graphics) were added: GLAD (OpenGL loading), GLM (matrix & other graphics math), FreeType & Harfbuzz (text rendering)
- Clipboard, selections & undos were refactored to rely less on redundant access control
- Fixed a bug related to asset loading
- Fixed a crash which occurred when the minimap attempted to draw a unit owned by player id 16
- Fix crash in briefing trigger editing
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
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
Find Me On Discord (Brood War UMS Community & Staredit Network)
woah we can look at remastered graphics in map editor now?? that's huge!
Release 1.07 / Update 2024-09-26 -
Download Latest(Unit Properties if you've opened the advanced tab)
Feature Changes:
- Add the ability to manage unit links (nydus/addons) from unit properties
- Add an advanced tab to unit properties for manually editing hidden flags/data
- Adjust string editor so 11 lines are visible without scrolling (same as in a few places in StarCraft)
Bug/Error fixes/Code changes:
- Fix a critical issue related to setting unit field values for units placed in chkdraft not showing up in starcraft
- Fix allowing for use of unicode characters in several places: file backups, the chkd files, string export, sound extraction, and opening raw-scenario (.chk) files
- Fix errant selection rectangle graphics & various smaller fixes
- For additional details see: #194
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.
Release 1.08 / Update 2024-10-23 -
Download LatestBug/Error fixes/Code changes:
- Fix for inability to enter "Switch 256" in text triggers
- Fix for buggy suggestions window/general triggering after closing and reopening the triggers window
This release is to fix two high priority bugs, as far as feature development goes work on animation remains priority & is ongoing.
TheNitesWhoSay - Clan Aura -
githubReached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.