PDA

View Full Version : Messing around with INPA INI files :)



GSXRliterbikz
01-21-2013, 09:34 PM
So as I get a little more used to this new laptop, I started doing some tweaking in the INI file.
A good friend has been teaching me a TON about how to use the different tools that are out there. Still wanna try coding with DIS. I've used NCS alot, and gotten pretty familiar with it. But havent used DIS 4.4 yet.

But today he showed me how to tweak the Inpa.INI file. There was a typo that caused a script error, so he had me change it, and today he explained how to change the text on certain keys.

Here is a shot before I changed a few key assignments.

http://i305.photobucket.com/albums/nn201/literbikz/Diag%20Pics/InpaMainScreen_zps3029c1ec.jpg

Here is a shot of the INI file. I inserted the F#_TEXT = ...
Anything typed after the = is assigned to the F number key listed. Notice the F1 key is for E36. I typed below it the F1_TEXT = E dirty six

http://i305.photobucket.com/albums/nn201/literbikz/Diag%20Pics/InpaINIScreen_zps1ce77a7d.jpg

Here is Inpa after

http://i305.photobucket.com/albums/nn201/literbikz/Diag%20Pics/InpaMainScreen2_zps1db72572.jpg

Pretty Kool. :alright

I also installed an update I got. It included this new Icon for the desktop that is an all inclusive interface for all the different tools.

http://i305.photobucket.com/albums/nn201/literbikz/Diag%20Pics/NewInterfaceMenu_zps63440559.jpg

I think he could have used a better looking car though....:devillook

It automatically starts all required programs to run various tools. Like DIS. Click on it and it starts all the VMware and emulators needed. If I try to use Inpa when its on, it automatically shuts down the conflicting programs.
Its pretty handy.
Also got Inpa quick test in the update. Probably wont use it much though. Inpa already does all of these functions. It just saves a little time I guess.

http://i305.photobucket.com/albums/nn201/literbikz/Diag%20Pics/InpaQuickTest_zps57969fd7.jpg


My head is starting to hurt as I see all the info running in the background of these programs :wow

I'm starting to get it though......A little........

KevinMullins
01-21-2013, 11:48 PM
I like the application interface.
The error memory quick test is actually from an older version of INPA. (fyi)

Any particular reason you use the Rectification Programs version of INPA versus say the usual UK or US version?
I've never bothered to install any of.the other versions to see the differences, so was.just curious.

GSXRliterbikz
01-22-2013, 08:04 AM
I like the application interface.
The error memory quick test is actually from an older version of INPA. (fyi)

Any particular reason you use the Rectification Programs version of INPA versus say the usual UK or US version?
I've never bothered to install any of.the other versions to see the differences, so was.just curious.


I had the older version that had the quick test in it before. The laptop I have now just happened to use this version. Outside of the obvious visual differences, I dont notice much difference in functionality.
The newer version runs faster, but I would assume thats because of the laptop its self being alot newer.

purplecty
01-22-2013, 09:47 PM
INPA 3.01 with EDIABAS 6.4.3 is the best for the E38... Looking good Nick! You can also update to David Mcs custom install which is INPA 3.01 INPA 5 AND INPA 2010 files all mixed together with a modified EDIABAS 6.4.7 as well, to give you the best functionality for pretty much all models minus the F-series... I LOVE the quick tests! That's one of my favorite options...

jamie123
01-23-2013, 05:06 AM
hey nick,i like your background colour! could you pm or email me a copy of your inpa ini file please.

IcemanBHE
01-23-2013, 05:26 AM
UK gives you all the euro files in ENGLISH.

Plus the NA spec files.

If you install US, you dont get euro files.

tiswds
01-24-2013, 01:32 PM
Great info! Looking good.

cdh
01-28-2013, 11:14 AM
Any particular reason you use the Rectification Programs version of INPA versus say the usual UK or US version?
Particular reason = That's what I put in the screen and window title when I rewrote the screen handler script.

Craig

KevinMullins
01-28-2013, 12:25 PM
Particular reason = That's what I put in the screen and window title when I rewrote the screen handler script.

Craig

Well I understood that from the "Nick's Custom Edition" part, but the "BMW Group Rectifications Programs" part is typical if that particular version is chosen during initial installation....that's what I was asking about.

Either way it looks good. I like the extra bit of information below the header as well. (interface type, date, time, etc)

paulb34
01-28-2013, 01:59 PM
Could you please email the inpa.ini to me as well please.Many thanks.

rondo
01-28-2013, 11:30 PM
Hi can you please attach the inpa.ini used in your setup so we can learn from it.

GSXRliterbikz
01-28-2013, 11:46 PM
Yea, I didn't make it, so I'm not gonna copy it.

KevinMullins
01-29-2013, 12:11 AM
The inpa.ini is not hard to modify...open it in notepad, poke around, make some educated changes, save it. Just keep a copy of your original somewhere safe.

jamie123
01-29-2013, 02:44 AM
i know but i've never seen the option in mine to change the background colour of the menu etc,also in version 3 there is no "BMW Group Rectifications Programs" option in the set up options.

