![]() |
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 1I 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 3The last three lines are for the recording info. Quote:1 2 davis60 4This 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 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 ![]() 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 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:
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 |