Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

WZ [Release][Universal] HaRepacker - New version

Newbie Spellweaver
Joined
Jun 4, 2013
Messages
7
Reaction score
1
When I tested those sounds using GMS v135 with NoLifeStory, they were not mp3 data and libmpg123 would choke on them and refuse to play them. When I instead sent the data as is to the sound system as raw samples, it played just fine, although I manually had to specify sample rate and channel count.

Hmm... this makes me think that they were headerless waveform data files (e.g. those .WAV files without their headers) instead. If they were MP3 streams, you should have just gotten some noise instead.

Unless, you specified that the data is encoded as MP3. If you didn't have such an option, I suppose that we can assume that the system played the data as raw waveform data.

If that is the case, then yes... GMS has headerless, uncompressed audio data.
 
Newbie Spellweaver
Joined
Jun 25, 2013
Messages
39
Reaction score
0
Can someone help me with this error harepacker 3.5 :S
hel - [Release][Universal] HaRepacker - New version - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jun 25, 2013
Messages
39
Reaction score
0
Have you tried using the latest version of HaRepacker yet? A lot of things get changed in-between releases.

Also, please elaborate on what you're trying to do.
I open character.wz :/
I tried the newer version and I have a completely different issue >.>
 
Skilled Illusionist
Joined
Feb 15, 2013
Messages
323
Reaction score
10
For anyone having issues with wz files created by koolk's map editor but doesn't want to hassle with koolk-breaker, here is a quick patch that will fix everything magically.
Code:
From 50e753cb4bfac4a0912d7c15e5ecab461a429680 Mon Sep 17 00:00:00 2001
From: retep998 <retep998@verizon.net>
Date: Wed, 1 May 2013 00:27:08 -0400
Subject: [PATCH] Fixed issue with koolk files


Signed-off-by: retep998 <retep998@verizon.net>
---
 WzLib/WzFile.cs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


diff --git a/WzLib/WzFile.cs b/WzLib/WzFile.cs
index 2b3622f..df5c925 100644
--- a/WzLib/WzFile.cs
+++ b/WzLib/WzFile.cs
@@ -177,14 +177,15 @@ namespace MapleLib.WzLib
                 Helpers.ErrorLogger.Log(Helpers.ErrorLevel.Critical, "[Error] Path is null");
                 return;
             }
 
-            WzBinaryReader reader = new WzBinaryReader(File.Open(this.path, FileMode.Open), WzIv);
+            FileStream file = File.Open(this.path, FileMode.Open);
+            WzBinaryReader reader = new WzBinaryReader(file, 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();
+            file.Seek(this.Header.FStart, SeekOrigin.Begin);
             reader.ReadBytes((int)(Header.FStart - reader.BaseStream.Position));
             reader.Header = this.Header;
             this.version = reader.ReadInt16();
-- 
1.8.0.msysgit.0

what to do with that ?
 
Skilled Illusionist
Joined
Feb 15, 2013
Messages
323
Reaction score
10
1. Grab a copy of MapleLib2's source code using svn or git.
2. Use svn or git's built in patch applying tools to apply that patch
3. Build MapleLib2
4. ???
5. Profit

6. where i need to put it in what file name ? i got the source ! , but what file name ?
 
Last edited:
Newbie Spellweaver
Joined
May 20, 2015
Messages
9
Reaction score
0
It's unopenable, immediately after the popup to associate wz files with harepacker, windows gives me a message that 'harepacker has stopped working'.
 
Newbie Spellweaver
Joined
May 20, 2015
Messages
9
Reaction score
0
I did run it as admin, the same error pops up.

EDIT: Now it works, wtf, but it crashes on exporting skill.wz.
 
Initiate Mage
Joined
Sep 13, 2013
Messages
3
Reaction score
0
So... not supporting windows 10? ^_^

Edit: NVM, it was a problem on my own computer. Its working now ><
 
Last edited:
Newbie Spellweaver
Joined
Mar 9, 2010
Messages
70
Reaction score
11
I'm looking to see if anyone can update Harepacker to work with KMS/KMST (and soon to be GMS) now that they've added this skeletal system for mobs.

I spoke with Haha, this is what he said.

HMyP2gE - [Release][Universal] HaRepacker - New version - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Mar 9, 2010
Messages
70
Reaction score
11
1 month closer and only 1 month out from the skeletal animation engine addition to GMS. Has anyone made any progress on updating HaRepacker?
 
Newbie Spellweaver
Joined
Jul 12, 2015
Messages
9
Reaction score
0
For anyone having issues with wz files created by koolk's map editor but doesn't want to hassle with koolk-breaker, here is a quick patch that will fix everything magically.
Code:
From 50e753cb4bfac4a0912d7c15e5ecab461a429680 Mon Sep 17 00:00:00 2001
From: retep998 <retep998@verizon.net>
Date: Wed, 1 May 2013 00:27:08 -0400
Subject: [PATCH] Fixed issue with koolk files


Signed-off-by: retep998 <retep998@verizon.net>
---
 WzLib/WzFile.cs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


diff --git a/WzLib/WzFile.cs b/WzLib/WzFile.cs
index 2b3622f..df5c925 100644
--- a/WzLib/WzFile.cs
+++ b/WzLib/WzFile.cs
@@ -177,14 +177,15 @@ namespace MapleLib.WzLib
                 Helpers.ErrorLogger.Log(Helpers.ErrorLevel.Critical, "[Error] Path is null");
                 return;
             }
 
-            WzBinaryReader reader = new WzBinaryReader(File.Open(this.path, FileMode.Open), WzIv);
+            FileStream file = File.Open(this.path, FileMode.Open);
+            WzBinaryReader reader = new WzBinaryReader(file, 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();
+            file.Seek(this.Header.FStart, SeekOrigin.Begin);
             reader.ReadBytes((int)(Header.FStart - reader.BaseStream.Position));
             reader.Header = this.Header;
             this.version = reader.ReadInt16();
-- 
1.8.0.msysgit.0

How I'm using this code?
can someone build MapleLib2.dll for us
Please help
 
Back
Top