07-26-2025, 10:07 AM
(This post was last modified: 07-26-2025, 10:45 AM by klodasmone.)
(DC) LF2R How to add bgs
0. Hello, dear sirs and ladies! Class is in session and today we'll learn, how to add backgrounds (bgs), aka maps, to your beloved LF2R. So, without further ado, let's start and learn something, in the hopes, that more people will get into LF2R gaming modding scene and produce some new material for the game...
1. Put your pictures-sprites to
\resources\app\_res_bg\
as an example I'll take "Devil's Hall", so the folder/pathway is
resources\app\_res_bg\devil
2. Let's check the LF3BYTITASZIBIKAS "Devil's_Hall" "bg.dat", that is
As you can see, there is a "name" of the "bg", which you can change to your liking, and the pictures-sprites pathways are in ".bmp", so make sure your pictures/sprites are in .png format.
3. In your freshly created pathway, or, in this case, "devil" folder create a text-document "bg_x3", that is
Make sure you have all the correct pictures-sprites to all the correct pathways and again in ".png" format. There's always a chance, that some pictures-sprites are missing, so be careful (create the missing pictures-sprites, if necessary), otherwise the game will hang, won't work or simply crash.
4. Open _data text-file in
resources\app\_res_data
and add the following line at the end to the text-document (under "<background>"), which is in your created folder/pathway
id: 15 file: _res_bg/devil/bg_x3
so it will look like this
5. You can check out my Top10 bgs for LF2R here: https://www.mediafire.com/file/443ur6un1...C.rar/file
6. Support LF2R by buying it at: https://store.steampowered.com/app/32496...Remastered
- Respectfully, Titas Žibikas aka Paschendale
0. Hello, dear sirs and ladies! Class is in session and today we'll learn, how to add backgrounds (bgs), aka maps, to your beloved LF2R. So, without further ado, let's start and learn something, in the hopes, that more people will get into LF2R gaming modding scene and produce some new material for the game...
1. Put your pictures-sprites to
\resources\app\_res_bg\
as an example I'll take "Devil's Hall", so the folder/pathway is
resources\app\_res_bg\devil
2. Let's check the LF3BYTITASZIBIKAS "Devil's_Hall" "bg.dat", that is
Code:
name: Devil's_Hall
width: 2400 zboundary: 374 518
shadow: bg\template\devil\shadow.bmp shadowsize: 37 9
layer:
bg\template\devil\loop1.bmp
transparency: 1 width: 2400 x: 0 y: 128 loop: 509
layer_end
layer:
bg\template\devil\tt.bmp
transparency: 1 width: 2400 x: 839 y: 128
layer_endAs you can see, there is a "name" of the "bg", which you can change to your liking, and the pictures-sprites pathways are in ".bmp", so make sure your pictures/sprites are in .png format.
3. In your freshly created pathway, or, in this case, "devil" folder create a text-document "bg_x3", that is
Code:
name: Devil's_Hall
width: 2400 zboundary: 374 518
shadow: _res_bg\devil\shadow.png shadowsize: 37 9
layer:
_res_bg\devil\loop1.png
transparency: 1 width: 2400 x: 0 y: 128 loop: 509
layer_end
layer:
_res_bg\devil\tt.png
transparency: 1 width: 2400 x: 839 y: 128
layer_endMake sure you have all the correct pictures-sprites to all the correct pathways and again in ".png" format. There's always a chance, that some pictures-sprites are missing, so be careful (create the missing pictures-sprites, if necessary), otherwise the game will hang, won't work or simply crash.
4. Open _data text-file in
resources\app\_res_data
and add the following line at the end to the text-document (under "<background>"), which is in your created folder/pathway
id: 15 file: _res_bg/devil/bg_x3
so it will look like this
Code:
<background>
id: 4 file: _res_bg/hkc/bg_x3
id: 2 file: _res_bg/lf/bg_x3
id: 3 file: _res_bg/sp/bg_x3
id: 5 file: _res_bg/gw/bg_x3
id: 6 file: _res_bg/qi/bg_x3
id: 7 file: _res_bg/ft/bg_x3
id: 8 file: _res_bg/bc/bg_x3
id: 1 file: _res_bg/cuhk/bg_x3
id: 0 file: _res_bg/thv/bg_x3
id: 9 file: _res_bg/wc/bg_x3
#id: 10 file: _res_bg/template1/bg
#id: 11 file: _res_bg/template2/bg
#id: 12 file: _res_bg/template3/bg
id: 15 file: _res_bg/devil/bg_x3
<background_end>5. You can check out my Top10 bgs for LF2R here: https://www.mediafire.com/file/443ur6un1...C.rar/file
6. Support LF2R by buying it at: https://store.steampowered.com/app/32496...Remastered
- Respectfully, Titas Žibikas aka Paschendale

Chat

![[Image: 30041034214b36dbde4a8c64f3117c04cd6c9fbd.gif]](https://img4.uploadhouse.com/fileuploads/30041/30041034214b36dbde4a8c64f3117c04cd6c9fbd.gif)