Initial commit

This commit is contained in:
CajunAvenger
2021-07-08 17:16:53 -05:00
parent b056d1de65
commit b582d03f6a
11645 changed files with 206724 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
cd ..
cd ..
mse --create-installer magic-namecheck.mse-export-template
ren "magic-namecheck.mse-installer" "Magic - Namecheck Export Template.mse-installer"

View File

@@ -0,0 +1,2 @@
[.ShellClassInfo]
LocalizedResourceName=@magic-namecheck.mse-export-template,0

View File

@@ -0,0 +1,62 @@
mse version: 2.0.0
short name: Name Check
full name: Name Check Exporter
position hint: 009
icon: icon.png
version: 2018-01-11
installer group: magic/Export/Name Check
depends on:
package: magic.mse-game
version: 2008-08-08
game: magic
create directory: false
file type: *.txt|*.txt|*.*|*.*
# By Pichoro
# Thanks to kiligir for the name list, and twanvl for fixing my code.
option field:
type: choice
name: info
description: This export template outputs a text list of cards that share names with real Magic cards.
choice: This export template outputs a text list of cards that share names with real Magic cards.
option field:
type: choice
name: more info
description: Ensure a nontoken card is selected before exporting to prevent errors.
choice: Ensure a nontoken card is selected before exporting to prevent errors.
option field:
type: boolean
name: check for artists
description: Should the exporter also check for cards without artists?
initial: no
script:
include file: namelist
# Because MSE gets mad when there are quotation marks in the card list, remove them for comparison.
quote_filter := replace@(match:"”", replace:"")+
replace@(match:"“", replace:"")+
replace@(match:"", replace:"'")
matches_name := { to_string(quote_filter(card.name)) } + match@(match: "^{name_list()}$")
matches_name_2 := { to_string(quote_filter(card.name_2)) } + match@(match: "^{name_list()}$")
near_matches_name := { to_string(quote_filter(card.name)) } + match@(match: "^{near_name_list()}$")
near_matches_name_2 := { to_string(quote_filter(card.name_2)) } + match@(match: "^{near_name_list()}$")
art_check := { options.check_for_artists and (card.illustrator == "" or card.illustrator == "([ ]+|[Uu]nknown|[?]+)")}
art_check_2 := { card.name_2 != "" and options.check_for_artists and (card.illustrator_2 == "" or card.illustrator_2 == "([ ]+|[Uu]nknown|[?]+)")}
write_card := {(if matches_name() then card.name + "\n" else "")
+ (if matches_name_2() then card.name_2 + "\n" else "")
}
write_card_2 := { (if art_check() then card.name + "\n" else "")
+ (if art_check_2() then card.name_2 + "\n" else "")
}
write_card_3 := {(if near_matches_name() and not matches_name() then card.name + "\n" else "")
+ (if near_matches_name_2() and not matches_name_2() then card.name_2 + "\n" else "")
}
write_cards := "----- Exact Matches -----\n\n" + to_text(for each card in cards do write_card()) + "----- Near Matches -----\n\n" + to_text(for each card in cards do write_card_3()) + (if options.check_for_artists then "\n\n-----No Illustrators-----\n\n" + to_text(for each card in cards do write_card_2()))
to_string(write_cards)

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,70 @@
mse version: 2.0.0
short name: Name Check
full name: Name Check Exporter
position hint: 009
icon: icon.png
version: 2014-02-04
installer group: magic/Export/Name Check
depends on:
package: magic.mse-game
version: 2008-08-08
game: magic
create directory: false
file type: *.txt|*.txt|*.*|*.*
# By Pichoro
# Thanks to kiligir for the name list, and twanvl for fixing my code.
option field:
type: choice
name: info
description: This export template outputs a text list of cards that share names with real Magic cards.
choice: This export template outputs a text list of cards that share names with real Magic cards.
script:
# Because MSE gets mad when there are quotation marks in the card list, remove them for comparison.
quote_filter := replace@(match:"”", replace:"")+
replace@(match:"“", replace:"")+
replace@(match:"[[.quotation-mark.]]", replace:"")
#
#
# Spacer because long blocks of code with lots of card names are long.
#
#
#
matches_name := { to_string(quote_filter(card.name)) } + match@(match: "^(list)$")
#
#
# Spacer because long blocks of code with lots of card names are long.
#
#
#
matches_name_2 := { to_string(quote_filter(card.name_2)) } + match@(match: "^(list$)")
#
#
# Spacer because long blocks of code with lots of card names are long.
#
#
#
similar_name := { to_string(quote_filter(card.name)) } + match@(match: "(list)")
#
#
# Spacer because long blocks of code with lots of card names are long.
#
#
#
similar_name_2 := { to_string(quote_filter(card.name_2)) } + match@(match: "(list)")
write_card := {if matches_name() or matches_name_2() then card.full_name + "\n" else ""}
write_card_2 := {if ( similar_name() or similar_name_2() ) and not ( matches_name() or matches_name_2() ) then card.full_name + "\n" else ""}
write_cards := "----- Exact Matches -----\n\n" + to_text(for each card in cards do write_card()) + "\n\n----- Similar Matches -----\n\n" + to_text(for each card in cards do write_card_2())
to_string(write_cards)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1,23 @@
1.) Obtain a fresh list from http://mjmj.info/data/o_list_ej.txt
2.) Open in Excel or OpenOffice.org Calc as a tab delimited file.
a.) Delete columns B & C, leaving only English names.
b.) Save and close.
3.) Open in Word or OpenOffice.org Writer.
a.) Use Find & Replace to search for "+". Delete all lines that have a + sign in them.
b.) Search for ""Assault"". There should be two lines of it. Delete one.
c.) Search for ""Battery"". There should be two lines of it. Delete one.
d.) Search for ""Fire"". There should be two lines of it. Delete one.
e.) Use Find & Replace to replace "$" with "|". You may need to turn on the Regular Expressions option under More Options.
f.) Use Find & Replace to replace """ with nothing, effectively deleting it.
g.) Save and close.
4.) Open in Notepad.
a.) Use Replace to replace all instances of "AE" with "Æ". Be sure to match case.
b.) Use Replace to replace all instances of "'" (straight apostrophe) with "" (curly apostrophe).
c.) Append various sections of "other card names" file to the end of the list of names, adding to the lists if necessary.
5.) Delete the export-template - Copy file.
6.) Make a backup copy of the export-template file by copying it and pasting it into the same folder.
7.) Delete original export-template (not the backup).
8.) Open "export-template without list" in Notepad.
a.) Replace each instance of "list" with the new card list you prepared in steps 2 through 4.
b.) Save as, and set format to UTF-8. Close.
d.) Remove ".txt" file extension from export-template.txt's filename.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,70 @@
mse version: 2.0.0
short name: Name Check
full name: Name Check Exporter
position hint: 009
icon: icon.png
version: 2014-02-04
installer group: magic/Export/Name Check
depends on:
package: magic.mse-game
version: 2008-08-08
game: magic
create directory: false
file type: *.txt|*.txt|*.*|*.*
# By Pichoro
# Thanks to kiligir for the name list, and twanvl for fixing my code.
option field:
type: choice
name: info
description: This export template outputs a text list of cards that share names with real Magic cards.
choice: This export template outputs a text list of cards that share names with real Magic cards.
script:
# Because MSE gets mad when there are quotation marks in the card list, remove them for comparison.
quote_filter := replace@(match:"”", replace:"")+
replace@(match:"“", replace:"")+
replace@(match:"[[.quotation-mark.]]", replace:"")
#
#
# Spacer because long blocks of code with lots of card names are long.
#
#
#
matches_name := { to_string(quote_filter(card.name)) } + match@(match: "^(list)$")
#
#
# Spacer because long blocks of code with lots of card names are long.
#
#
#
matches_name_2 := { to_string(quote_filter(card.name_2)) } + match@(match: "^(list$)")
#
#
# Spacer because long blocks of code with lots of card names are long.
#
#
#
similar_name := { to_string(quote_filter(card.name)) } + match@(match: "(list)")
#
#
# Spacer because long blocks of code with lots of card names are long.
#
#
#
similar_name_2 := { to_string(quote_filter(card.name_2)) } + match@(match: "(list)")
write_card := {if matches_name() or matches_name_2() then card.full_name + "\n" else ""}
write_card_2 := {if ( similar_name() or similar_name_2() ) and not ( matches_name() or matches_name_2() ) then card.full_name + "\n" else ""}
write_cards := "----- Exact Matches -----\n\n" + to_text(for each card in cards do write_card()) + "\n\n----- Similar Matches -----\n\n" + to_text(for each card in cards do write_card_2())
to_string(write_cards)

View File

@@ -0,0 +1,14 @@
-----Vanguard-----
|Ashnod|Barrin|Eladamri|Ertai|Gerrard|Gix|Greven il-Vec|Hanna|Karn|Lyna|Maraxus|Mirri|Mishra|Multani|Oracle|Orim|Rofellos|Selenia|Serra|Sidar Kondo|Sisay|Sliver Queen, Brood Mother|Squee|Starke|Tahngarth|Takara|Tawnos|Titania|Urza|Volrath|Xantcha
-----Planes-----
|Academy at Tolaria West|Agyrem|Bant|Cliffside Market|Eloren Wilds|Feeding Grounds|Fields of Summer|Glimmervoid Basin|Goldmeadow|Grixis|Immersturm|Isle of Vesuva|Izzet Steam Maze|Krosa|Lethe Lake|Llanowar|Minamo|Murasa|Naar Isle|Naya|Otaria|Panopticon|Pools of Becoming|Raven's Run|Sanctum of Serra|Sea of Sand|Shiv|Skybreen|Sokenzan|Stronghold Furnace|Tazeem|The Æther Flues|The Dark Barony|The Eon Fog|The Fourth Sphere|The Great Forest|The Hippodrome|The Maelstrom|Turri Island|Undercity Reaches|Velis Vel|Celestine Reef|Horizon Boughs|Mirrored Depths|Tember City|Chaotic Æther|Interplanar Tunnel|Morphic Tide|Mutual Epiphany|Planewide Disaster|Reality Shaping|Spatial Merging|Time Distortion|Akoum|Aretopolis|Astral Arena|Bloodhill Bastion|Edge of Malacol|Furnace Layer|Gavony|Glen Elendra|Grand Ossuary|Grove of the Dreampods|Hedron Fields of Agadeem|Jund|Kessig|Kharasha Foothills|Kilnspire District|Lair of the Ashen Idol|Mount Keralia|Nephalia|Norn's Dominion|Onakke Catacomb|Orochi Colony|Orzhova|Prahv|Quicksilver Sea|Selesnya Loft Gardens|Stensia|Takenuma|Talon Gates|Trail of the Mage-Rings|Truga Jungle|Windriddle Palaces|The Zephyr Mage|Stairs to Infinity
-----Schemes-----
A Display of My Dark Power.All in Good time.All Shall Smolder in My Wake.Approach My Molten Realm.Behold the Power of Destruction.Choose Your Champion.Dance, Pathetic Marionette.Embrace My Diabolical Vision.Every Hope Shall Vanish.Every Last Vestige Shall Rot.Evil Comes to Fruition.Feed the Machine.I Bask in Your Silent Awe.I Call on the Ancient Magics.I Delight in Your Convulsions.I Know All, I See All.Ignite the Cloneforge!.Into the Earthen Maw.Introductions Are in Order.Know Naught but Fire.Look Skyward and Despair.May Civilization Collapse.Mortal Flesh Is Weak.My Crushing Masterstroke.My Genius Knows No Bounds.My Undead Horde Awakens.My Wish Is Your Command.Nature Demands an Offering.Nature Shields Its Own.Nothing Can Stop Me Now.Only Blood Ends Your Nightmares.Realms Befitting My Majesty.Roots of All Evil.Rotted Ones, Lay Siege.Surrender Your Thoughts.The Dead Shall Serve.The Fate of the Flammable.The Iron Guardian Stirs.The Pieces Are Coming Together.The Very Soil Shall Shake.Tooth, Claw, and Tail.Which of You Burns Brightest?.Your Fate Is Thrice Sealed.Your Puny Minds Cannot Fathom.Your Will Is Not Your Own.Plots That Span Centuries.Perhaps You've Met My Cohort.Your Inescapable Doom.Drench The Soil In Their Blood.Imprison This Insolent Wretch
-----Happy Holidays Cards-----
|Fruitcake Elemental|Gifts Given|Evil Presents|Seasons Beatings|Snow Mercy|Yule Ooze|Naughty|Nice|Stocking Tiger
-----Other Cards-----
|Gleemox|1996 World Champion|Robot Chicken|Shichifukujin Dragon|Library of Alexandria