Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accessing an in-game editor
#1
2.0 
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.
Reply
#2
I don't have nearby access to windows, but I'm very curious.

I would appreciate it if we can see some screenshots/video.
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by:
#3
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!
[Image: uMSShyX.png]
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza
Reply
Thanks given by: A-Man , Nyamaiku , Bamboori




Users browsing this thread: 1 Guest(s)