how to restore your db? i got these error.. TNX!! [Only registered and activated users can see links. Click Here To Register...]Quote:
[Only registered and activated users can see links. Click Here To Register...]
Small size hero dbase (uploaded by visual57) ... pls be aware that this db contain lots of bug and you need to fix missing part :D
As for client use nexus rohan (1.0.5.1 dgamerz) ...
As for missing map/object error like missing ele pattern ... you can use Gel/gem Extractor (from xentax)
C#: console project and cpase/modify the following code ..
note: bug with .monster file.. use old .monster or you can just modify yourself... just look at pattern.Code:static void Main(string[] args) { string _srcGel = "D:\\NexusRohan\\res\\world.gel";// edit this part string _srcGem = "D:\\NexusRohan\\res\\world.gem";// edit this part string _srcDest = "D:\\GelGemExtract\\world\\";// edit this part using (FileStream fsGel = new FileStream(_srcGel, FileMode.Open, FileAccess.Read)) { using (BinaryReader brGel = new BinaryReader(fsGel)) { int m_ID = brGel.ReadInt32(); int m_Version = brGel.ReadInt32(); int m_MaxAllocFileNum = brGel.ReadInt32(); int m_MissingFileSize = brGel.ReadInt32(); int m_Reserved = brGel.ReadInt32(); int m_Reserved1 = brGel.ReadInt32(); int _pos = 0; while (brGel.BaseStream.Position < brGel.BaseStream.Length ) { int i1 = brGel.ReadInt32(); int i2 = brGel.ReadInt32(); byte[] filename = brGel.ReadBytes(128); int i3 = brGel.ReadInt32(); int startOffset = brGel.ReadInt32(); int dataSize = brGel.ReadInt32(); int i6 = brGel.ReadInt32(); using (FileStream fsGem = new FileStream(_srcGem, FileMode.Open, FileAccess.Read)) { using (BinaryReader brGem = new BinaryReader(fsGem)) { string _s1 = Encoding.UTF8.GetString(filename); _s1 = _s1.Substring(0, _s1.IndexOf("\0")); if (!_s1.EndsWith(".gbf")) { int _spos1 = _s1.LastIndexOf("\\"); string _pth = _srcDest + _s1.Substring(0, _spos1); if (!System.IO.Directory.Exists(_pth)) { System.IO.Directory.CreateDirectory(_pth); } } string _result = _srcDest + _s1; brGem.BaseStream.Seek(startOffset, SeekOrigin.Begin); if (dataSize > 0) { using (FileStream fsDest = new FileStream(_result, FileMode.Append, FileAccess.Write)) { using (BinaryWriter bw = new BinaryWriter(fsDest)) { bw.Write(brGem.ReadBytes(dataSize)); Console.WriteLine("writing :" + _result + "\n"); } } } } } _pos += 1; } } } }
credit to : xentax original coder, member elitepvper's uploader
source : [Only registered and activated users can see links. Click Here To Register...]