mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 10:16:41 -05:00
Idiotproofing
This commit is contained in:
@@ -285,9 +285,11 @@ private void mainMenuSave(object sender, EventArgs e)
|
||||
if (result == DialogResult.OK) // Test result.
|
||||
{
|
||||
string path = SavePKX.FileName;
|
||||
// Injection Dummy Override
|
||||
if (path.Contains("pokemon.ekx")) path = Path.GetDirectoryName(path) + Path.DirectorySeparatorChar + "pokemon.ekx";
|
||||
string ext = Path.GetExtension(path);
|
||||
|
||||
if (File.Exists(path))
|
||||
if (File.Exists(path) && !path.Contains("pokemon.ekx"))
|
||||
{
|
||||
// File already exists, save a .bak
|
||||
byte[] backupfile = File.ReadAllBytes(path);
|
||||
|
||||
@@ -452,6 +452,11 @@ http://projectpokemon.org/forums/showthread.php?36986
|
||||
- Fixed: Boxes are now always initialized with encrypted empty slots (for those without loaded saves).
|
||||
- Changed: Export Box descriptive text to be more obvious on what it was exporting. Access by clicking on the Save Manipulation label above Export SAV.
|
||||
|
||||
1/26/15 - New Update: (6200+)
|
||||
1/26/15 - New Update: (14000)
|
||||
- Added: injectiondebug.bin loading, by popular request.
|
||||
- Changed: Improved injectiondebug checking.
|
||||
- Update (b): Improved injectiondebug.bin loading to load all variants.
|
||||
- Update (c): Implemented box/pc import/export completely (future).
|
||||
|
||||
1/27/15 - New Update:
|
||||
- Fixed: Scatterbug / Spewpa form selection.
|
||||
- Changed: Saving "pokemon.ekx" will always export extracted and won't tack on extra extensions if you don't have the correct filter.
|
||||
Reference in New Issue
Block a user