Cajun Style Templates (UPDATE 3.0.5, Rooms, UB, MSE 2.5!)
Oct 1, 2024 14:21:56 GMT
Yzjdriel, GenevensiS, and 1 more like this
Post by cajun on Oct 1, 2024 14:21:56 GMT
MSE Template Packs 3.0.0: Magic Modules and Showcase Catchup
HOUSEKEEPING
• Please make backup copies of your sets before updating. This is likely the biggest updates the template packs has ever seen, and there will almost certainly be bizarre bugs we missed. Better safe than sorry.• Custom Watermarks will need to be moved to magic-mainframe-extras from magic-watermarks! Your cards will use the fallback image until you move them.
• Custom Lesson/Transform symbols will want to add 19-20% of transparent padding around them: the built in images have changed from 512x512 to 706x706. This was done to accommodate the wider modal DFC images.
• Some templates have changed more than MSE can gracefully handle, so I have created mse-editor.neocities.org/, where you can upload MSE set files to in order to patch their data. The most important templates for this are M15 Mainframe w/Lesson, Mainframe DFC, and the Hi-Res Showcase Frames. It will also fix a lot of harmless warnings that will otherwise flood your console the first time you open your sets.• IF YOU AREN'T ABLE TO OPEN A SET run it through this website first. If it still won't open, run it with "Generate list of used templates", and post the list and we'll help you figure out what's missing.
• If your own personal template is suddenly very large or very small, change its card dpi to 150.
• So so so much thanks to GenevensiS for carrying a lot of code and image editing in this update and kicking me along whenever I stalled out, and to our accidental beta testers in Discord this last week that have saved the rest of y'all from some of the weirdest bugs I've seen working in MSE.
DOWNLOADING
I highly recommend that people start using GitHub for the Template Pack updates: It will give you a client where you can very quickly and easily check if there's been any updates or bugfixes, and it will apply the patch for you, and I promise it's easier to use than you think. This is an excellent time to start due to the sweeping changes we've made across the Template Pack, which have let us cut the file size by half or more.
Setting up GitHub
1. Download the GitHub Desktop Client for Windows/Mac here: desktop.github.com/download/
2. You do not have to make an account: Doing so will make it easier for you to submit bug reports or code/template additions, but you can skip the login step when opening the program.
3. When the program is opened, we want to "Clone a Repository" over the internet or URL. The first time you use the program it may appear as a big button; later you will need to use File -> Clone Repository from the top menus.
4. In this window we click the URL tab and provide the link to the template pack, and a folder that you want to download the pack into. This will need to be an empty folder. Click Clone and give it some time to download.
The URL for the Full Magic Pack, with all MTG frames, is github.com/MagicSetEditorPacks/Full-Magic-Pack
The URL for the M15 Magic Pack, with modern MTG frames, is github.com/MagicSetEditorPacks/M15-Magic-Pack
The URL for the Basic Magic Pack, with only Mainframe, is github.com/MagicSetEditorPacks/Basic-M15-Magic-Pack
The URL for the Full Non-Magic Pack is github.com/MagicSetEditorPacks/Full-Non-Magic-Pack
Boards is screwing up the links for some people, so in plain text:
Full Magic Pack: https://github.com/MagicSetEditorPacks/Full-Magic-Pack
M15 Magic Pack: https://github.com/MagicSetEditorPacks/M15-Magic-Pack
Basic Magic Pack: https://github.com/MagicSetEditorPacks/Basic-M15-Magic-Pack
Full Non-Magic Pack: https://github.com/MagicSetEditorPacks/Full-Non-Magic-Pack
5. At the top of the client is our main navigation. The third button is most useful here, we can click it to "Fetch origin/upstream", which will check if there are updates, or "Pull origin/upstream", which will apply the updates it finds.
6. The History tab will also let us roll back to previous versions if an update has broken things for you. Find the update you want to go back to, right click and choose Checkout commit. You can return to the normal version by clicking the Current branch button and returning to "main".
You can add your magic-mainframe-extras files into this folder, it has been set up so those files won't be affected by updates and versions!
It Doesn't Work / Shut Up And Give Me The Zips
M15 Magic Pack Download - the standard pack containing canon and custom frames in the M15 Style, as well as all mana fonts and exporters
Basic Magic Pack Download - the slimmest pack containing only Mainframe Suite and some common exporters
Full Magic Pack Download - the largest pack containing all Magic and Magic-adjacent frames, exporters, and include files I have
Full Non-Magic Pack Download - the pack containing all non-MTG frames, exporters, and include files I have
Boards is screwing up the links for some people, so in plain text:
M15 Magic Pack: https://github.com/MagicSetEditorPacks/M15-Magic-Pack/archive/refs/heads/main.zip
Basic Magic Pack: https://github.com/MagicSetEditorPacks/Basic-M15-Magic-Pack/archive/refs/heads/main.zip
Full Magic Pack: https://github.com/MagicSetEditorPacks/Full-Magic-Pack/archive/refs/heads/main.zip
Full Non-Magic Pack: https://github.com/MagicSetEditorPacks/Full-Non-Magic-Pack/archive/refs/heads/main.zip
There is no patch download this time: We have updated basically Everything. Don't believe me? Well let's get into it!
MSE 2.5
Genevensis and Hagan have been doing excellent work at getting MSE compiled and edited lately, and so this update also has us upgrading from MSE 2.1.2 all the way to MSE 2.5.6! What does that mean for you?
UI Updates:
• When selecting Games or Templates, there is now a search bar that allows you to filter templates.
• Added the ability to underline text via Ctrl+U or the U buttom on the top panel.• The template canvas now takes DPI into account, so high res templates will no longer be massively larger than other templates. They will still export at full size.
• Symbol files will no longer complain about dependencies.
Image Updates:
• In Edit -> Preferences -> Internal, you can now set a scale at which new images are imported into MSE. This lets you save images at double size, so they don't turn into pixely messes when you zoom out. In this same tab there is also an option to store images with their file extension, to make external editing of MSE files easier.
• The Export and View zooms are now separate options.
• MSE can now find ".jpeg" and ".tiff" images.
Template Development Updates:
• Extra card data is now available for template development under extra_card.field_name and extra_card_style.field_name.style_name
• The built-in functions width_of(image) and height_of(image) have been added.
• The built-in function exists_in_package("/package-name.package-extension/file-name.file-extension") has been added to check if a file exists.• Stylesheets can now define card regions, with properties name:, x:, y:, width:, height:. These can be accessed in the array stylesheet.card_regions to help the script decide how to split images with multiple regions.
• The "info" field type is now supported in the style tab.
• Setting an "image" field as editable: false will remove the "double click to load" text as well as the checkerboard pattern. To link an image with it, use the "default" property.
• The built-in function to_date now accepts "now" as a parameter.
• Added combine modes "greater than N" and "smaller than N", where N is multiples of 5 between 0 and 255. These apply to pixels which have all their RGB values greater/smaller than N. The main use case for this is applying textures to text; An example texture set_combine("texture.png", combine:"greater than 160") layered over text will be masked to only appear over white and light gray pixels. This works best when the text is on a high contrast background, otherwise the texture may be applied to the background.
• Right margin now works, with the same 10x divisor than left margin has.
• The linear_blend and masked_blend functions now also blend alpha channels
Export templates
• Fixed a bug where Export Templates with many options didn't have a scrollbar.• Multi-selecting cards in the Export list now lets you check/uncheck all selected cards.
• Export templates can now write to subdirectories.
• The built-in function get_card_styling(card) has been added, which returns the card.styling object which was not properly accessible in export templates.
• The built-in function to_card_image(card[, zoom:100, angle:0]) has been added, so Export templates can now edit card images, to do things like split DFC images. The Cockatrice exporter has been updated to do this.
SHOWCASE FRAMES
• (New) Assassin's Creed Memory Corridor
• (New) Bloomburrow Borderless Anime
• (New) Bloomburrow Woodland
• (New) Duskmourn Paranormal
• (New) Kamigawa Neon
• (New) Kamigawa Ninja
• (New) Kamigawa Samurai
• (New) Innistad Fang (Crimson Vow)
• (New) Theros Constellation
• (New) Compleated Planeswalkers
• (New) Cajun's Youtube
• (New) Kasu_mtg's Elder Scrolls
• (New) Kasu_mtg's Eldrazi
Updated: These frames were previously released outside the template pack, but have gotten some updates, including combining the HD frames and 375x523 frames thanks to MSE 2.5. If you used the HD frames, use the mse-editor site to convert your set files so they will use the proper template.
• Capenna Art Deco & Art Deco Walker
• Capenna Golden Age
• Capenna Skyscraper
• Doctor Who TARDIS
• Dominaria Stained Glass
• Eldraine Enchanting Tales
• Fallout PipBoy
• Ikoria Crystal
• Innistrad Double Feature & Double Feature Walker
• Innistrad Equinox (Midnight Vow)
• Ixalan Treasures
• Ixalan Legends
• Ixalan Caverns
• Lord of the Rings Ring
• Lord of the Rings Scroll & Scroll Saga
• Lord of the Rings Rules Reminder
• Ravnica City Mural
• Ravnica Dossier
• Tarkir Dragon Wing
• Thunder Junction Breaking News
• Thunder Junction Vault
• Thunder Junction Wanted Poster
• Unfinity Showcase of Tomorrow
• Unfinity Attractions
• Secret Lair Baseball Cards
• Punch-out Counter Sheet
• Kamigawa Full Art Basics
• Amonkhet Invocations now has a setting for "revamped mode" to use the modified layout used in March of the Machine.
• Fallout PipBoy can now select different sections on the HUD.
• Thunder Junction Breaking News now supports the Cruel Ultimatum frame for all colors.
MAGIC MODULES
• M15 frames can now use Standard, Acorn, Universes Beyond, Heart, Alchemy, and even Custom stamps! Set fields have been added to define a set's default stamp shape, and the stamping logic (such as Universes Beyond having all cards stamped, but using a non-holo stamp for non rare cards). This also lets you disable stamps, so the "use holofoil stamps" option has been removed from nearly all templates. Some templates will also have a copy of these options in their Styling options, so you can have a normally stamped set that uses Universes Beyond stamping only on the PipBoy Frame, for example. Card stamps can also be set individually.
• M15 frames now use the updated OCR fields, which have UB Copyright, The List icon, and the new card numbering code (see Partitions below).
• All frames can also add the Alchemy name symbols, which also appear in the CARDNAME atom!
• All frames can now use Genevensis's Corners tech for square, diagonal, aliased, or pixel curve corners.
• Frames can now easily add styling options to change their casting cost mana symbols, apply custom fonts, or use the rarity recolor and offset options.
• Frames can use the loyalty module to painlessly make Planeswalker versions of frames.
• Frames can use the symbols module to include transform symbols, which now lets you to select Modal DFC icons.
• The watermarks module now simplifies watermarks to one script instead of three include files. REMINDER: If you have custom watermarks, you will now need to move these to the magic-mainframe-extras folder rather than magic-watermarks!
• You can run your set on the mse-editor website to clean up warnings due to code changes: Most of them are completely harmless and will stop showing up once you save. The main data that could be lost is Lesson/Transform symbols on M15 Mainframe and Mainframe DFC.
• For template developers, you can see the readmes for these modules in magic-modules.mse-include, and we'll be working on more dedicated docs for it in the future.
PARTITIONS
• Cards can now be put into partitions 0-9 and A-Z, which will change how the automatic sorter sorts them. This allows MSE to handle things like overcounted cards, and face commanders being listed before everything else.
• Cards are in Partition A by default. Partitions 0-9 sort before these cards, Partitions B-Z sort after them. Cards within the same partition sort under the normal logic (color then alphabetical).
• Partitions N-Z by default are "over-partition", and their cards won't be counted in the set's total. There is a set option for displaying these cards in the "301/300" or "301" format. There is also a set option for changing the "last main partition" that does not have this effect, default "M".
• The selector for this is put over the automated card number. You can click there to select a new partition for a card.
• Additionally, there is a set option for defining the card number style, "0001", "0001/0099", "001", "001/099", "1", and "1/99"
ADVENTURE OVERHAUL
• Added support for flat pages and pages with only a nameline and no typeline.
• Added "page decorations," images that layer over pages that can be added to magic-mainframe-extras.
• Adventures now support the Universes Beyond texture, which can be applied automatically to cards with the UB stamp.
ROOM FRAME & SPLITS OVERHAUL
• By default, there will be one image box that stretches across the entire card.
• You can change the Room Images option to "Two images", which will have a gradient between the two images, and "Three images", which adds a thin third image in the overlap area.
• The Borderless Room frame is also supported, and can also be applied to normal split and fuse cards.
• Added the ability to use just the Fuse arrows without the fuse bar (the reverse already existed.)
• Mainframe Splits now supports the Nyx and Universes Beyond frames, which default to being automated on the Enchantment type and the triangle stamp respectively.
• Mainframe Splits now supports Clear frame for Splits, Fuses, and Rooms.
MAINFRAME SUITE UPDATES
• Mainframe templates now automatically apply the Nyx frame to enchantments. This is controlled by the new Set option "auto nyx".
• Mainframe templates can now provide an alternate image source to use for Nyx via the "alternate nyx" Set option. This can be from magic-mainframe-extras (with "folder/image.png" using "folder/wimage.png", "folder/uimage.png" etc), or use "star", a built in alternate from TVP's Altered Plus. More built-in will likely be added in future.
• M15 Mainframe, Mainframe Splits, M15 Adventures, and M15 Sagas now support Universes Beyond, which default to automated on cards with triangle stamps.
• M15 Sagas and Mainframe DFC now support Cases.
• M15 Sagas and Mainframe DFC now allow for customization of Class Level Bars, adding bars without arrows, the Case line, and the ability to provide a custom image from magic-mainframe-extras.
• "Snap chapter to box" options now update automatically, without needing a closing comma.
• Mainframe DFC's Saga and Clear frames now have proper circles around their transform icon.
• Mainframe DFC auto-sizing planeswalkers now support up to 6 abilities.
• Mainframe DFC now has an option to remove the backface rarity.
• Mainframe DFC now has "front chop" and "back chop" options that work like the other frame's chops. Level chops remain as a fallback (so you don't need to update anything), but are now moved to the Leveler/Saga editing section.
• M15 Mainframe's Lesson frame is now accessed by clicking the big square to the left of the name, with the empty tombstone/alchemy box moving further left. Note you will need to re-assign Lesson symbols, either with the neocities patcher or doing it by hand.
• M15 Mainframe now has Miracle support for Legendary, FNM, Inverted, Conspiracy, and Universes Beyond frames.
• M15 Mainframe now has an option to prevent trim frames like Snow and Nyx from covering the Devoid texture.
• Mainframe Planeswalkers now has a setting to change its popout art to "popunder" art, which layers underneath the text, casting cost, and rarity symbol, but over the other frame elements.
• Mainframe Planes has been updated to the version of the frame from MOM. The old frame is retained behind a style option. The code has been updated so the two textboxes are connected, and it now automates the divider.
OTHER UPDATES
• The Set tab has been reorganized into something hopefully easier to navigate.
• Auto errata and Auto replaces for ETB have been updated.
• "Alias as CARDNAME" has been replaced with "CARDNAME replacement", which will let you choose between CARDNAME taking the card's name, the card's alias, or the card's types (as seen in Foundations cards).• Keywords and types have been updated through Duskmourn.
• Added the keyword utility handle_action_rt(to:"name", "Action"). This can be used to add "To {name}," before the reminder text when it isn't right next to the keyword, such as handle_action_rt(to:"forage", "Exile"). Capitalization matters here.
• Added the keyword utility handle_merged_rt("Normal", moved:"Alternate"). This can be used to add clarifying text when reminder text is merged, like in Cache Grab. Unlike the previous, this only changes during reminder text merges, not just any distance from the keyword.
• Bloomburrow's Pawprint symbol has been added as [J].
• Added Capenna, DND, Desparked, Judge Academy, MLP, Shooting Star, Transformers, and hi-res mana symbol watermarks.
• Custom Watermarks can now have a maximum size of 1024x1024, and no longer need to define their height and width.
• The "blend with colors" watermark option has been split into one that applies to custom watermarks and one that applies to default watermarks.
• Transform icons now include and default to the Up and Down triangles. Modal DFC icons are now selectable, and on DFCs will attempt to make the card a modal DFC when you do so.
• Added an option to Unstable Basics to remove the colored name banner.
• Added eighth level support to M15 Dungeons.
• Added omni and polyamory flags to Pride Pinlines.
• The name checker exporter has been updated, and now does more filtering for Near Name Matches (for example, Dreameater will now be caught due to Dream Eater).
BUG FIXES
• Fixed a bug where the 8th Edition Tokens name spacing would go berserk.
• Fixed a bug that was eating spaces in the typeline.
• Fixed some cases where +1/+1 was getting converted to loyalty symbols.
• The • between Set Code and Language now only appears if you have both of those defined.
• Fixed many template warnings across the template packs.• Fixed a bug with custom italic font using the wrong font.
• Fixed a bug with tokens using the wrong custom fonts.
• Fixed a bug where some Unicode, such as Kanji and Cryllic characters, were unable to be typed.
• Fixed a bug where the Add Multiple Cards scripts didn't load until you switched to another tab first.
• Fixed a bug where long typelines would get squished during printing.
• Fixed several bugs that caused typing in the name and type to lag on larger set files.
TEMPLATE CLEANUP
• magic-mainframe-extras examples have been cleaned up and moved into one folder. The repo now has a .gitignore for this so it's easier to run MSE off the repo.
• Take the Crown Draft Matters frame now includes the Conspiracy frame.
• M15 Leveler now has TriLeveler support.
• The following frames have been removed from the Full Pack. There is an Outdated Templates pack available as a backup, but these templates are now redundant and are no longer being supported.
• Redudant with M15 Mainframe: M15 Clear, M15 Custom, M15 Metropolis, Mined & Mined Planeshifted, M15 Miracle, M15 Nyx, M15 Planeshifted & Planeshifted Leveler, M15 Vehicles, Vehicles
• Redundant with CN2 Styles and M15 Mainframe: TTK Conspiracy
• Again, there is a tool at mse-editor.neocities.org/ to help convert these frames to their current ones.