Jump to content

Recommended Posts

Posted (edited)

Lockon Flaming Cliffs - Export Script has been fixed and needs some testing..

 

If you use TouchBuddy with Lockon Flaming Cliffs 2, then you should download this fixed Data Export Script. The original Export Script for Lockon does not work with FC2. Last week I re-coded the export script to work with Flaming Cliffs 2. I also added error handleing to the script that was missing from the original and causing problems with TouchBuddy.

 

>> DOWNLOAD HERE <<

 

INSTALLATION FOR TOUCHBUDDY:

 

  1. Just copy THIS SCRIPT FILE into your Lockon Flaming Cliffs 2 "Config\Export" directory.
  2. Add the following line to the end of the existing Export.lua file:

dofile("./Config/Export/TouchBuddy_FC2_Export.lua")

Feedback is appreciated!

 

Snack/WBK

Edited by Snacko

🍺 Snack Officer  🥨 
Intel I9-10850K (OC @ 5.0ghz) │ 64GB (4x16GB) DDR4 3200 │Gigabyte RTX 4090 Gaming OC 24gb
- ҉ - Blackshark Cockpit Trainer - ҉ -    Thread   | Download

  • 4 weeks later...
Posted

Hi Bill or anyone:

 

TB is working with the above export-many thanks. I am using lomac-exter-wbk.tbc. TEWS and Failures are not showing data. Any advice?

 

Thanks

[sIGPIC][/sIGPIC]

Posted

Are you playing FC2 or BS? Those do not work for BS; only the weapons loadouts work for BS. But everything should be working for FC2. If you are getting the weapons loadout but not the TEWS or Failures, I don't know what's wrong... Are you patched up in the game?

🍺 Snack Officer  🥨 
Intel I9-10850K (OC @ 5.0ghz) │ 64GB (4x16GB) DDR4 3200 │Gigabyte RTX 4090 Gaming OC 24gb
- ҉ - Blackshark Cockpit Trainer - ҉ -    Thread   | Download

Posted (edited)

Thanks for the quick response Bill. I'm on FC2 patched. Latest export. No load out, TEWS or failures with lomac-exter-wbk.tbc. downloaded from TB forums Profiles. Not running as server, just local. In SU-25. Thanks

 

I apologize for my stupidity if those would only work when flying the A10.

 

Something else: I added ("./Config/Export/TouchBuddy_FC2_Export.lua") instead of dofile("./Config/Export/TouchBuddy_FC2_Export.lua").

 

TB buttons work, but no data shows up in the relevant tabs.

 

Just out of curiosity, which would you say is the best LOMAC profile to get things rolling in FC2? The one above? 2.0? Ruggbut? Others? Thanks

 

P.S. did TB just go down for good :(?

Edited by hassata

[sIGPIC][/sIGPIC]

Posted

I've now got dofile("./Config/Export/TouchBuddy_FC2_Export.lua") in the export lua

 

I also set enableexport to true in the config

 

but still no luck

[sIGPIC][/sIGPIC]

Posted

Bill's export script creates a file touchbuddy-export.dat in the FC 2 root folder. Check to see if it has been created after a FC2 session [dynamic file but last version should still be there]

 

Have you modified your Touchbuddy cfg file to point to the touchbuddy-export.dat file.

 

 

The line in your cfg file should look like this [modify to suit your actual install directory and best done in touchbuddy-local.cfg]

 

lomac_data_file = C:\Games\Eagle Dynamics\LockOn Flaming Cliffs 2\touchbuddy-export.dat

 

If you are using Win 7 and have installed FC2 in the default programs folder then the touchbuddy-export.dat file may get created somewhere else due to UAC factors, do a search to find out where it is.

 

The enable export option in the FC2 config.lua does not appear to affect the operation of the touchbuddy export lua.

Posted

Oh Man!

 

Have you modified your Touchbuddy cfg file to point to the touchbuddy-export.dat file.

 

That one.

 

I literally pulled an all nighter trying anything and everything including a clean install. Thanks so much.

[sIGPIC][/sIGPIC]

Posted

Ahh.. I see. I assumed Loadout worked since you didn't mention it.

 

What OS are you using? If Win7 or Vista, did you install the game in the default Program Files location? If so, Windows UAC Permissions may not let you correctly modify these files. You should install the game in a folder outside of Program files. Make your own folder. Or just turn off UAC at your own risk.

 

Or if none of them work, then you just have it setup wrong.

 

1) Make sure your Touchbuddy.cfg (or Touchbuddy-local.cfg if you use that) has this line pointing to game folder:

