(semi-tested) ManMan JA translation, config inis replacing templates, downgrade DivaSound and upgrade DivaMovie, fixes
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
namespace TLAC::Components
|
||||
{
|
||||
const std::string COMPONENTS_CONFIG_FILE_NAME = "components.ini";
|
||||
const std::string COMPONENTS_CONFIG_FILE_NAME = "..\\plugins_config\\components.ini";
|
||||
|
||||
// Incomplete type
|
||||
struct DwGuiDisplay
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace TLAC::Components
|
||||
virtual void UpdateInput() override;
|
||||
|
||||
private:
|
||||
const std::string COMPONENTS_CONFIG_FILE_NAME = "components.ini";
|
||||
const std::string COMPONENTS_CONFIG_FILE_NAME = "..\\plugins_config\\components.ini";
|
||||
int updatesPerFrame = 39;
|
||||
|
||||
GameState currentGameState;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "../Pause.h"
|
||||
#include "../../Utils.h"
|
||||
|
||||
const std::string KEY_CONFIG_FILE_NAME = "keyconfig.ini";
|
||||
const std::string KEY_CONFIG_FILE_NAME = "..\\plugins_config\\keyconfig.ini";
|
||||
|
||||
using namespace TLAC::Input;
|
||||
using namespace TLAC::Input::KeyConfig;
|
||||
|
||||
@@ -19,7 +19,7 @@ using namespace TLAC::Utilities;
|
||||
|
||||
namespace TLAC::Components
|
||||
{
|
||||
const std::string KEY_CONFIG_FILE_NAME = "keyconfig.ini";
|
||||
const std::string KEY_CONFIG_FILE_NAME = "..\\plugins_config\\keyconfig.ini";
|
||||
|
||||
TouchSliderEmulator* TouchSliderEmulator::LatestInstance;
|
||||
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace TLAC::Components
|
||||
panelState = (TouchPanelState*)TASK_TOUCH_ADDRESS;
|
||||
componentsManager = manager;
|
||||
|
||||
TLAC::FileSystem::ConfigFile config(TLAC::framework::GetModuleDirectory(), "keyconfig.ini");
|
||||
TLAC::FileSystem::ConfigFile config(TLAC::framework::GetModuleDirectory(), "\\..\\plugins_config\\keyconfig.ini");
|
||||
config.OpenRead();
|
||||
autoPause = config.GetBooleanValue("autopause");
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <windows.h>
|
||||
#include "GameState.h"
|
||||
|
||||
const std::string PLAYER_DATA_FILE_NAME = "playerdata.ini";
|
||||
const std::string PLAYER_DATA_FILE_NAME = "..\\plugins_config\\playerdata.ini";
|
||||
static WCHAR configPath[256];
|
||||
int* headitemequip = (int*)0x0000000141804CDC;
|
||||
int customheaditemequip;
|
||||
@@ -237,7 +237,7 @@ namespace TLAC::Components
|
||||
config.TryGetValue("level_name", &customPlayerData->LevelName);
|
||||
|
||||
// ScoreSaver copies & declaring non-playerdata values
|
||||
std::string utf8path = TLAC::framework::GetModuleDirectory() + "/playerdata.ini";
|
||||
std::string utf8path = TLAC::framework::GetModuleDirectory() + "\\..\\plugins_config\\playerdata.ini";
|
||||
MultiByteToWideChar(CP_UTF8, 0, utf8path.c_str(), -1, configPath, 256);
|
||||
|
||||
customPlayerData->LevelNum = config.GetIntegerValue("level");
|
||||
|
||||
@@ -18,15 +18,15 @@ namespace TLAC::Components
|
||||
WCHAR ScoreSaver::sfx_configPath[256];
|
||||
ScoreSaver::ScoreSaver()
|
||||
{
|
||||
std::string utf8path = TLAC::framework::GetModuleDirectory() + "/scores.ini";
|
||||
std::string utf8path = TLAC::framework::GetModuleDirectory() + "../plugins_config/scores.ini";
|
||||
MultiByteToWideChar(CP_UTF8, 0, utf8path.c_str(), -1, configPath, 256);
|
||||
utf8path = TLAC::framework::GetModuleDirectory() + "/rivalscores.ini";
|
||||
utf8path = TLAC::framework::GetModuleDirectory() + "../plugins_config/rivalscores.ini";
|
||||
MultiByteToWideChar(CP_UTF8, 0, utf8path.c_str(), -1, rival_configPath, 256);
|
||||
utf8path = TLAC::framework::GetModuleDirectory() + "/pv_equip/modules.ini";
|
||||
utf8path = TLAC::framework::GetModuleDirectory() + "../plugins_config/pv_equip/modules.ini";
|
||||
MultiByteToWideChar(CP_UTF8, 0, utf8path.c_str(), -1, modules_configPath, 256);
|
||||
utf8path = TLAC::framework::GetModuleDirectory() + "/pv_equip/skins.ini";
|
||||
utf8path = TLAC::framework::GetModuleDirectory() + "../plugins_config/pv_equip/skins.ini";
|
||||
MultiByteToWideChar(CP_UTF8, 0, utf8path.c_str(), -1, skins_configPath, 256);
|
||||
utf8path = TLAC::framework::GetModuleDirectory() + "/pv_equip/sfx.ini";
|
||||
utf8path = TLAC::framework::GetModuleDirectory() + "../plugins_config/pv_equip/sfx.ini";
|
||||
MultiByteToWideChar(CP_UTF8, 0, utf8path.c_str(), -1, sfx_configPath, 256);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user