Comments (8)
When using
version.dll
to extract .xp3 archives shipped with ATRI -My Dear Moments- (Steam version), the game failed to start and an information dialog popped up sayingCannot convert the variable type ((void) to Object)
(screenshot attached below).I provide a debug log that might help locate the source of the problem: debug.log
Nope, Atri is not Wamsoft's encryption, so it won't work
Instead, use krkrextract or GARbro mod
When using GARbro mod, choose "Atri" encryption scheme
from kirikiritools.
@Cosetto Thank you! I looked into this a bit and now believe that this is a bug in the code.
This is caused by the patcher indiscriminately redirecting all storage media, including steam
:
00000220 3.46347475 [4700] Redirecting steam://./savecheck to file://./d/Program Files (x86)/Steam/steamapps/common/ATRI -My Dear Moments-/unencrypted/savecheck
00000221 3.46351171 [4700] Redirecting steam://./savecheck to file://./d/Program Files (x86)/Steam/steamapps/common/ATRI -My Dear Moments-/unencrypted/savecheck
Which can be fixed by changing the code to not hook the storage media steam
.
However, after fixing this problem, another problem arised when I tried to press the start button in the game (see the following screenshot):
Which seems to result from the patcher failing to extract the file archive://data.xp3/image/bgmtitle/tw/bgmtitle_bgm01_tw.png
when the folder unencrypted/image/bgmtitle/tw
cannot be created because Directory::Create
isn't recursive and its parent folder wasn't created beforehand.
I'll open a PR that fixes these two bugs soon.
from kirikiritools.
@Cosetto Thank you! I looked into this a bit and now believe that this is a bug in the code.
This is caused by the patcher indiscriminately redirecting all storage media, including
steam
:00000220 3.46347475 [4700] Redirecting steam://./savecheck to file://./d/Program Files (x86)/Steam/steamapps/common/ATRI -My Dear Moments-/unencrypted/savecheck 00000221 3.46351171 [4700] Redirecting steam://./savecheck to file://./d/Program Files (x86)/Steam/steamapps/common/ATRI -My Dear Moments-/unencrypted/savecheck
Which can be fixed by changing the code to not hook the storage media
steam
.However, after fixing this problem, another problem arised when I tried to press the start button in the game (see the following screenshot):
Which seems to result from the patcher failing to extract the file
archive://data.xp3/image/bgmtitle/tw/bgmtitle_bgm01_tw.png
when the folderunencrypted/image/bgmtitle/tw
cannot be created becauseDirectory::Create
isn't recursive and its parent folder wasn't created beforehand.I'll open a PR that fixes these two bugs soon.
No man, he made it to extract game with Wamsoft encryption only. I remember he said if you can extract the game with another tool, then there's no point to do that. Games like Atri are CxEncryption and Wamsoft is HxEncryption. Example of Wamsoft
Furthermore, this tool only extract file by file when you play through the game, while krkrextract and GARbro extract all files at once.
from kirikiritools.
I understand your point and indeed GARbro worked very well for my use case, but I feel that these bugs are so generic that people may run into them sooner or later, even with games that use Wamsoft encryption :P
from kirikiritools.
Does it have bug on Wamsoft too? If it's a yes, it will be great if you can fix. I have only seen people use this to translate games with CxCrypt until now, I mean there's no point of extracting file by file of CxCrypt when we have other tools to extract all at once, right?
from kirikiritools.
Yes, I get your point. Perhaps someone can try the tool out with their games from Steam that use Wamsoft encryption. I would expect the same result if the game also utilizes Steam API for cloud storage.
from kirikiritools.
Actually, you can remove the embed things of steam in the exe like this
Then others tool will work fine
from kirikiritools.
No man, he made it to extract game with Wamsoft encryption only.
I didn't, really. The feature was indeed originally made for dealing with recent Wamsoft games, but that doesn't mean it's limited to those. The extraction method is completely generic and independent of the specific encryption used.
@yescallop Thank you for the PR.
from kirikiritools.
Related Issues (16)
- Error using KirikiriUnenecryptedArchive HOT 1
- Error extracting trial version of upcoming games HOT 4
- Cannot extract data of "Kami-sama no You na Kimi e - Extended Edition" HOT 11
- Update for version.dll HOT 2
- Work on Linux HOT 1
- Encoding/character problems using Xp3Pack. HOT 2
- How do you use this thing? HOT 1
- narrow string to wide string HOT 1
- Path collisions when extracting archives HOT 1
- unencrypted folder failed? HOT 1
- Is it possible to force kirikiri games to use unpacked script files? HOT 1
- game crash after close when use Locale.Emulator with jap language HOT 4
- kirikiroid2-version.dll HOT 1
- Support for new KiriKiriZ version with more complex protection HOT 21
- Rescramble .dat file HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kirikiritools.