LCD text colour

Posted by Xero 
LCD text colour
Date: September 22, 2003 10:53AM
Posted by: Xero
Does anyone know if it's possible to change the colour of the text for the LCD on the steering wheel?

I think it might be stored in gp4_lfdm.fot in the fonts folder... it appears scrambled in notepad.



Post Edited (09-22-03 18:01)
Re: LCD text colour
Date: September 28, 2003 09:37AM
Posted by: Madman271
I dunno if it changeable from languages/fonts config files. I was saw from inside the GP4 codes, all text colors written in steer LCD was initialized to zero (using black color).




In reality, doesn't matter who's right but most important is who's left.
Re: LCD text colour
Date: September 29, 2003 04:35AM
Posted by: Anonymous User
Use the search button, this has been done before

Re: LCD text colour
Date: September 29, 2003 04:50AM
Posted by: Caelen
so madman would it be possible to change colour, to yellow say
Re: LCD text colour
Date: September 29, 2003 06:09AM
Posted by: Madman271
Lol. Of course it is possible. :)
I have no idea to put this capability to tweaker. But if you really interesting, I'll help to find out the location inside the exe.




In reality, doesn't matter who's right but most important is who's left.
Re: LCD text colour
Date: September 29, 2003 12:59PM
Posted by: Madman271
For everyone who interesting main cockpit's steer wheel LCD font color.
Color changes are global, mean affected to all cars.


*Main Cockpit Font Color Adjustment Patch Code*
===============================================
Warning: Offset based on Patch v1.02 executable

File Offset: 0x0007AC3F
Code Offset: 0x0047AC3F
Byte Length: 0x0000002B (43 bytes)

Original Binary Codes:
-----------------------------------------------
0x8B, 0x4E, 0x08, 0x6A, 0x00, 0x6A, 0x00, 0xE8,
0x55, 0xCD, 0xFF, 0xFF, 0x8B, 0x4E, 0x08, 0x6A,
0x00, 0x6A, 0x00, 0xE8, 0x49, 0xCC, 0xFF, 0xFF,
0x8B, 0x4E, 0x08, 0xE8, 0x01, 0xCF, 0xFF, 0xFF,
0x8D, 0xBE, 0x9C, 0x01, 0x00, 0x00, 0xBB, 0x28,
0x00, 0x00, 0x00

Patch Codes:
-----------------------------------------------
0x31, 0xC0, 0xBB, 0xA0, 0x78, 0x47, 0x00, 0x8B,
0x4E, 0x08, 0x51, 0x50, 0x50, 0x51, 0x68, *BL*,
*GR*, *RD*, 0x00, 0x50, 0xFF, 0xD3, 0xFE, 0xC7,
0x59, 0xFF, 0xD3, 0x66, 0xBB, 0x60, 0x7B, 0x59,
0xFF, 0xD3, 0x31, 0xDB, 0xB3, 0x28, 0x8D, 0x7C,
0xDE, 0x5C, 0x90

Notes:
RD, GR, and BL are 256-level of RGB color.
Substitute color from patch codes above with proper order of RGB value.

For examples:
0x00, 0x00, 0xFF = pure light red
0x00, 0xFF, 0x00 = pure light green
0xFF, 0x00, 0x00 = pure light blue
0x00, 0xFF, 0xFF = pure yellow
0xFF, 0xFF, 0xFF = white

Be sure to replace patch codes properly, otherwise GP4 may crash after loading progress.
Don't asks for another effects (font face, font size, etc) because there is no sufficient rooms for physical patching. :)




In reality, doesn't matter who's right but most important is who's left.
Re: LCD text colour
Date: October 01, 2003 03:19AM
Posted by: Caelen
thank you madman you are a legend, ill try using this to change font colours so i can have pit displays more visible for no lcd steering wheels.
Re: LCD text colour
Date: October 03, 2003 05:42AM
Posted by: zem1313
Hi!

I would really love to change the LCD font color in my GP4.exe as well. I think I can do the thing madman described above, but I have 2 questions:

1. Which tool should I use to change the Binary Codes?
2. Does this change of the LCD font color change anything else in GP4, for example checksums?

Don't know if this was asked befor.
Would be great if you could help me.