lomac_data_file = C:\.....\.....\LockOn Flaming Cliffs 2\touchbuddy-export.dat

 

2) Make sure the TouchBuddy_FC2_Export.lua file is in this game folder:

C:\.....\.....\LockOn Flaming Cliffs 2\Config\Export\

 

3) Add this line:

dofile("./Config/Export/TouchBuddy_FC2_Export.lua")

 

As the last line of this file:

C:\.....\.....\LockOn Flaming Cliffs 2\Config\Export\export.lua

🍺 Snack Officer  🥨 
Intel I9-10850K (OC @ 5.0ghz) │ 64GB (4x16GB) DDR4 3200 │Gigabyte RTX 4090 Gaming OC 24gb
- ҉ - Blackshark Cockpit Trainer - ҉ -    Thread   | Download

Posted

All better now :). Funny thing: I didn't even know that data could be exported. I was happy that the profile worked in FC2. I'm slow like that lol.

 

Just a few questions Bill: is lomac-exter-wbk.tbc. the profile you updated a bit for FC2? And I was able to get wither LOVP or TB to work. Can I get them to work at the same time, or even better, incorporate two of the instruments into a tab easily, though I realize the second thing may need some programming that is beyond me and that people are probably working on it now).

 

Thanks for all the great work you put in, and I hope ED can incorporate TB functionality and profiles into A-10 out of the box. TB for me is as important to immersion as TIR.

[sIGPIC][/sIGPIC]

Posted
is lomac-exter-wbk.tbc. the profile you updated a bit for FC2?
Yes, I just quickly fixed most of the buttons, but did not have a chance to test the profile. Some TB users were asking me for it, so I posted it. Some buttons may not work. But for the most part I think it works. One or two guys did post that they had to change a few buttons to work with The Su planes I think.

🍺 Snack Officer  🥨 
Intel I9-10850K (OC @ 5.0ghz) │ 64GB (4x16GB) DDR4 3200 │Gigabyte RTX 4090 Gaming OC 24gb
- ҉ - Blackshark Cockpit Trainer - ҉ -    Thread   | Download

Posted

Have you considered sending data over network sockets instead ?

 

Having the game write to drive and then another app read from drive can cause a lot of hdd usage (file search/lookup times).

 

If you are going to switch but need help, send a PM and I'm sure we can solve it.

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

Posted

Thanks for the offer, but Zoralc (the coder for the TB app) has bailed on the project and taken his code with him about 1.5 years ago. So, the code currently reads from disk and we are stuck with that.

🍺 Snack Officer  🥨 
Intel I9-10850K (OC @ 5.0ghz) │ 64GB (4x16GB) DDR4 3200 │Gigabyte RTX 4090 Gaming OC 24gb
- ҉ - Blackshark Cockpit Trainer - ҉ -    Thread   | Download

Posted
Thanks for the offer, but Zoralc (the coder for the TB app) has bailed on the project and taken his code with him about 1.5 years ago. So, the code currently reads from disk and we are stuck with that.

 

So source code is unavailable for TB? we only have the binaries?

S = SPARSE(m,n) abbreviates SPARSE([],[],[],m,n,0). This generates the ultimate sparse matrix, an m-by-n all zero matrix. - Matlab help on 'sparse'

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...