Logitech G19 applet

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

sepa
Posts: 154
Joined: Mon, 23. May 05, 22:48
x4

Logitech G19 applet

Post by sepa »

This applet uses Cycrow's X3 script for G15 (actually, a modified version for TC, further modified by me).

How it looks working:

[ external image ]

And this is background bitmap (with sample bars and icon):

[ external image ]

Download (v 0.01):

http://www.mediafire.com/file/ojimzm5iz ... _v0.01.zip

Changes:
  • [0.01] Lots inside, none for the user, apart from message box if config.txt is not present.
    [Initial] Line limit raised to 200 chars, shall fix the crash. This is a temporary solution.
Installation instructions (thanks to canardo66)

0) Visual C++ redistributable required.

1)Copy the files in the "t" and "script" folders into appropriate game directory.

2)Copy the lcdX3_TC.exe and the config file to the game folder or any other you like.

3)To make it work, you MUST edit the "config.txt" file and put in the path to the AI plugin logfile. It 's something like d:\sepa\...\log09003.txt, this file (log09003.txt) should be in "**drive**\**user home dir**\Documents\Egosoft\X3TC\log09003.txt".

I still need some icon images to finish the 1st page, and then some ideas for what to put on the 2nd - please tell me what you would like me to add.

Please report any bugs found.

sepa
Last edited by sepa on Thu, 10. Jun 10, 01:41, edited 10 times in total.
Shit happens, ppl die. Usually when I'm around.
canardo66
Posts: 12
Joined: Tue, 30. Jan 07, 14:27
x3tc

Post by canardo66 »

Yeah great news, I was waiting for this since I bought my G19. Unfortunately I' m unable to help for the script, but for hosting pictures you could use http://imageshack.us/ for exemple (take care of the size of the pictures).
Good luck!
cnecktor
Posts: 337
Joined: Thu, 11. Dec 03, 05:53
x3

Post by cnecktor »

I just order g19 it has not come yet. I head there are not as many app for it but I'm very interested, but probably wont actually get my g19 till end of the week. I'm no modder or scripter so, I couldn't help but for hosting there are ton of places why not photobucket?
sepa
Posts: 154
Joined: Mon, 23. May 05, 22:48
x4

Post by sepa »

I shall have my own server online soon, but for now I'll try the imageshack, thanks for this (I'm a lazy bastardo when it comes to search the internet).

sepa
Last edited by sepa on Tue, 1. Jun 10, 00:19, edited 4 times in total.
Shit happens, ppl die. Usually when I'm around.
draffutt
Posts: 4293
Joined: Wed, 21. Feb 07, 17:46
x4

Post by draffutt »

Icons of every possible object (ship, astronaut etc)
you can get this from the file labeled gui_master_newest.dds located in the dds folder
None of us is as smart as all of us. ~Ken Blanchard

TC player bug fixes
Reunion player bug fixes
sepa
Posts: 154
Joined: Mon, 23. May 05, 22:48
x4

Post by sepa »

Thanks :)
Shit happens, ppl die. Usually when I'm around.
User avatar
Mobius R
Posts: 19
Joined: Sat, 11. Nov 06, 17:12
x3tc

Re: Logitech G19 applet

Post by Mobius R »

edit: Got it working now! Great stuff. :D
Last edited by Mobius R on Thu, 3. Jun 10, 00:11, edited 2 times in total.
sepa
Posts: 154
Joined: Mon, 23. May 05, 22:48
x4

Post by sepa »

If it is in manager, then make sure you have edited the config file - it shall have 1 line only, no empty lines.

Make sure you check the box on the right in the manager, otherwise it will not display.
And there is a bugfixed version available for download.

Even if logfile is missing, or the config is wrong, it shall display a demo anyway.
Shit happens, ppl die. Usually when I'm around.
canardo66
Posts: 12
Joined: Tue, 30. Jan 07, 14:27
x3tc

Post by canardo66 »

A little help for the install;

1)Copy the files in the "t" and "script" folders.

2)Copy the lcdX3_TC.exe and the config files in the game folder (for me C:\Egosoft\X3 Terran Conflict).

3)To make it work, you MUST edit the "config.txt" file: It 's something like d:\sepa\...\log09003.txt, this file (log09003.txt) should be in "my document" it's not in the game directory so show him the way (for me it was in C:\Users\Canardo66\Documents\Egosoft\X3TC\log09003.txt).

And Awesome It works!
8)
Great job sepa!
tass_bur
Posts: 367
Joined: Sat, 14. Feb 04, 16:13
x4

Post by tass_bur »

Oki so i edited the config file mine is called log01500.txt btw?

what do i do? when i run the LCD exe file i get error:

The program can not be started because its missing mfc100u.dll on the computer (roughly translated sorry not english windows but english GUI except errors apparently) Im running windows 7 64
canardo66
Posts: 12
Joined: Tue, 30. Jan 07, 14:27
x3tc

Post by canardo66 »

You've got to download "Package redistribuable Microsoft Visual C++ 2010 (x86)" on Microsoft download center.
I 'm on win 7 64 to.
Concerning the log file, are you sure that the "log01500.txt" is not from another script?
sepa
Posts: 154
Joined: Mon, 23. May 05, 22:48
x4

Post by sepa »

I'm glad you like it :)

I'll be doing some code clean-up on the weekend, and I also plan to add 2nd page to the applet.

Any ideas what to put in there?
Shit happens, ppl die. Usually when I'm around.
cnecktor
Posts: 337
Joined: Thu, 11. Dec 03, 05:53
x3

Post by cnecktor »

I got my g19 I'm going to give this a go.
sepa
Posts: 154
Joined: Mon, 23. May 05, 22:48
x4

Re: Logitech G19 applet

Post by sepa »

Mobius R wrote:edit: Okay, well I got it to show up on the lcd screen now, but it only shows a demo, not in-game data.
Make sure you have:
  • AI plugin installed
  • config file set up correctly
Shit happens, ppl die. Usually when I'm around.
User avatar
Mobius R
Posts: 19
Joined: Sat, 11. Nov 06, 17:12
x3tc

Post by Mobius R »

canardo66 wrote:3)To make it work, you MUST edit the "config.txt" file: It 's something like d:\sepa\...\log09003.txt, this file (log09003.txt) should be in "my document" it's not in the game directory so show him the way (for me it was in C:\Users\Canardo66\Documents\Egosoft\X3TC\log09003.txt).
Ahhh... Thanks canardo66. Couldn't figure out what I was supposed to do with that config file since there were no instructions. :roll:
sepa
Posts: 154
Joined: Mon, 23. May 05, 22:48
x4

Post by sepa »

I promise I'll put together some readme.txt soon(tm) ;)
Shit happens, ppl die. Usually when I'm around.
tass_bur
Posts: 367
Joined: Sat, 14. Feb 04, 16:13
x4

Post by tass_bur »

canardo66 wrote:You've got to download "Package redistribuable Microsoft Visual C++ 2010 (x86)" on Microsoft download center.
I 'm on win 7 64 to.
Concerning the log file, are you sure that the "log01500.txt" is not from another script?
Well the right log file is there now...and the APP shows up in LCD manager....it points to the right file (when i run the path for the log file it opens a text that shows my current stats etc) but it does NOT show on G19...do i have to turn it on in game some how?


Edit:

After i restarted my machine and ran the LCD again i Actually got it working

and let me say as a start this is the best gaming APP i have yet seen on my G19 :D

Although

it has HUGE problems updating :( its like its freezing....i loaded the LCD and jumped ..targeted something...and it worked twice..then it froze at one place ...one target.......i had to restart the LCD file and it worked again..only for 1 go though....the text file updates perfectly.....am i doing something wrong?
tass_bur
Posts: 367
Joined: Sat, 14. Feb 04, 16:13
x4

Post by tass_bur »

I THINK i found out when it crashes....i jumped around a lot of systems targeting stuff....and i found out if i target something with a long name that roles over the screen.......then the APP crahes for some reason.......
I do hope this is something that can be fixed...i used the app for 10 min now and i simply LOVE IT! :D

Edit:

If it IS something on my machine that does this i hope someone can tell me what it is :s
sepa
Posts: 154
Joined: Mon, 23. May 05, 22:48
x4

Post by sepa »

Hey,

If the name of the target was over 100 characters long it would crash. Noted, will fix it over weekend.

As for updating, I'll make some cleanup over the weekend, so this will be addressed, too.

The more input you provide, the more I can do :)

I am happy that you like it.

Now, please tell me what else would you guys like to see there.

sepa
Shit happens, ppl die. Usually when I'm around.
tass_bur
Posts: 367
Joined: Sat, 14. Feb 04, 16:13
x4

Post by tass_bur »

I am not compleatly sure its called a crash but when i find a "scroll" name ..probably the 100 characters you mentioned the lcd info just stops updating and stays at the same info. When i close the process itself and start it again it works fine untill i chose a long named target. The text file DOES show the right info but the app does not change at all.


Im not sure what is possible here but, maybe a second page with info about percentages of my ratings? Is it possible to filter out info about my empire? for instance a list of my Universe traders? Or factories and their statistics?

would probably be hard yes because you need an entire configurations utility then?

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”