Cheers
Re: LCD text colour
Date: October 03, 2003 07:09AM
Posted by: Madman271
1) You can use Hex/Binary Editor. try to find at www.download.com. There was plenty of shareware and freeware Hex Editor programs that can be downloaded.
2) It just only changing LCD color on GP4 cockpit steer.




In reality, doesn't matter who's right but most important is who's left.
Re: LCD text colour
Date: October 03, 2003 10:14AM
Posted by: SchimmyMike
Wow and it works. Thats very helpful.




Join the biggest german speaking rpg community for Battlefield 1942 Modifikation "Forgotten Hope".

Visit www.fh-warzone.de for more informations.
Re: LCD text colour
Date: October 03, 2005 08:41PM
Posted by: alp776
On a similar topic; is it possible to change the color for the display of the choices of Tyre (mainly) + fuel + configuration when in cokpit view.

They are black on my black steering wheel...
Re: LCD text colour
Date: October 03, 2005 08:44PM
Posted by: Paco
LOL!

a post exactly 2 years later :)

i'm sorry, but i have no solution for your answer :P



I'm against sigpics
Re: LCD text colour
Date: October 03, 2005 08:48PM
Posted by: jonny
^^^SPAM^^^:P

this can changed throgh tweaker now, actually. theres an ini in the 2005 mod for the whte font i think - but is possible to change the font?

www.footballsfinestgfx.co.uk



Edited 1 time(s). Last edit at 10/03/2005 08:48PM by jonny.
Re: LCD text colour
Date: October 03, 2005 11:28PM
Posted by: Lo2k
fonts can be changed with GPiBrowser

Re: LCD text colour
Date: October 04, 2005 12:43AM
Posted by: alp776
I have GPI Browser and can open the fonts tarnsform in TGA then how to do that ?
- which font to modify and how ? pixel by pixel with paint shop pro ?
Re: LCD text colour
Date: October 04, 2005 01:03AM
Posted by: strongbow
in photoshop you would do image -> adjust -> hue/saturation and colorize to get colored fonts. paint shop pro won't be much different i guess. ;-)
Re: LCD text colour
Date: October 04, 2005 11:47PM
Posted by: alp776


I have some difficulties to do that. perhapsa nother solution is to change the place of the fonts , I found them in idata, copyed below in french

------------------------------------
; hlight_... LEFT_X,LEFT_FINEX,RIGHT_X,RIGHT_FINEX
; lcdp_... SWITCH,X,Y,FINEX,FINEY,FONT


JACKED_UP_TYRE_CHOICE_TEXT:

DB 0,0,0,0,2,"TYPE : -< >+",0
DB 0,0,1,1,5,"SEL. TRAIN DE PNEUS",0
DB 0,2,2,0,5,"[TOURS EFFECTUES]",0
DB -1

DB hlight_TYRE,9,0,17,6

JACKED_UP_TYRE_TYPE_TEXT:

; The first byte is masked with a string enable mask within program
; so it acts as a string selector.

DB 1,9,0,1,2,"SEC TEND.",0
DB 2,9,0,1,2,"SEC DUR",0
DB 4,9,0,1,2,"INTERMED.",0
DB 8,9,0,1,2,"PL. DUR",0
DB 16,9,0,1,2,"PL. TEND.",0
DB 32,9,0,1,2,"MOUSSON",0
DB -1

JACKED_UP_RACETYRE_TYPE_TEXT:

; The first byte is masked with a string enable mask within program
; so it acts as a string selector.

DB 1,8,0,0,4,"SEC TEND.",0
DB 2,8,0,0,4,"SEC DUR",0
DB 4,8,0,0,4,"INTERMED.",0
DB 8,8,0,0,4,"PL. DUR",0
DB 16,8,0,0,4,"PL. TEND.",0
DB 32,8,0,0,4,"MOUSSON",0
DB -1


JACKED_UP_FUEL_CHOICE_TEXT:

DB 0,0,1,4,3,"SEL. CARBURANT POUR",0
DB 0,4,2,1,5,"- < > +",0
DB 0,8,3,0,7,"TOURS",0
DB -1

DB lcdp_FUEL_LAPS,0,9,2,0,5,0

JACKED_UP_ACCTIME_TEXT:

DB 0,2,2,4,0,"TEMPS ACCELERE",0
DB 0,6,3,4,8,"ANNULER",0
DB -1

