Little Fighter Empire - Forums
Accessing an in-game editor - 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: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+--- Thread: Accessing an in-game editor (/showthread.php?tid=11221)



Accessing an in-game editor - Xneby - 01-05-2022

Prerequsites:
*) LF2 v2.0a
*) decrypt data\weapon0.txt, data\weapon1.txt & data\weapon6.txt
  you can use a builtin decryptor:
  o) enable debug mode ("abc" cheat code)
  o) press F3
  o) select decrp
  o) input file name to decrypt
  o) game decrypts file into temporary.txt - make copy / change name
*) put file name to edit in <file_editing> in data.txt
*) patch LF2.exe
  0041441C should be "mov ecx, ebx" instead of "lea ecx, [esp + 1C]"
  you can use this Cheat Engine table: https://pastebin.com/X9NnLbxs
*) in LF2:
  *) enable debug mode ("abc" cheat code)
  *) press F2

Keys:
PgDown / PgUp - next/previous frame
M - cycle itr <=> bdy mode
N - cycle center => cpoint => wpoint => opoint => bpoint mode
A - cycle light weapon => heavy weapon => milk
S - save (does not encrypt, probably you want edit .txt file if you want to save)
+ - increase wait
- - decrease wait
Enter - play animation from current frame

In center mode:
arrows - change center location

In CPoint mode:
C - change cpoint kind
arrows - change cpoint location
[] - change cought object frame number

In WPoint mode:
W - change wpoint kind
arrows - change wpoint location
[] - change weapon frame number

In OPoint mode:
arrows - change opoint location

In BPoint mode:
B - enable/disable bpoint
arrows - change bpoint location

In Body mode:
Insert - add body
Delete - remove body
K - cycle body kind
mouse - select body rect

In Itr mode:
Insert - add itr
Delete - remove itr
K - cycle itr kind
mouse - select itr rect

The editor looks like it was dropped in an early stage of development - it now requires binary patching and supports only itr kinds up to 6.


RE: Accessing an in-game editor - A-Man - 01-07-2022

I don't have nearby access to windows, but I'm very curious.

I would appreciate it if we can see some screenshots/video.


RE: Accessing an in-game editor - STM1993 - 01-07-2022

Photosensitivity/Epilepsy Warning.

I managed to get this to work, but I feel it is very important to mention that the bdy/itr hitboxes will flicker/flash very rapidly.

For HEX Editors:
1. Ctrl+G - look for 1441C
2. Change "8D 4C 24 1C" to "8B CB 90 90"
3. Save.

Here is a GIF as an attachment (spoilered):
Also, if anyone from https://tcrf.net/The_Cutting_Room_Floor is interested, I guess this is something to add to your database!