Migrate depreciated frames

This commit is contained in:
cajun
2024-01-05 12:03:05 -06:00
parent 0ce2f4d1fd
commit 06231af1ff
4568 changed files with 2 additions and 40958 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,70 +0,0 @@
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

@@ -1,23 +0,0 @@
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

View File

@@ -1,70 +0,0 @@
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)