DB hlight_ACCTIME,5,5,14,6


JACKED_UP_MAIN_PRACTISE_TEXT:

DB 0,5,1,2,0,"CARBURANT",0
DB 0,1,2,1,0,"PNEUS (TOURS )",0
DB 0,3,3,0,0,"QUITTER STANDS",0
DB 0,2,4,2,0,"CONFIG. VOITURE",0
DB -1

DB lcdp_TYRE_LAPS_DONE,0,14,2,4,0,0

JACKED_UP_MAIN_QUAL_TEXT:

DB 0,9,0,0,0,">>",0
DB 0,5,1,2,0,"CARBURANT",0
DB 0,1,2,1,0,"PNEUS (TOURS )",0
DB 0,3,3,0,0,"QUITTER STANDS",0
DB 0,2,4,2,0,"CONFIG. VOITURE",0
DB -1

DB lcdp_TYRE_LAPS_DONE,0,14,2,4,0,0


JACKED_UP_MAIN_RACE_TEXT:

DB 0,0,0,0,4,"PNEUS :",0
DB 0,5,0,5,4,"-< ",0
DB 0,17,0,9,4,">+",0
DB 0,0,1,4,6,"CARB.: TOURS",0
DB 0,13,1,2,6,"-<",0
DB 0,17,1,9,6,">+",0
DB 0,0,2,4,8,"ARRETS SUIV. :",0
DB 0,13,2,2,8,"-<",0
DB 0,17,2,9,8,">+",0
DB -1

DB hlight_RACETYRE,7,6,17,7

DB lcdp_FUEL_LAPS,0,15,1,5,6,0
DB lcdp_NUMBER_OF_PITSTOPS,0,15,2,5,8,0

;=========== Driving displays ===============================

DRIVING_PRACTISE_TEXT:

DB 0,0,3,2,0,"n°",0
DB 0,13,3,2,0,"PILOTES",0
; DB 1,0,4,2,0,"MEILLEUR",0
; DB 2,0,4,0,0,"INTERMED.",0
DB -1

DB lcdp_CAR_NUMBER,0,2,3,4,0,0
DB lcdp_NUMBER_OF_RUNNERS,0,10,3,2,0,0
; DB lcdp_BEST_LAPTIME,1,10,4,4,0,0
; DB lcdp_SPLIT_LAPTIME,2,11,4,4,0,0

DRIVING_QUAL_TEXT:


DB 0,0,0,0,1,"TEMPS RESTANT:",0
DB 0,0,3,2,0,"n°",0
DB 0,13,3,2,0,"PILOTES",0
; DB 1,0,4,4,0,"MEILLEUR",0
; DB 2,0,4,0,0,"INTERMED.",0
DB -1

DB lcdp_CAR_NUMBER,0,2,3,4,0,0
DB lcdp_NUMBER_OF_RUNNERS,0,10,3,2,0,0
DB lcdp_SESSION_TIME_REMAINING,0,14,0,0,1,0

; DB lcdp_BEST_LAPTIME,1,10,4,4,0,0
; DB lcdp_SPLIT_LAPTIME,2,11,4,4,0,0


DRIVING_RACE_TEXT:

DB 0,0,0,2,0,"COURSE EN TOUR(S)",0
DB 0,0,3,1,0,"n°",0
DB 0,13,3,3,0,"PILOTES",0
DB -1

; the following enable a parameter array and put current tab and format
; and colour? in.

DB lcdp_CAR_NUMBER,0,2,3,4,0,0
DB lcdp_NUMBER_OF_RUNNERS,0,10,3,2,0,0
DB lcdp_NUMBER_OF_LAPS,0,10,0,2,0,0

; make tabs relate to top left of lcd display

BEST_TEXT:
DB 0,0,4,1,0,"MEILLEUR",0
DB 0,12,4,4,0,":",0
DB 0,15,4,4,0,".",0
DB -1

DB lcdp_BEST_LAPTIME,0,11,4,4,0,0

SPLIT_TEXT:
DB 0,0,4,1,0,"INTERMED.",0
DB 0,12,4,4,0,":",0
DB 0,15,4,4,0,".",0
DB -1

DB lcdp_SPLIT_LAPTIME,0,11,4,4,0,0


