| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
|
| 7 |
#define DIR_SEP "/" |
| 8 |
#define DIR_SEP_CHR '/' |
| 9 |
|
| 10 |
|
| 11 |
#define ROOT_DIR "." |
| 12 |
|
| 13 |
|
| 14 |
#ifdef _WIN32 |
| 15 |
#define NORMAL_USER_DIR "Dolphin Emulator" |
| 16 |
#elif defined(__APPLE__) |
| 17 |
#define NORMAL_USER_DIR "Library/Application Support/Dolphin" |
| 18 |
#elif defined(ANDROID) |
| 19 |
#define NORMAL_USER_DIR "/sdcard/dolphin-emu" |
| 20 |
#else |
| 21 |
#define NORMAL_USER_DIR "dolphin-emu" |
| 22 |
#endif |
| 23 |
|
| 24 |
|
| 25 |
#ifdef _WIN32 |
| 26 |
#define PORTABLE_USER_DIR "User" |
| 27 |
#elif defined(__APPLE__) |
| 28 |
#define PORTABLE_USER_DIR "User" |
| 29 |
#define EMBEDDED_USER_DIR "Contents/Resources/User" |
| 30 |
#else |
| 31 |
#define PORTABLE_USER_DIR "user" |
| 32 |
#define EMBEDDED_USER_DIR PORTABLE_USER_DIR |
| 33 |
#endif |
| 34 |
|
| 35 |
|
| 36 |
#define NOMEDIA_FILE ".nomedia" |
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
#define EUR_DIR "EUR" |
| 41 |
#define USA_DIR "USA" |
| 42 |
#define JAP_DIR "JAP" |
| 43 |
#define JPN_DIR "JPN" |
| 44 |
#define DEV_DIR "DEV" |
| 45 |
|
| 46 |
|
| 47 |
#define GC_USER_DIR "GC" |
| 48 |
#define GBA_USER_DIR "GBA" |
| 49 |
#define WII_USER_DIR "Wii" |
| 50 |
#define TRI_USER_DIR "Triforce" |
| 51 |
#define CONFIG_DIR "Config" |
| 52 |
#define GAMESETTINGS_DIR "GameSettings" |
| 53 |
#define MAPS_DIR "Maps" |
| 54 |
#define CACHE_DIR "Cache" |
| 55 |
#define COVERCACHE_DIR "GameCovers" |
| 56 |
#define REDUMPCACHE_DIR "Redump" |
| 57 |
#define SHADERCACHE_DIR "Shaders" |
| 58 |
#define RETROACHIEVEMENTSCACHE_DIR "RetroAchievements" |
| 59 |
#define STATESAVES_DIR "StateSaves" |
| 60 |
#define SCREENSHOTS_DIR "ScreenShots" |
| 61 |
#define LOAD_DIR "Load" |
| 62 |
#define HIRES_TEXTURES_DIR "Textures" |
| 63 |
#define RIIVOLUTION_DIR "Riivolution" |
| 64 |
#define DUMP_DIR "Dump" |
| 65 |
#define DUMP_TEXTURES_DIR "Textures" |
| 66 |
#define DUMP_FRAMES_DIR "Frames" |
| 67 |
#define DUMP_OBJECTS_DIR "Objects" |
| 68 |
#define DUMP_AUDIO_DIR "Audio" |
| 69 |
#define DUMP_DSP_DIR "DSP" |
| 70 |
#define DUMP_SSL_DIR "SSL" |
| 71 |
#define DUMP_DEBUG_DIR "Debug" |
| 72 |
#define DUMP_DEBUG_BRANCHWATCH_DIR "BranchWatch" |
| 73 |
#define DUMP_DEBUG_JITBLOCKS_DIR "JitBlocks" |
| 74 |
#define LOGS_DIR "Logs" |
| 75 |
#define SHADERS_DIR "Shaders" |
| 76 |
#define WII_SYSCONF_DIR "shared2" DIR_SEP "sys" |
| 77 |
#define WII_WC24CONF_DIR "shared2" DIR_SEP "wc24" |
| 78 |
#define RESOURCES_DIR "Resources" |
| 79 |
#define THEMES_DIR "Themes" |
| 80 |
#define STYLES_DIR "Styles" |
| 81 |
#define GBASAVES_DIR "Saves" |
| 82 |
#define ANAGLYPH_DIR "Anaglyph" |
| 83 |
#define PASSIVE_DIR "Passive" |
| 84 |
#define PIPES_DIR "Pipes" |
| 85 |
#define MEMORYWATCHER_DIR "MemoryWatcher" |
| 86 |
#define WFSROOT_DIR "WFS" |
| 87 |
#define BACKUP_DIR "Backup" |
| 88 |
#define RESOURCEPACK_DIR "ResourcePacks" |
| 89 |
#define DYNAMICINPUT_DIR "DynamicInputTextures" |
| 90 |
#define GRAPHICSMOD_DIR "GraphicMods" |
| 91 |
#define FIRMWARE_DIR "Firmware" |
| 92 |
#define WIISDSYNC_DIR "WiiSDSync" |
| 93 |
#define ASSEMBLY_DIR "SavedAssembly" |
| 94 |
#define WIIBANNERS_DIR "WiiBanners" |
| 95 |
|
| 96 |
|
| 97 |
#define SHADERCACHE_LEGACY_DIR "ShaderCache" |
| 98 |
|
| 99 |
|
| 100 |
#define DEFAULT_THEME_DIR "Clean" |
| 101 |
|
| 102 |
|
| 103 |
|
| 104 |
#define DOLPHIN_CONFIG "Dolphin.ini" |
| 105 |
#define GCPAD_CONFIG "GCPadNew.ini" |
| 106 |
#define WIIPAD_CONFIG "WiimoteNew.ini" |
| 107 |
#define GCKEYBOARD_CONFIG "GCKeyNew.ini" |
| 108 |
#define GFX_CONFIG "GFX.ini" |
| 109 |
#define LOGGER_CONFIG "Logger.ini" |
| 110 |
#define DUALSHOCKUDPCLIENT_CONFIG "DSUClient.ini" |
| 111 |
#define FREELOOK_CONFIG "FreeLook.ini" |
| 112 |
#define RETROACHIEVEMENTS_CONFIG "RetroAchievements.ini" |
| 113 |
|
| 114 |
|
| 115 |
#define MAIN_LOG "dolphin.log" |
| 116 |
|
| 117 |
|
| 118 |
#define WII_SYSCONF "SYSCONF" |
| 119 |
|
| 120 |
|
| 121 |
#define MEM1_DUMP "mem1.raw" |
| 122 |
#define MEM2_DUMP "mem2.raw" |
| 123 |
#define ARAM_DUMP "aram.raw" |
| 124 |
#define FAKEVMEM_DUMP "fakevmem.raw" |
| 125 |
|
| 126 |
|
| 127 |
#define MEMORYWATCHER_LOCATIONS "Locations.txt" |
| 128 |
#define MEMORYWATCHER_SOCKET "MemoryWatcher" |
| 129 |
|
| 130 |
|
| 131 |
#define TOTALDB "totaldb.dsy" |
| 132 |
|
| 133 |
#define FONT_WINDOWS_1252 "font_western.bin" |
| 134 |
#define FONT_SHIFT_JIS "font_japanese.bin" |
| 135 |
|
| 136 |
#define DSP_IROM "dsp_rom.bin" |
| 137 |
#define DSP_COEF "dsp_coef.bin" |
| 138 |
|
| 139 |
#define GC_IPL "IPL.bin" |
| 140 |
#define GC_SRAM "SRAM.raw" |
| 141 |
#define GC_MEMCARDA "MemoryCardA" |
| 142 |
#define GC_MEMCARDB "MemoryCardB" |
| 143 |
#define GC_MEMCARD_NETPLAY "NetPlayTemp" |
| 144 |
|
| 145 |
#define GBA_BIOS "gba_bios.bin" |
| 146 |
#define GBA_SAVE_NETPLAY "NetPlayTemp" |
| 147 |
|
| 148 |
#define WII_STATE "state.dat" |
| 149 |
|
| 150 |
#define WII_SD_CARD_IMAGE "WiiSD.raw" |
| 151 |
#define WII_BTDINF_BACKUP "btdinf.bak" |
| 152 |
|
| 153 |
#define WII_SETTING "setting.txt" |
| 154 |
|
| 155 |
#define GECKO_CODE_HANDLER "codehandler.bin" |
| 156 |
|
| 157 |
|
| 158 |
#define GC_SYS_DIR "GC" |
| 159 |
#define WII_SYS_DIR "Wii" |
| 160 |
#define TRI_SYS_DIR "Triforce" |
| 161 |
|
| 162 |
|
| 163 |
#define GRAPHICSMOD_CONFIG_DIR "GraphicMods" |
| 164 |
|
| 165 |
|
| 166 |
#define GPU_DRIVERS "GpuDrivers" |
| 167 |
#define GPU_DRIVERS_EXTRACTED "Extracted" |
| 168 |
#define GPU_DRIVERS_TMP "Tmp" |
| 169 |
#define GPU_DRIVERS_HOOK "Hook" |
| 170 |
#define GPU_DRIVERS_FILE_REDIRECT "FileRedirect" |