PDash - Apps - DrivingItalia.NET simulatori di guida Jump to content

PDash


PandaR1

Recommended Posts

Dopo bigshifter sto lavorando ad una nuova app... si chiama pdash che sta per programmable dash (o panda dash ;) )

In pratica e' partita come una replica di una dash monocromatica motec, ma poi si e' evoluta in direzione della massima configurabilita' e modificabilita' da parte dell'utente.

L'app si basa su configurazioni e skin.

Una configurazione e' un elenco di finestre, ogni finestra adotta una skin.

Ogni finestra puo' essere di forma e dimensione diverse dalle altre, usare un set di caratteri suo.

Nelle finestre ci finiscono i moduli. Ogni modulo e' uno strumento come marcia, velocita', giri, tempo attuale, tempo migliore, delta, carburante residuo, contagiri a barre, etc etc

Ogni finestra ha uno o piu' moduli. La skin decide lo sfondo della finestra, le dimensioni e i parametri dei singoli moduli.

In questo modo credo che l'app abbia una configurabilita' molto alta, e in futuro con la creazione di nuovi moduli dovrebbe essere in grado di accontentare chiunque voglia farsi una dash senza programmare una riga...

 

PDASH v1.5.2

Pdash is a higly customizable dash, based on skins, each dash can have a number of modules like rpm, speed, various laptimes and tyres info, etc.

download

 

Edited by VELOCIPEDE
Link to comment
Share on other sites

  • Replies 75
  • Created
  • Last Reply

Top Posters In This Topic

  • PandaR1

    39

  • blackwood91

    22

  • Magralsa

    2

  • gianhwu

    2

Top Posters In This Topic

Posted Images

se ho capito bene sarebbe una singola app con tutti i parametri essenziali completamente configurabile a nostro piacimento sia in dimensioni che visibilità e posizione sullo schermo per ogni singolo dato? sei un grande Panda!!!!

Link to comment
Share on other sites

se ho capito bene sarebbe una singola app con tutti i parametri essenziali completamente configurabile a nostro piacimento sia in dimensioni che visibilità e posizione sullo schermo per ogni singolo dato? sei un grande Panda!!!!

 

si... puoi fare un numero di finestre a piacere e in ognuna metti gli strumenti che vuoi... lo sfondo di ogni finestra e' configurabile, cosi' come il set di caratteri e i parametri di ogni singolo modulo, per esempio puoi avere una finestra principale con marcia velocita' giri e magari avere una finestra separata con i giri in carattere piu' grande, oppure in una finestra avere la velocita' in km/h e in un'altra in miglia... l'unica limitazione che ho messo e' che in una singola finestra puoi avere un modulo solo una volta, cioe' non puoi mettere due volte i giri o la velocita', ma mi pare ragionevole... invece su finestre diverse puoi duplicare anche tutto...

 

l'idea delle configurazioni nasce perche' vorrei poter cambiare configurazione al volo ad esempio passando da qualifica a gara, cliccando sull'app passi da una configurazione con i tempi in evidenza ad una in cui e' dato rilievo alla posizione di gara...

 

la struttura base e' gia funzionante e funzionano i moduli marcia, flash cambio marcia, velocita', rpm, temperatura gomme e usura gomme... prima del rilascio come minimo aggiungo tempo sul giro attuale e best, posizione di gara, delta dal miglior giro, carburante residuo e contagiri a barre... poi vorrei integrare le funzionalita' di big shifter quindi i led di cambio marcia configurabili...

 

magari stasera metto un video dello stato attuale...

Edited by PandaR1
Link to comment
Share on other sites

questo e' il file di configurazione master

 

[GENERAL]
configurations = 2
[CONFIG1]
windows = 1
skin1 = default1
[CONFIG2]
windows = 2
skin1 = default1
skin2 = default2

Edited by PandaR1
Link to comment
Share on other sites

questo il file config.ini di una skin... non tutti le sezioni sono usate, ad ora...

 

[GENERAL]
background_image = background.png
# in pixels
size_x = 1500
# in pixels
size_y = 800
# size factor
scale = 0.4
# in pixels
chars_size_x = 180
# in pixels
chars_size_y = 240
# factor multiplied by char size
chars_spacing_mult = 1

[GEARS]
is_present = True
flash = True
background_flash = flash.png
# in seconds
flash_time = 0.03
# from 0 to 1
pos_x = 0.45
# from 0 to 1
pos_y = 0.19
# size factor of chars relative to chars image size, scaled by overall size
scale = 1