PRESS_FIRE_TEXT:

DB 0,0,4,0,6,"OK : ENGAGER RAPPORT",0
DB -1

CLEAR_FIRE_TEXT:

DB 0,1,4,4,6," ",0
DB -1

LCD_WIPE_LINEC_TEXT:

DB 0,0,2,0,0," wipe linec ",0
DB -1

NEW_LAP_MESSAGE_TEXT:

DB 0,6,1,4,3,"DEPART",0
DB 0,2,2,0,6,"ENREG. DONNEES",0
DB -1

SUSPENSION_FAILURE_TEXT:
DB 0,1,2,0,0,"DEFAUT SUSPENSION",0,-1
LOOSE_WHEEL_TEXT:
DB 0,3,2,0,0,"ROUE DESSERREE",0,-1
PUNCTURES_TEXT:
DB 0,6,2,0,0,"CREVAISON",0,-1
ENGINE_PROBLEM_TEXT:
DB 0,3,2,0,0,"PROBLEME MOTEUR",0,-1
TRANSMISSION_PROBLEM_TEXT:
DB 0,2,2,0,0,"PB. TRANSMISSION",0,-1

OIL_LEAK_TEXT:
DB 0,3,2,0,0,"FUITE D'HUILE",0,-1
THROTTLE_PROBLEM_TEXT:
DB 0,2,2,0,0,"PB. ACCELERATEUR",0,-1
ELECTRICAL_PROBLEM_TEXT:
DB 0,1,2,0,0,"PROBLEME ELECTRIQUE",0,-1

WATER_LEAK_TEXT:
DB 0,4,2,0,0,"FUITE D'EAU",0,-1
BRAKE_PROBLEM_TEXT:
DB 0,3,2,0,0,"PROBLEME FREINS",0,-1
WORN_TYRES_TEXT:
DB 0,5,2,0,0,"PNEUS USES",0,-1

MUST_COME_IN_NOW_TEXT:
DB 0,2,2,1,0,"RETOUR IMMEDIAT !",0,-1
DISQUALIFIED_TEXT:
DB 0,1,2,4,0,"TEMPS NON VALIDES !",0,-1
FUEL_LOW_TEXT:
DB 0,2,2,1,0,"PEU DE CARBURANT !",0,-1

LAPS_TO_GO_TEXT:
DB 0,0,1,0,0,"TOURS RESTANTS",0,-1


;=================== sky messages ==================================

MESS_MISMATCH:
DB "Problème de liaison. Echap pour réparer",0,-1
MESS_OCCUPY:
DB "Occupation processeur ",0,-1 ;xxx%

; dgr - vdu - 240200 - split into 2.
MESS_MINSCARS:
DB "mn",0,-1
MESS_MINSCARS1:
DB "En piste :",0,-1


MESS_TLEFT:
DB "Tps :",0,-1


; dgr - vdu -240200 - split into 3.
MESS_QHEAD:
DB "POS. N°",0,-1
MESS_QHEAD1:
DB "PILOTE",0,-1
MESS_QHEAD2:
DB "TEMPS/TOUR",0,-1


MESS_RIDINGWITH:
DB "En piste avec ",0,-1
MESS_RACE_WON:
DB "Vainqueur : ",0,-1
MESS_VIEW:
DB "Vue de ",0,-1
MESS_IS_OUT:
DB " a abandonné",0,-1
MESS_FASTLAP:
DB "Meilleur tour : ",0,-1
MESS_LAPS:
DB "Tours",0,-1
MESS_LAP:
DB "Tour ",0,-1
MESS_INPITS:
DB " est aux stands",0,-1
MESS_RACE_TIME:
DB "Temps course :",0,-1

; ------------ gp2000 ---------------------
MESS_LAPTIME:
DB "Temps au tour:",0,-1
MESS_POLE_LAPTIME:
DB "Meilleur temps :",0,-1
MESS_POLE_SPLIT_TIME:
DB "Meilleur temps intermédiaire :",0,-1
MESS_DIFFERENCE:
DB "Ecart:",0,-1
;------------------------------------------

; h_CARYELLOW_100 replaced by 79
; h_GREY_100 replaced by 39
; h_GREY_5 replaced by 2

