Add support for Pascha3 Plus Contents

Two changes from Pastel Chime 3 (likely to make the executables
incompatible):

- SystemService.XXX function
- PartsEngine.Update() has two dummy string parameters
This commit is contained in:
kichikuou
2026-03-10 16:41:55 +09:00
parent 49ee259d2c
commit d93bb91d72
3 changed files with 23 additions and 1 deletions
+1
View File
@@ -78,6 +78,7 @@ issues, please let me know or open a pull request to update this table.
| ランス・クエスト マグナム | Supported | |
| 母娘乱館 | Unknown | |
| パステルチャイム3 バインドシーカー | Supported | |
| パスチャ3 プラスコンテンツ | Supported | |
| どらぺこ! ~おねだりドラゴンとおっぱい勇者~ | Unsupported | |
| ランス01 光をもとめて | Supported | |
| Rance 01 - Quest for Hikari (EN) | Supported | |
+10
View File
@@ -36,6 +36,11 @@ static void PartsEngine_Update(int passed_time, bool is_skip, bool message_windo
PE_Update(passed_time, message_window_show);
}
static void PartsEngine_Update_Pascha3PC(struct string *xxx1, struct string *xxx2, int passed_time, bool is_skip, bool message_window_show)
{
PE_Update(passed_time, message_window_show);
}
// Oyako Rankan
static bool PartsEngine_AddDrawCutCGToPartsConstructionProcess_old(int parts_no,
struct string *cg_name, int dx, int dy, int sx, int sy, int w, int h,
@@ -246,4 +251,9 @@ static void PartsEngine_PreLink(void)
static_library_replace(&lib_PartsEngine, "AddCopyCutCGToPartsConstructionProcess",
PE_AddCopyCutCGToPartsConstructionProcess);
}
fun = get_fun(libno, "Update");
if (fun && fun->nr_arguments == 5) {
static_library_replace(&lib_PartsEngine, "Update",
PartsEngine_Update_Pascha3PC);
}
}
+12 -1
View File
@@ -374,30 +374,40 @@ static void SystemService_RestrainScreensaver(void) { }
//static int SystemService_Debug_GetUseVideoMemorySize(void);
// Rance 01
static void SystemService_Rance0123456789(struct string **text)
{
*text = cstr_to_string("-RANCE010ECNAR-"); // ???
*text = cstr_to_string("-RANCE010ECNAR-");
}
// Rance 01 trial edition
static void SystemService_XXXXX01XXXXXXXX(struct string **text)
{
*text = cstr_to_string("RANCE01RANCEKAKKOII");
}
// Drapeko
static void SystemService_Test(struct string **text)
{
*text = cstr_to_string("DELETE ALL 758490275489207548093");
}
// Drapeko trial edition
static void SystemService_DRPKT(struct string **text)
{
*text = cstr_to_string("DRPKT QWERTY NUFUAUEO 75849027582754829");
}
// Rance 9
static void SystemService_Rance96161988(struct string **text) {
*text = cstr_to_string("=Rance99/RANCE99=");
}
// Pascha3 Plus Contents
static void SystemService_XXX(struct string **text) {
*text = cstr_to_string("FORMAT HDD ERASE 578205024758284076520478254092784789752384758204687293");
}
static void SystemService_PreLink(void);
static void SystemService_ModuleInit(void)
@@ -449,6 +459,7 @@ HLL_LIBRARY(SystemService,
HLL_TODO_EXPORT(Debug_GetUseVideoMemorySize, SystemService_Debug_GetUseVideoMemorySize),
HLL_EXPORT(Rance0123456789, SystemService_Rance0123456789),
HLL_EXPORT(XXXXX01XXXXXXXX, SystemService_XXXXX01XXXXXXXX),
HLL_EXPORT(XXX, SystemService_XXX),
HLL_EXPORT(Test, SystemService_Test),
HLL_EXPORT(DRPKT, SystemService_DRPKT),
HLL_EXPORT(Rance96161988, SystemService_Rance96161988)