Comments (7)
This is still an alpha version and a concept release.
This error appears when the output path is not a full path or the file already exists.
Apparently, the registry value can not be read and the location of Mabinogi's directory seems to be in an incomplete state.
The output destination should be C:\Nexon\Mabinogi\packages\*.pack
, but it is \packages\*.pack
, which is probably an error.
from mabipack.
yea, i realize this is alpha so bugs/errors are expected, just letting you know so you can improve things.
for NA nexon launcher the default path is now C:\Nexon\Library\mabinogi\appdata\packages\ and for NA steam launcher the path is C:\Program Files (x86)\Steam\steamapps\common\Mabinogi\packages\ and the NA registry path is the same as before HKEY_LOCAL_MACHINE\Software\Nexon\Mabinogi\
from mabipack.
Is it HKEY_LOCAL_MACHINE?
Since only HKEY_CURRENT_USER was checked, I made a scan for that one in this commit.
An error has been made to raise an exception due to a defect in the specification of the packing directory or unpacking file or output destination.
The error handling here has not been done yet, but I think that a somewhat clear error message will come out.
from mabipack.
oops, sorry your right is HKEY_CURRENT_USER as shown in the picture.
checking latest commit now.
from mabipack.
changing these in MabiEnvironment.cs fixed the problem
using (RegistryKey regkey = Registry.CurrentUser.OpenSubKey(key, false))
{
if (regkey != null)
{
return (string)regkey.GetValue("");
}
}
}
foreach (string key in RegistoryKeys)
{
using (RegistryKey regkey = Registry.CurrentUser.OpenSubKey(key, false))
{
if (regkey != null)
{
return (string)regkey.GetValue("");
I guess the NA registry no longer has ExecutablePath, but as far as i remember the path has always been (Default) which is just a blank "" key
also version is now working too, so your doing great!
from mabipack.
Does it mean that it is not HKEY_LOCAL_MACHINE after all?
At least for Japanese clients, the default key does not have a value, so if it can not be read from ExecutablePath or LauncherPath, it will be acquired from there.
from mabipack.
yea, sorry it's HKEY_CURRENT_USER and remove ExecutablePath
from mabipack.
Related Issues (9)
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 mabipack.