SKYMESS_PAUSED:
DB 19,7,6,2,79,"PAUSE",0,-1
SKYMESS_RACEOVER:
DB 18,4,0,2,79,"FIN DE LA COURSE",0,-1
SKYMESS_QUAL_OVER:
DB 15,4,0,2,79,"FIN DES QUALIF.",0,-1
SKYMESS_FREE_OVER:
DB 13,4,0,2,79,"FIN ESSAIS LIBRES",0,-1
SKYMESS_PRE_OVER:
DB 11,4,0,2,79,"FIN ESSAIS PRELIMIN.",0,-1
; ------------ JCT -- QUICKLAPS added (09/04/01) ---------------------
SKYMESS_QUICKLAPS_OVER:
DB 13,4,0,2,79,"SESSION TERMINEE",0,-1
;------------------------------------------
SKYMESS_AUTO_ON:
DB 11,4,0,2,39,"Automatique : seconde(s)",0,-1
SKYMESS_AUTO:
DB 11,4,0,2,39,"Automatique",0,-1
SKYMESS_AUTO_OFF:
DB 12,4,0,2,39,"Manuel : seconde(s)",0,-1
SKYMESS_ACCTIME:
DB 15,0,0,0,39,"TEMPS ACCELERE",0,-1
SKYMESS_BLANK:
DB 5,0,0,0,2," ;",0,-1
SKYMESS_PAUSE_REQ:
DB 15,4,0,2,79,"PAUSE demandée",0,-1
SKYMESS_WAIT_PAUSE:
DB 14,4,0,2,79,"Attente de PAUSE",0,-1
SKYMESS_NETWORK_ESCAPE:
DB 14,3,0,2,79,"Appuyez sur 1 (abandon) ou 9 (continuer)",0,-1
SKYMESS_NETWORK_WAITING:
DB 14,3,0,2,79,"Attente du n°N",0,-1

DB hlight_AUTOMATIC_IN_SECONDS,19,0,0,0 ; X tab
DB hlight_CONTROL_IN_SECONDS,14,0,0,0 ; X tab
DB hlight_VDU_TIME_DIGITS,28,0,0,0 ; X tab

; values for language dependant preferences:
; 1. default driver value in the range 1 to 22 for 1998.
; calculated from ((team-1)*2 + 1 or 2 for driver)
; where team is 1 to 11 for 11 teams in 1998.
; 2. default selected track value= 1 to 16 for 1998.
; 3. Spare
; 4. Spare

; so Coulthard,Silvertone,spare,spare

DB hlight_PREFERENCES,11,10,0,0

----------------------------


does that "speak" to somebody to explain if I can change the postion of the fonts ( to choose the tyre s mainly)..or the colors??


sur se can do something there...

Re: LCD text colour
Date: May 29, 2007 11:30AM
Posted by: Viper-F1.com
I have a query about Steering Wheels.

I've been using the Renault Steering Wheel for two years now, but unfortunatly, I can never tell how far in front the leader is. The MPH is offset to the right, and then gap to the leader is written over it. Anyway of moving the MPH upwards on the LCD cause above it is dead space.

Well actually, how do you go about moving the text locations about on the LCD?
Re: LCD text colour
Date: May 29, 2007 01:45PM
Posted by: _Erix_
It's stored in the fonts folder. The .uni files contain the strings of text, the .pos files the position of these strings. You can open both these files in notepad.



[1991] [2003] [2004] [gp2 world series]
Re: LCD text colour
Date: May 29, 2007 02:56PM
Posted by: phantaman
_Erix_ Wrote:
-------------------------------------------------------
> It's stored in the fonts folder. The .uni files
> contain the strings of text, the .pos files the
> position of these strings. You can open both these
> files in notepad.

would not be better with a hex editor?

----signature--------------------------------------------------------

RELEASE => Physics (under FIA Technical Regulations)
MagicDatas? Setups? Pit Stop Strategies? Track Specific Performances? Up2Date GP?
Power Torque Curve? Where's this stuff? All download is available at ..
Sorry, only registered users may post in this forum.

Click here to login

Maintainer: mortal, stephan | Design: stephan, Lo2k | Moderatoren: mortal, TomMK, Noog, stephan | Downloads: Lo2k | Supported by: Atlassian Experts Berlin | Forum Rules | Policy