READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

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: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: Legend of Grimlock [.dat file]

Post by Ekey » Mon Apr 23, 2012 6:24 pm

TNEW it's {

Code: Select all

drawElements({
{some code},
{some code},
{some code},
})
I'm stuck here

Original

Code: Select all

0032    CALL     1   1   2
0033    GGET     1  17      ; "fadeIn"
0034    MOV      2   0
0035    CALL     1   1   2
0036    GGET     1  18      ; "click"
0037    CALL     1   1   1
0038    GGET     1  19      ; "fadeOut"
0039    MOV      2   0
0040    CALL     1   1   2
My

Code: Select all

0032    CALL     1   1   2
0033    GGET     1  17      ; "fadeIn"
0034    MOV      2   1
0035    CALL     2   1   1
0036    GGET     2  18      ; "click"
0037    CALL     2   1   1
0038    GGET     2  19      ; "fadeOut"
0039    MOV      3   2
0040    CALL     3   1   1
dunno why i get

MOV 2 1
CALL 2 1 1


instead of

MOV 2 0
CALL 1 1 2

sch0t3
n00b
Posts: 14
Joined: Sat Apr 21, 2012 5:04 pm
Has thanked: 14 times
Been thanked: 1 time

Re: Legend of Grimlock [.dat file]

Post by sch0t3 » Mon Apr 23, 2012 7:46 pm

my idea:
Looks like a functions needs to be closed.
because the first number is higher than the original.
some of your luacode could help. But u know i am a total beginner as well.

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: Legend of Grimlock [.dat file]

Post by Ekey » Mon Apr 23, 2012 8:38 pm

can not understand how the code should look like. Get this error

Code: Select all

[string "CinematicMode.lua"]:0: attempt to compare number with nil
stack traceback:
	[string "CinematicMode.lua"]: in function 'fadeIn'
	[string "CinematicMode.lua"]: in main chunk
	[string "CinematicMode.lua"]: in function 'update'
	[string "Grimrock.lua"]: in function 'display'
	[string "Grimrock.lua"]: in main chunk
Here unfinished. Maybe someone will do it to finish.
You do not have the required permissions to view the files attached to this post.

sch0t3
n00b
Posts: 14
Joined: Sat Apr 21, 2012 5:04 pm
Has thanked: 14 times
Been thanked: 1 time

Re: Legend of Grimlock [.dat file]

Post by sch0t3 » Tue Apr 24, 2012 2:13 pm

Ekey wrote:can not understand how the code should look like. Get this error

Code: Select all

[string "CinematicMode.lua"]:0: attempt to compare number with nil
stack traceback:
	[string "CinematicMode.lua"]: in function 'fadeIn'
	[string "CinematicMode.lua"]: in main chunk
	[string "CinematicMode.lua"]: in function 'update'
	[string "Grimrock.lua"]: in function 'display'
	[string "Grimrock.lua"]: in main chunk
Here unfinished. Maybe someone will do it to finish.
Hey dude!
i finished it! nice work of u by the way ^^

cant upload say always the file is empty... so here is the code
http://www.peoplesliberationfront.net/a ... 4yruHwBMk=

User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 197
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 5 times

Re: Legend of Grimlock [.dat file]

Post by lostprophet » Tue Apr 24, 2012 3:24 pm

Thank you for your hard work too! I took the liberty and uploaded it to pastebin.com too, since you can't copy or download from AnonPaste without losing the formatting.
http://pastebin.com/019t4ysK
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: Legend of Grimlock [.dat file]

Post by Ekey » Tue Apr 24, 2012 4:40 pm

So nice :)
You do not have the required permissions to view the files attached to this post.

bruno021
n00b
Posts: 13
Joined: Thu Dec 01, 2011 11:50 pm

Re: Legend of Grimlock [.dat file]

Post by bruno021 » Tue Apr 24, 2012 5:07 pm

How i can open *.mesh or *.model file format?Game have really interesting content,so i want take it in my collection :)

sch0t3
n00b
Posts: 14
Joined: Sat Apr 21, 2012 5:04 pm
Has thanked: 14 times
Been thanked: 1 time

Re: Legend of Grimlock [.dat file]

Post by sch0t3 » Tue Apr 24, 2012 5:34 pm

Ekey wrote:So nice :)
What are the next lua files to edit?
level01.lua to level13.lua
mainmenu.lua
gui_pc.lua
and
settings.lua
could be important

whats your plan ekey?

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: Legend of Grimlock [.dat file]

Post by Ekey » Tue Apr 24, 2012 5:54 pm

I currently busy my work and no have plans for decompiling other lua's. You can try decompile it alone :)

User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 197
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 5 times

Re: Legend of Grimlock [.dat file]

Post by lostprophet » Thu Apr 26, 2012 3:21 pm

I would gladly help, but after I watched the tutorial video, it's still not clear for me.
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: Legend of Grimlock [.dat file]

Post by Ekey » Thu Apr 26, 2012 4:14 pm

You must be familiar with LUA language :)

User avatar
lostprophet
mega-veteran
mega-veteran
Posts: 197
Joined: Wed Apr 07, 2010 7:38 pm
Has thanked: 35 times
Been thanked: 5 times

Re: Legend of Grimlock [.dat file]

Post by lostprophet » Thu Apr 26, 2012 4:31 pm

Ekey wrote:You must be familiar with LUA language :)
Yeah, that's the problem :/
Hungarian translator and member of Indies4indies.com | Previous translations: http://lostprophet.hu

Ekey
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1638
Joined: Wed Mar 31, 2010 6:54 am
Has thanked: 62 times
Been thanked: 821 times

Re: Legend of Grimlock [.dat file]

Post by Ekey » Thu Apr 26, 2012 5:10 pm

So there is no point decompile now. After every patch you need be decompile it again with new code.
For beginners - http://lua.gts-stolberg.de/en/index.php
and http://lua-users.org/wiki/TutorialDirectory

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

Re: Legend of Grimlock [.dat file]

Post by XRaptor » Thu Apr 26, 2012 5:37 pm

Still don't understand why the hell they hardcoded all texts to game data. Pretty lame.

sch0t3
n00b
Posts: 14
Joined: Sat Apr 21, 2012 5:04 pm
Has thanked: 14 times
Been thanked: 1 time

Re: Legend of Grimlock [.dat file]

Post by sch0t3 » Thu Apr 26, 2012 5:41 pm

Maybe they didnt fought it would be a success?! :wink:
I think they just wanted to finish it nothing more... I do this too when I have to hurry with my webdesign :)

Post Reply