@ -102,6 +102,19 @@ namespace {
SKSEPluginLoad ( const LoadInterface * skse ) {
std : : string filenames [ 4 ] = {
" fs.dll " ,
" fs_se.dll " ,
" fs_skse_functions.dll " ,
" FlatMapMarkersEnderal.dll "
} ;
for ( int i = 0 ; i < 4 ; i + + ) {
if ( std : : filesystem : : exists ( std : : format ( " Data \\ SKSE \\ Plugins \\ {} " , filenames [ i ] ) ) ) {
MessageBoxA ( NULL , std : : format ( " Found a leftover file from a previous version of Enderal SE. Please, delete Data \\ SKSE \\ Plugins \\ {}. " , filenames [ i ] ) . c_str ( ) , " Error " , MB_OK | MB_ICONERROR ) ;
exit ( EXIT_FAILURE ) ;
}
}
if ( DataFileExists ( " Dawnguard.esm " ) | | DataFileExists ( " Dragonborn.esm " ) | | DataFileExists ( " HearthFires.esm " ) | | DataFileExists ( " Update.esm " ) ) {
MessageBoxW ( NULL , L " Skyrim DLCs are incompatible with Enderal. " , L " Error " , MB_OK | MB_ICONERROR ) ;
exit ( EXIT_FAILURE ) ;