SVEtool
SVEtool
2 '
' Created by CirothUngol for CCGHQ Shandalar Forums '
' updated July 21, 2015 '
'''''''''''''''''''''''''''''''''''''''''''''''''''''
This little tool allows users to inject cards into the Libraries and Decks of
Shandalar SVE save files, as well as provide easy access to the most common
game settings. Cards are matched by CardName (taken from the appropriate
'cards.dat' file) and should be entered into the editor using the format
'Qty CardName'. If quantity is ommitted, 1 is assumed. All lines in the editor
beginning with a semi-colon (;) will be ignored. All lines in the editor
beginning with a period (.) will have their first word removed. This makes it
compatible with all Shandalar and Manalink DCK files.
1) Select the tab you wish to inject into (Library or Deck 1-3). You may click
'Show' to examine current contents and 'Clear Library' to remove all cards.
2) Enter any number of 'Qty CardName' lines into the Text Editor. The 'Load'
and 'Find' buttons are useful here, or you can just type or paste them in.
3) Click 'Check Cards' to verify their availablity in Shandalar. The 'Alpha'
button may be used to help remember cards and find their correct spelling.
If injecting into a Deck, only needed cards will be added to the Library.
4) Make any further adjustments to Gold, Amulets, World Magics, etc and click
'-=> *' to save all Settings and inject Cards into the Library or Deck.
5) Afterwards, click 'Clear' to empty the Text Editor and click 'Show' to
display the contents and verify that the cards were injected properly.
Notes:
------
To save settings without adding cards:
Choose 'Library' Tab, Click 'Clear', Click '-=> Library'
To clear a deck (and save all other settings):
Choose 'Deck 1-3' Tab, Click 'Clear', Click '-=> Deck 1-3'
To select a new Shandalar install:
Choose 'File' menu option, select 'Load Exe'
The 'CSV\Export' Menu Option will create CSV files containing info pulled from
the Shandalar.exe\Magic.exe and MAGIC*.SVE files. These may then be edited
and the changes incorporated by using the 'CSV\Import' Menu Option. The entire
SVE file is extracted to CSV and all of the settings known to this author are
labeled appropriately, else they are labeled as 'Unknown' or by Hex Address.
If 'Shandalar.dll' is present in the program folder (indicating Korath's
version) then 'Magic.exe' is used to create '.Cards.csv', but SVEtool never
alters the file 'Magic.exe' (but WILL import to 'Shandalar.exe'). Simply
remove any CSV files to prevent them from being imported to the SVE\EXE.
1 legends
2 promotional
4 restricted (not consistent)
8 unlimited/revised
10 unused
5 colour
1 black
2 blue
3 artifact
4 gold
5 green
6 land
7 red
8 white
6 type
1 artifact
2 enchantment
3 instant
4 interrupt
5 land
6 sorcery
7 creature
8 token
7 subtype (for enchantments and creatures, see Menus.txt)
8 type string address
9 utility category ("life gain" etc., not consistent, probably unused)
0 none
1 ante card
2 card stealing
3 counter
4 direct damage
5 discard
6 card drawing
7 life gain
8 damage prevention
9 land destruction/manipulation
A mana source
B bounce/untap manipulation/nettling/tapping/manabarbs
C pumping
10 rarity
1 common
2 rare
3 dungeon card/astral/promotional
4 uncommon
11-13 casting cost (1st byte colourless, 2nd black, 3rd blue,
4th "brown" (Mishra's Workshop), 5th "gold", 6th green,
7th "land", 8th red, 9th white)
14 unused
15 unused
16 unused
17 artist (see Menus.txt)
18 number of card images
19 unused
20 wvl thingy string address 1
21 wvl thingy string address 2
22 wvl thingy string address 3
23 wvl thingy string address 4
24 unused
25 unused
26 unused
27 unused
28 unused
29 ? (always 1)
30 rules text string address
31 flavour text string address
32 power
33 toughness
34 number of abilities
35-36 abilities
1 banding
2 desertwalk
3 first strike
4 flying
5 forestwalk
6 free action
7 islandwalk
8 legendary landwalk
9 mountainwalk
A plainswalk
B poison
C prot black
D prot red
E prot white
F quick draw
10 rampage
11 regeneration
12 stoning
13 swampwalk
14 trample
15 web
16 gives banding
17 gives first strike
18 gives flying
19 gives forestwalk
1A gives free action
1B gives islandwalk
1C gives mountainwalk
1D gives plainswalk
1E gives prot artifacts
1F gives prot black
20 gives prot blue
21 gives prot green
22 gives prot red
23 gives prot white
24 gives quick draw
25 gives rampage
26 gives regeneration
27 gives stoning
28 gives swampwalk
29 gives trample
2A gives web
37 poison/rampage specs
38 regeneration cost string address
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
01 swap enemy
133-136 reward
1 life carry over
2 unused (teleported)
4 win random card
8 extra gold
10 first strike in next duel
20 my card in next duel
40 card of choice (selector)
80 random artifact in next duel
Deckdll.dll: 30E78
Magic.exe: 178CF8
1-4 card number
5-8 status
1 ante
2 restricted
4 banned