Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Legend of Grimlock [.dat file]

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Legend of Grimlock [.dat file]

Post by Ekey »

huh share bruteforcer (:
User avatar
XRaptor
mega-veteran
mega-veteran
Posts: 226
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 47 times
Contact:

Re: Legend of Grimlock [.dat file]

Post by XRaptor »

7 files left :-)
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Legend of Grimlock [.dat file]

Post by Ekey »

Image
User avatar
XRaptor
mega-veteran
mega-veteran
Posts: 226
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 47 times
Contact:

Re: Legend of Grimlock [.dat file]

Post by XRaptor »

So, here it is :-) All filenames decrypted.
Thanx all for help and shame on devs for including so many temporary and unused files in final product :-)

Simply redownload last version. Everything is done and ready for next patch :-)

Legend of Grimrock DAT File Extractor
http://raptor.cestiny.cz/download/legen ... actor.html
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Legend of Grimlock [.dat file]

Post by Ekey »

So good job.
User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 7 times

Re: Legend of Grimlock [.dat file]

Post by lostprophet »

Anyone have some spare time to reverse the remaining .lua files? :D It doesn't seem a new patch will come anytime soon, and the lua files here work with the first patch, so I think they'll work with the new ones too.
Hungarian translator | Previous translations: http://lostprophet.hu
marcosjvc
ultra-n00b
Posts: 2
Joined: Thu May 24, 2012 1:40 am

Re: Legend of Grimlock [.dat file]

Post by marcosjvc »

lostprophet wrote:Anyone have some spare time to reverse the remaining .lua files? :D It doesn't seem a new patch will come anytime soon, and the lua files here work with the first patch, so I think they'll work with the new ones too.
I think I have some spare time... the thing is, I don't have enough practice with Lua, and the video links provided by Ekey are dead.
User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 202
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 7 times

Re: Legend of Grimlock [.dat file]

Post by lostprophet »

marcosjvc wrote:
lostprophet wrote:Anyone have some spare time to reverse the remaining .lua files? :D It doesn't seem a new patch will come anytime soon, and the lua files here work with the first patch, so I think they'll work with the new ones too.
I think I have some spare time... the thing is, I don't have enough practice with Lua, and the video links provided by Ekey are dead.
Well, if you're still interested, I bought the game on Steam, and can send you the remaining lua files. Or anyone for that matter.
Hungarian translator | Previous translations: http://lostprophet.hu
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Re: Legend of Grimlock [.dat file]

Post by Mr.Mouse »

What is the hash method they use?
User avatar
XRaptor
mega-veteran
mega-veteran
Posts: 226
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 47 times
Contact:

Re: Legend of Grimlock [.dat file]

Post by XRaptor »

Mr.Mouse wrote:What is the hash method they use?
32bit FNV-1a
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Legend of Grimlock [.dat file]

Post by Ekey »

Simple code :)

Code: Select all

function GetHash(Values: PAnsiChar): LongWord;
const
  c_b = $811C9DC5;
  c_n = $01000193;
var
  I, N:Integer;
  Next:LongWord;
begin
  Result := c_b;
  N := StrLen(Values);
for I := 0 to N - 1 do
begin
  Next := Byte(Values[I]);
  Result := Result xor Next;
  Result := Result * c_n;
 end;
end;
User avatar
Haoose
mega-veteran
mega-veteran
Posts: 280
Joined: Tue Mar 01, 2011 9:34 pm
Has thanked: 70 times
Been thanked: 193 times
Contact:

Re: Legend of Grimlock [.dat file]

Post by Haoose »

Or [roll]

Code: Select all

function FNV1aHash(const s: AnsiString): LongWord;
var
    i: Integer;
const
    FNV_offset_basis = 2166136261;
    FNV_prime = 16777619;
begin
    //FNV-1a hash
    Result := FNV_offset_basis;
    for i := 1 to Length(s) do
        Result := (Result xor Byte(s[i])) * FNV_prime;
end;
-= GP-team =-
Image
User avatar
XRaptor
mega-veteran
mega-veteran
Posts: 226
Joined: Sat Jul 12, 2008 4:42 pm
Location: Prague
Has thanked: 6 times
Been thanked: 47 times
Contact:

Re: Legend of Grimlock [.dat file]

Post by XRaptor »

ok, and now pure ASM code, pls :D
Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1823
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 92 times
Been thanked: 1058 times

Re: Legend of Grimlock [.dat file]

Post by Ekey »

C# will suit Image ?
marcosjvc
ultra-n00b
Posts: 2
Joined: Thu May 24, 2012 1:40 am

Re: Legend of Grimlock [.dat file]

Post by marcosjvc »

lostprophet wrote:
marcosjvc wrote:
lostprophet wrote:Anyone have some spare time to reverse the remaining .lua files? :D It doesn't seem a new patch will come anytime soon, and the lua files here work with the first patch, so I think they'll work with the new ones too.
I think I have some spare time... the thing is, I don't have enough practice with Lua, and the video links provided by Ekey are dead.
Well, if you're still interested, I bought the game on Steam, and can send you the remaining lua files. Or anyone for that matter.
I bought it too :wink:
Post Reply