Little Fighter Empire - Forums
Controls.txt Q - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: [2.0] Exe Editing (https://lf-empire.de/forum/forumdisplay.php?fid=43)
+--- Thread: Controls.txt Q (/showthread.php?tid=8440)

Pages: 1 2


Controls.txt Q - A-Man - 12-25-2012

Now looking at "Controls.txt" you can see:
Quote:0 38 40 37 39 67 90 88 3 4 1
0 101 98 97 99 191 188 190 1 9 2
0 36 35 46 34 221 80 219 0 1 9
0 87 83 65 68 72 70 71 0 8 1
1 2 3 4
0
1
<No name>
<No email>
<No info>
I understand how everything works there ,BUT there is still something i couldn't figure out: that is the last 3 ints in each of the first 4 rows. Does anyone here has a clue about this? I tried changing those numbers but nothing seems to change at all.
Regards,
A-Man


RE: Controls.txt Q - InPhiKnight - 12-25-2012

See my one
Quote:0 104 98 100 102 101 96 107 0 1 3
0 87 83 65 68 54 32 55 0 1 3
0 38 40 37 39 35 17 45 0 1 2
0 73 188 74 76 75 32 190 0 1 3
1 2 davis60 4
1
1
davis60
davis60@rediffmail.com
survival records by davis60
The last three lines are for the recording info.
Quote:1 2 davis60 4
This is for the player number ( control 1 or 2 or 3 or 4)
I changed my name at Player 3


RE: Controls.txt Q - Electric2Shock - 12-25-2012

(12-25-2012, 03:38 AM)davis60 Wrote:  See my one
Quote:0 104 98 100 102 101 96 107 0 1 3
0 87 83 65 68 54 32 55 0 1 3
0 38 40 37 39 35 17 45 0 1 2
0 73 188 74 76 75 32 190 0 1 3
1 2 davis60 4
1
1
davis60
davis60@rediffmail.com
survival records by davis60
The last three lines are for the recording info.
Quote:1 2 davis60 4
This is for the player number ( control 1 or 2 or 3 or 4)
I changed my name at Player 3

He meant for the last 3 digits for the first 4 rows.


RE: Controls.txt Q - A-Man - 12-25-2012

Yup Davis. I was talking about the last 3 in the each of the first 4 lines; the ones i marked them bold. I know the function for the rest # but the remaining (the bold ones) are still a mystery. Thanks for your help either ways :D. So anyone got a clue about this?


RE: Controls.txt Q - zort - 12-25-2012

Try deleting them outright. That has an effect.


RE: Controls.txt Q - Electric2Shock - 12-26-2012

(12-25-2012, 10:44 PM)zort Wrote:  Try deleting them outright. That has an effect.

What effect, to be exact?



RE: Controls.txt Q - A-Man - 12-27-2012

^: The controls option goes all mixed up; and the game crashes just after the loading when you try pressing a button.
So I guess it doesn't do anything but it just needs to be there...


RE: Controls.txt Q - InPhiKnight - 12-27-2012

Code:
0 104 98 100 102 101 96 107 a b c
0 87 83 65 68 54 32 55 d e f
0 38 40 37 39 35 17 45 p q r
0 73 188 74 76 75 32 190 x y z
1 2 davis60 4
1
1
davis60
davis60@rediffmail.com
survival records by davis60
A silly experiment but when I loaded LF2, the keys didn't work in the main menu(after loading)
All the controls became none except player 1 & the names of player 1,2,3 became a,b,c while player 4 name became 0.


RE: Controls.txt Q - Electric2Shock - 12-30-2012

Hardcoded stuff my Marti Wong.


RE: Controls.txt Q - zort - 12-30-2012

(12-30-2012, 03:07 PM)Electric Shock Wrote:  Hardcoded stuff my Marti Wong.
I believe I can parse this! Here are three equally plausible interpretations, for your pleasure:
  • Hardcoded; stuff my Marti Wong. - "Hardcoded" is an assertion that the functionality is hardcoded. "stuff" is a derogatory verb, literally meaning "to sexually penetrate". "my" is a title of endearment, as in "my dear Alice", and "Marti Wong", of course, is the beloved co-author of this game, whose work sometimes displays bad programming practice. So the speaker is expressing exasperation and yet, at the same time, endearment with the well-known figure Marti Wong for a particular quirk of his program.
  • Hardcoded stuff, my Marti Wong. - This time, "Hardcoded stuff" is the assertion, "stuff" being a noun, and "my Marti Wong" is as before. So the speaker is expressing the same assertion, but this time amusement and admiration for Marti Wong.
  • Hardcoded; stuff my Marti Wong! - "Hardcoded" and "stuff" are as in the first interpretation, but now, "Marti Wong" is slang for a body part that shall go unnamed, and "my" is the standard first person possessive preposition. Therefore, "stuff my Marti Wong" is an expression equivalent in meaning to "f*** me in the a**", expressing consternation and exasperation, emotions which spring from the believed fact that something unnamed is hardcoded. In fact, I think I shall start using that phrase. Go stuff your own Marti Wong if you disagree!
Or maybe "my" is a typo and he meant "by".

Anyway, it's quite clear, given a measly five minutes of experimentation, that those numbers are placeholders. LF2 does not parse this file by lines. Rather, the first 11 numbers (contiguous string of digits, possibly with a minus sign in front) belong to the first player, the next 11 to the second player, and so on and so forth. Therefore, if you remove them, LF2 takes the first three numbers that belonged to the second player as the last three numbers belonging to the first player. And if you put a letter in their place, LF2 interprets them as the player names, and switches to the parsing state it has when it gets to where the names normally are. In summary, their values do not matter, merely they need to be there as placeholders. Perhaps they were intended as reserved fields, though I cannot imagine why forwards compatibilty was a concern.

EDIT: Lord Silva informs me that their meaning does have a significance. At the moment, however, what that significance is escapes his mind. If you set them to unusual numbers, like 384731 18347 810394, and start up LF2, you can find them in memory using Cheat Engine. Perhaps by playing with their values, their purpose could be unearthed.

EDIT EDIT: Ah ok, I got it now. They're the keys for attack, jump, and defend when using a gamepad. Lols. http://lf2.wikia.com/wiki/Control.txt