age109
01-29-2013, 08:44 AM
i know but i've never seen the option in mine to change the background colour of the menu etc,also in version 3 there is no "BMW Group Rectifications Programs" option in the set up options.

I believe background color is tweaked outside of the .ini file.

cdh
01-29-2013, 01:54 PM
Could you please email the inpa.ini to me as well please.Many thanks.

Can do. It is not just the INI file. The is also an IPO file for the screen handler. Persume you want the one for 5.x. Rewrote the 3.x screen handler as well. Your choice.

jamie123
01-29-2013, 01:56 PM
yes im using v3,id love to be able to change the background colours please pm or email me.
cheers,
jamie.

cdh
01-29-2013, 02:02 PM
Hi can you please attach the inpa.ini used in your setup so we can learn from it.

As mentioned above. The screen handler script has been modified/rewriten. I just keep the INI file input format and added some further options.

What I have done is modified the INPA screen handler script in the following way
-two main screens if need be.
-control of font and background color (16 colours to choose from)
-hot keys: direct calling of scripts from a single function key press
-added a couple of more calls to the api32.dll to extract further configuration information
-fixed a couple of bugs that were in the original script handler

All of the above ‘options’ are controlled from the INPA.INI file so that even the original .INI file that people have will still work. No hard coding of values or keys done, other than the F10 and sF10 keys for back/exit. Both the 3.x and 5.x versions have been modified.
Hope this clears up some questions.

Craig

Usernamehere
01-29-2013, 02:27 PM
Screen configuration files

Sections:
[colors] ; only in Wineldi.BLD (see example for more details)
[labels]
NUM_OF_LABELS= Number of defined labels
LNr=BNr,BFrb,LFrb,TFrb,TFont,ZNr,SNr,"DefText"
Label structure:
LNr: Label number [NUM_OF_LABELS]
BNr: Area number [2..4] (Screen is divided into 4 areas,
where the first area, the title line, cannot contain labels.)
BFrb: Area color [-1..NUM_OF_COLORS-1]
-1 = do not change
0 = BLACK
1 = WHITE
2 = RED
... (according to the definitions in the [colors] section of WINELDI.BLD )
LFrb: Label color [-1..NUM_OF_COLORS-1]
-1 = area color
0 = BLACK
1 = WHITE
2 = RED
... (according to the definitions in the [colors] section of WINELDI.BLD )
TFrb: Text color [0..NUM_OF_COLORS-1]
0 = BLACK
1 = WHITE
... (according to the definitions in the [colors] section of WINELDI.BLD )
TFont: Text font [0..NUM_OF_FONTS-1]
ZNr: Line number [-1..24] : -1 = centered in area
SNr: Column no. [-2..79] : -1 = centered, -2 = right-justified

FAL
01-29-2013, 03:20 PM
...added a couple of more calls to the api32.dll to extract further configuration information.Just out of interest Craig, what made you choose to modify the api32.dll, when the same information can be retrieved using *.prg files and Ediabas Job calls?

cdh
01-29-2013, 03:33 PM
Just out of interest Craig, what made you choose to modify the api32.dll, when the same information can be retrieved using *.prg files and Ediabas Job calls?

No other reason than simply to see if it could be done.
Craig

808AWD325xi
01-31-2017, 01:25 PM
Screen configuration files

Sections:
[colors] ; only in Wineldi.BLD (see example for more details)
[labels]
NUM_OF_LABELS= Number of defined labels
LNr=BNr,BFrb,LFrb,TFrb,TFont,ZNr,SNr,"DefText"
Label structure:
LNr: Label number [NUM_OF_LABELS]
BNr: Area number [2..4] (Screen is divided into 4 areas,
where the first area, the title line, cannot contain labels.)
BFrb: Area color [-1..NUM_OF_COLORS-1]
-1 = do not change
0 = BLACK
1 = WHITE
2 = RED
... (according to the definitions in the [colors] section of WINELDI.BLD )
LFrb: Label color [-1..NUM_OF_COLORS-1]
-1 = area color
0 = BLACK
1 = WHITE
2 = RED
... (according to the definitions in the [colors] section of WINELDI.BLD )
TFrb: Text color [0..NUM_OF_COLORS-1]
0 = BLACK
1 = WHITE
... (according to the definitions in the [colors] section of WINELDI.BLD )
TFont: Text font [0..NUM_OF_FONTS-1]
ZNr: Line number [-1..24] : -1 = centered in area
SNr: Column no. [-2..79] : -1 = centered, -2 = right-justified

Thanks for posting this. I'm not sure what screen configuration files are but this information helped me determine the possible colors and visible screen area within my INPA scripts.

There are 16 colors: 0=white, 1=black, 2=light grey, 3=grey, 4=bright red, 5=wine red, 6=red-violet, 7=red-lilac, 8=bright yellow, 9=olive, 10=birght green, 11=dark green, 12=light turquoise, 13=dark turquoise, 14=brightblue, 15=blue

Visible rows are -4 to 26 and columns -2 to 82.