[sPEEDOMETER]
is_present = True
uom = KPH
pos_x = 0.25
pos_y = 0.55
scale = 0.5
justify_with = space
label_present = True
label = SPEED
label_pos_x = 0.1
label_pos_y = 0.55
label_scale = 0.2
uom_label_present = True
uom_pos_x = 0.1
uom_pos_y = 0.6
uom_scale = 0.2

[REVMETER]
is_present = True
pos_x = 0.5
pos_y = 0.55
scale = 0.5
justify_with = space
label_present = True
label = RPM
label_pos_x = 0.81
label_pos_y = 0.55
label_scale = 0.2

[TYRES_TEMP]
is_present = True
pos_fl_x = 0.19
pos_fl_y = 0.75
pos_fr_x = 0.27
pos_fr_y = 0.75
pos_rl_x = 0.19
pos_rl_y = 0.83
pos_rr_x = 0.27
pos_rr_y = 0.83
scale = 0.2
label_present = True
label = TYR
label_pos_x = 0.1
label_pos_y = 0.75
label_scale = 0.2
uom = C
uom_label_present = True
uom_pos_x = 0.37
uom_pos_y = 0.75
uom_scale = 0.2

[TYRES_WEAR]
is_present = True
pos_fl_x = 0.39
pos_fl_y = 0.75
pos_fr_x = 0.47
pos_fr_y = 0.75
pos_rl_x = 0.39
pos_rl_y = 0.83
pos_rr_x = 0.47
pos_rr_y = 0.83
scale = 0.2
label_present = False
label = TYR
label_pos_x = 0.1
label_pos_y = 0.75
label_scale = 0.2
uom = percent
uom_label_present = True
uom_pos_x = 0.57
uom_pos_y = 0.75
uom_scale = 0.2

[LAPTIME]
is_present = True
pos_x = 0.5
pos_y = 0.5
scale = 0.04

[bESTLAP]
is_present = True
pos_x = 0.5
pos_y = 0.5
scale = 0.04

[POSITION]
is_present = True
pos_x = 0.5
pos_y = 0.5
scale = 0.04

[FUEL]
is_present = True
pos_x = 0.5
pos_y = 0.5
scale = 0.04

Edited by PandaR1
Link to comment
Share on other sites

Ecco il video... la dash stile motec e' ovviamente quella che sto curando, l'altra in legno l'ho fatta solo per far vedere la versatilita'... ne ho messo due copie ciascuna, usando la stessa skin, per far vedere che gestisce qualunque numero di finestre...

 

https://youtu.be/2vt-J-XeX38

Link to comment
Share on other sites

come potete vedere dall'ini di una skin l'app e' piuttosto configurabile... ;)

 

# all positions are relative to upper left corner of images
# coordinates origin 0,0 = upper left corner

[GENERAL]
background_image = background.png
# in pixels
size_x = 1500
# in pixels
size_y = 800
# size factor
scale = 0.4
# in pixels
chars_size_x = 180
# in pixels
chars_size_y = 240

[GEARS]
is_present = True
flash = True
background_flash = flash.png
# in seconds
flash_time = 0.03
# from 0 to 1
pos_x = 0.48
# from 0 to 1
pos_y = 0.36
# size factor of chars relative to chars image size, scaled by overall size
scale = 1

[sPEEDOMETER]
is_present = True
uom = KPH
pos_x = 0.6
pos_y = 0.3
scale = 0.5
kerning = 1
format_string = {0:3.0f}
label_present = False
label = SPEED
label_pos_x = 0.1
label_pos_y = 0.55
label_scale = 0.2
label_kerning = 1
uom_label_present = True
uom_pos_x = 0.7
uom_pos_y = 0.23
uom_scale = 0.2
uom_kerning = 1

[REVMETER]
is_present = True
pos_x = 0.63
pos_y = 0.5
scale = 0.5
kerning = 1
format_string = {0:5.0f}
label_present = True
label = RPM
label_pos_x = 0.85
label_pos_y = 0.43
label_scale = 0.2
label_kerning = 1

[TYRES_TEMP]
is_present = True
pos_fl_x = 0.06
pos_fl_y = 0.66
pos_fr_x = 0.14
pos_fr_y = 0.66
pos_rl_x = 0.06
pos_rl_y = 0.72
pos_rr_x = 0.14
pos_rr_y = 0.72
scale = 0.2
kerning = 1
format_string = {0:3.0f}
label_present = False
label = TYR
label_pos_x = 0.14
label_pos_y = 0.56
label_scale = 0.2
label_kerning = 1
uom = C
uom_label_present = True
uom_pos_x = 0.22
uom_pos_y = 0.66
uom_scale = 0.2
uom_kerning = 1

