Open KiritoCy opened 5 years ago
VNDB: https://vndb.org/v23741 Developer: Qruppo Engine: 椎名里猪 v2.50 Archive files: .WAR Thank you so much!
RioShiinaDump.zip This is a semi-automatic solution for Nukige Mitai na Shima ni Sunderu Watashi wa Dou Surya Ii Desu ka? 2. It will dump all files which are accessed by RioShiina 2.5 engine. If you want to use it to unpack specific files. You need generate a Dump file list. In Garbro repo, you can find how to decrypt file name in War file. Then modified the dumper function. Use CreateThread to create a Thread for dumping files.
RioShiinaDump.zip This is a semi-automatic solution for Nukige Mitai na Shima ni Sunderu Watashi wa Dou Surya Ii Desu ka? 2. It will dump all files which are accessed by RioShiina 2.5 engine. If you want to use it to unpack specific files. You need generate a Dump file list. In Garbro repo, you can find how to decrypt file name in War file. Then modified the dumper function. Use CreateThread to create a Thread for dumping files.
Just tried Your code and successfully extracted all 18241 NUKITASHI2 files. (Actually It is 18248 but 7 are duplicated file and no way to extract it separately) There were memory leak? problem and crashing when extracting files too fast. So I changed some of code.
Again Thank you for your code!
I'm sorry I'm new to programs and code. I would be grateful if anyone could teach me how to use RioShiinaDump.zip.
Thank jszhtian for the code!
@parasaite FYI, the following is how I use RioShiinaDump.zip
I also modified some code in dllmain.cpp
I'm stuck with an unfamiliar error. What should I do ?
It says detours.h cannot be opened. Seems like those header files are not included correctly. The following is my project setting. You may need to change the path according to your detours library location.
@yenting-chen Thanks for sharing how to use RioShiinaDump.zip. I have not been successful though and would like to ask a few questions.
I would like to know more about step 7. I wrote the following code, but I cannot launch NUKITASHI2.EXE.
#undef UNICODE
#include <iostream>
#include <windows.h>
#include <detours.h>
#pragma comment(lib, "detours.lib")
int main()
{
STARTUPINFO si;
PROCESS_INFORMATION pi;
ZeroMemory(&si, sizeof(si));
ZeroMemory(&pi, sizeof(pi));
si.cb = sizeof(si);
std::cout << "Hello World!\n";
if (!DetourCreateProcessWithDllEx(
"C:\\Program Files (x86)\\Qruppo\\抜きゲーみたいな島に住んでる貧乳はどうすりゃいいですか?2\\NUKITASHI2.EXE",
NULL, NULL, NULL, TRUE,
CREATE_DEFAULT_ERROR_MODE | CREATE_SUSPENDED,
NULL, NULL, &si, &pi,
"C:\\Users\\user\\source\\repos\\Meu\\Release\\Meu.dll", NULL))
std::cout << "failed\n";
else
std::cout << "success\n";
ResumeThread(pi.hThread);
WaitForSingleObject(pi.hProcess, INFINITE);
CloseHandle(&si);
CloseHandle(&pi);
}
By the way, I have probably done well up to step 6.
@Kyome22
Q: "list.txt" in step 2 Its path is defined in precheck(). It's probably in the working folder of NUKITASHI2.EXE. I changed it to absolute path when I use it.
Q: step 7 Your code is almost the same as mine. Maybe there is some problem in dll? BTW, I built x86 version. I don't know why, but x64 version doesn't work for me.
I will upload my modified version of dllmain.cpp for your reference. modified RioShiinaDump.zip Q: How to use the modified version of RioShiinaDump.zip?
What is the working folder of NUKITASHI2.EXE?
@parasaite
What is the working folder of NUKITASHI2.EXE?
It depends on how you run the game and the parameter of DetourCreateProcessWithDllEx(). Please refer to lpCurrentDirectory in https://github.com/microsoft/Detours/wiki/DetourCreateProcessWithDllEx For simplicity, you can just change the path of list.txt to an absolute path (in precheck() in dllmain.cpp).
@yenting-chen Thank you for replying. Thanks to the Zip source you attached, I have a solution! I have got to output all the OGG files I wanted.
@yenting-chen I am Japanese and I am not good at English. If possible, I would appreciate it if you could make a video of how to do it.
https://vndb.org/v23741 archives : .WAR It seems it uses a new updated encryption compared to the prequel since i can't even extract the script archives, can you update it plz? Thanks in advance ;)