Comments (2)
I'll add EMS to that drop-down too!
I kinda suspect that both EMS and MSEA is really just a single development team and it make sense that it shares the same key.
There are many hints of that in the MSEA client, including a full-working EMS launcher that can be enabled by just changing an instruction during startup..
As for the detection of keys, I dont think it is feasible as it will take far too much time to load the latest version of MapleStory (v180++).
Here's why:
The AES keys are tied to the IV, user key (which is also used for packet encryption) and the MS version number.
Harepacker have no knowledge of the version number, aside from the IV and user key. It needs to be tested from 0~200 (whatever the latest ver is)..
internal bool ParseMainWzDirectory(out string parseErrorMessage, bool lazyParse = false)
{
WzBinaryReader reader = new WzBinaryReader(File.Open(this.path, FileMode.Open, FileAccess.Read, FileShare.Read), WzIv);
this.Header = new WzHeader();
this.Header.Ident = reader.ReadString(4);
this.Header.FSize = reader.ReadUInt64();
this.Header.FStart = reader.ReadUInt32();
this.Header.Copyright = reader.ReadNullTerminatedString();
reader.ReadBytes((int)(Header.FStart - reader.BaseStream.Position));
reader.Header = this.Header;
this.version = reader.ReadInt16();
if (mapleStoryPatchVersion == -1)
{
const short MAX_PATCH_VERSION = 10000; // wont be reached for the forseeable future.
for (int j = 0; j < MAX_PATCH_VERSION; j++)
{
this.mapleStoryPatchVersion = (short)j;
this.versionHash = GetVersionHash(version, mapleStoryPatchVersion);
if (this.versionHash == 0)
{
continue;
}
public static WzMutableKey GenerateWzKey(byte[] WzIv)
{
return new WzMutableKey(WzIv, CryptoConstants.getTrimmedUserKey());
}
from harepacker-resurrected.
Thanks for your input. I'm closing the issue. I sent you a message on Twitter regarding this project, please add me on Discord instead if you prefer: Fraysa#2832.
from harepacker-resurrected.
Related Issues (20)
- Cannot read KMS 1.2.373
- HaCreator error
- Cannot convert WZ to XML HOT 1
- KMS v362 Map.wz edited file gets corrupted(?) when saving.
- GMS v241.2 reports file damaged in character select menu HOT 2
- Analyze Error HOT 1
- . HOT 2
- import WzBinaryProperty Error HOT 1
- I am attempting to export the CMS v79 version wz file as GMSv83 HOT 1
- KMST 2023-06-10 - Fails to access .wz files HOT 3
- I add the "user" node in homemade map then open it with HaCreator and get a "Backup failed" error.
- Fix linked image for old MapleStory ver. (Request to remove all _hash nodes) HOT 1
- [HaCreator] Saving maps to a new id doesn't work HOT 1
- Forced sorting on save breaks wz files HOT 7
- Handle error overwriting WZ file
- cannot read _outlink image HOT 1
- HAM map saving fails when unsupportedInfoProperties isn't empty HOT 1
- error in kms 1.2.373 HOT 1
- The character position and skin are wrong after saving Character.wz HOT 3
- About the _Canvas folder HOT 2
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 harepacker-resurrected.