[TYRES_WEAR]
is_present = True
pos_fl_x = 0.06
pos_fl_y = 0.78
pos_fr_x = 0.14
pos_fr_y = 0.78
pos_rl_x = 0.06
pos_rl_y = 0.84
pos_rr_x = 0.14
pos_rr_y = 0.84
scale = 0.2
kerning = 1
format_string = {0:3.0f}
label_present = False
label = TYR
label_pos_x = 0.22
label_pos_y = 0.83
label_scale = 0.2
label_kerning = 1
uom = percent
uom_label_present = True
uom_pos_x = 0.22
uom_pos_y = 0.78
uom_scale = 0.2
uom_kerning = 1

[LAPTIME]
is_present = True
pos_x = 0.75
pos_y = 0.72
scale = 0.2
kerning = 1.1
format_string_mm = {0:2.0f}
format_string_ss = {0:02.0f}
format_string_ms = {0:03.0f}
label_present = True
label = CUR
label_pos_x = 0.65
label_pos_y = 0.72
label_scale = 0.2
label_kerning = 1

[LASTLAP]
is_present = True
pos_x = 0.75
pos_y = 0.78
scale = 0.2
kerning = 1.1
format_string_mm = {0:2.0f}
format_string_ss = {0:02.0f}
format_string_ms = {0:03.0f}
label_present = True
label = LST
label_pos_x = 0.65
label_pos_y = 0.78
label_scale = 0.2
label_kerning = 1

[bESTLAP]
is_present = True
pos_x = 0.75
pos_y = 0.84
scale = 0.2
kerning = 1.1
format_string_mm = {0:2.0f}
format_string_ss = {0:02.0f}
format_string_ms = {0:03.0f}
label_present = True
label = BST
label_pos_x = 0.65
label_pos_y = 0.84
label_scale = 0.2
label_kerning = 1
only_if_valid = True
max_tyres_out = 2

[FUELREM]
is_present = True
# LT liters GL gallons
uom = LT
format_string = {0:5.1f}
pos_x = 0.42
pos_y = 0.72
scale = 0.2
kerning = 1.1
label_present = True
label = FUEL
label_pos_x = 0.31
label_pos_y = 0.72
label_scale = 0.2
label_kerning = 1
uom_label_present = True
uom_pos_x = 0.54
uom_pos_y = 0.72
uom_scale = 0.2
uom_kerning = 1

[FUELPERLAP]
is_present = True
# LT liters GL gallons
uom = LT
format_string = {0:5.1f}
pos_x = 0.42
pos_y = 0.78
scale = 0.2
kerning = 1.1
label_present = True
label = LT/L
label_pos_x = 0.31
label_pos_y = 0.78
label_scale = 0.2
label_kerning = 1
uom_label_present = True
uom_pos_x = 0.54
uom_pos_y = 0.78
uom_scale = 0.2
uom_kerning = 1

[FUELREMLAPS]
is_present = True
uom = LP
format_string = {0:5.1f}
pos_x = 0.42
pos_y = 0.84
scale = 0.2
kerning = 1.1
label_present = True
label = REM
label_pos_x = 0.31
label_pos_y = 0.84
label_scale = 0.2
label_kerning = 1
uom_label_present = True
uom_pos_x = 0.54
uom_pos_y = 0.84
uom_scale = 0.2
uom_kerning = 1

[DELTA]
is_present = True
uom = S
format_string = {0:+5.1f}
pos_x = 0.42
pos_y = 0.66
scale = 0.2
kerning = 1.1
label_present = True
label = DT
label_pos_x = 0.31
label_pos_y = 0.66
label_scale = 0.2
label_kerning = 1
uom_label_present = True
uom_pos_x = 0.54
uom_pos_y = 0.66
uom_scale = 0.2
uom_kerning = 1

[LAP]
is_present = True
format_string = {0:>7.0f}
pos_x = 0.75
pos_y = 0.66
scale = 0.2
kerning = 1.1
label_present = True
label = LAP
label_pos_x = 0.65
label_pos_y = 0.66
label_scale = 0.2
label_kerning = 1

[REVGRAPH]
is_present = True
# in pixels
size_x = 975
# in pixels
size_y = 400
frames = 39
# frame zero can be used as a background with static elements
always_show_frame_zero = False
prefix = rev_
pos_x = 0.08
pos_y = 0.13
scale_x = 0.8
scale_y = 0.8
label_present = False
label = RPM
label_pos_x = 0.2
label_pos_y = 0.4
label_scale = 0.3
label_kerning = 1
low_rev_perc = 0
high_rev_perc = 100

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.