
openbve
Paquet d’installation silencieuse pour openbve
1.11.2.1-1
- package: tis-openbve-portable
- name: openbve
- version: 1.11.2.1-1
- maintainer: Amel FRADJ
- licence: https://openbve-project.net/copyright
- target_os: windows
- architecture: all
- signature_date:
- size: 15.97 Mo
- homepage : www.openbve-project.net
package : tis-openbve-portable
version : 1.11.2.1-1
architecture : all
section : base
priority : optional
name : openbve
categories :
maintainer : Amel FRADJ
description : OpenBve is a free, open source, license-free train driving simulator
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr : OpenBve est un simulateur de conduite de train sans licence, open source et gratuit
description_pl : OpenBve to darmowy, otwarty i pozbawiony licencji symulator jazdy pociągiem
description_de : OpenBve ist ein lizenzfreier, Open-Source- und kostenloser Zugfahrsimulator
description_es : OpenBve es un simulador de conducción de trenes gratuito, de código abierto y sin licencia
description_pt : O OpenBve é um simulador de condução de comboios gratuito, de código aberto e sem licença
description_it : OpenBve è un simulatore di guida di treni gratuito, open source e privo di licenza
description_nl : OpenBve is een gratis, open source, licentievrije treinbesturingssimulator
description_ru : OpenBve - это бесплатный лицензионный симулятор вождения поезда с открытым исходным кодом
audit_schedule :
editor :
keywords :
licence : https://openbve-project.net/copyright
homepage : www.openbve-project.net
package_uuid : 0d0e2ed1-ffc7-4365-87e7-344eeae2949d
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 98a27c147e60fb9335e7531047df27df6b448c95c7d944891147d3cb082c6d04
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-07-01T16:06:34.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : wx3aZR/aGDtY4APEWrbHNkSVeCkKH/Jo1ms4DAXFxtcUTYu9AhaauvB2Cga+AimoJr6JHbaSvJ96wUOnMYyssZVGEoIUqrZmHSxEe5CESOFC0YQwdmmDhhWipLGBOcWJcO06gzGbBRrCdk2KCu4eWXhifYLc/tGKyKhb7MTVhvLCSgp190NtLy2eL9AlHyQk1v6dIP8M1f7vDAEAQwPPdEEWmt37p4k1p3BPLGNsNlgHKRwUTNwF1c/Qd22X859mBEp3KKEHsyrNEbcfLOIgl7/u02dfABc0DeFdnzY6JrcBTRc8ldzJiByJE3/OWXP3tJF6ZhG6aEI4MSDtbt/iwg==
# -*- coding: utf-8 -*-
from setuphelpers import *
"""
"""
app_name = "openBVE"
editor_dir = makepath(programfiles, "openBVE")
app_dir = makepath(editor_dir, "openBVE")
app_path = makepath(app_dir,"openBVE.exe")
audit_version = False
def get_installed_version(app_path):
return get_file_properties(app_path).get("FileVersion", "")
def install():
# Declaring local variables
zip_name = glob.glob(f"*.zip")[0]
unzipped_dir = "openBVE"
# Installing software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir) and force:
remove_tree(app_dir)
mkdirs(app_dir)
print("Extracting: %s to: %s" % (zip_name, unzipped_dir))
unzip(zip_name, unzipped_dir)
print('Copy openBVE to %s' % app_dir)
copytree2(unzipped_dir, app_dir, onreplace=default_overwrite)
# Creating custom shortcuts
create_desktop_shortcut(app_name, target=app_path)
create_programs_menu_shortcut(app_name, target=app_path)
def audit():
# Auditing software
audit_status = "OK"
installed_version = get_installed_version(app_path)
if Version(installed_version) < Version(control.get_software_version()) and audit_version:
print("%s is installed in version (%s) instead of (%s)" % (app_name, installed_version, control.get_software_version()))
audit_status = "WARNING"
elif isdir(app_dir) and not dir_is_empty(app_dir):
print("%s (%s) is installed" % (app_name, installed_version))
audit_status = "OK"
else:
print("%s is not installed" % app_name)
audit_status = "ERROR"
return audit_status
def uninstall():
# Uninstalling software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir):
remove_tree(app_dir)
if dir_is_empty(editor_dir):
remove_tree(editor_dir)
# Removing shortcuts
remove_desktop_shortcut(app_name)
remove_programs_menu_shortcut(app_name)
# -*- coding: utf-8 -*-
from setuphelpers import *
import re
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
git_repo = "leezer3/OpenBVE"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
for download in json_load["assets"]:
if download["browser_download_url"].endswith(".zip") :
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
filename = download["name"]
break
if not isfile(filename):
package_updated = True
wget(url_dl,filename,proxies=proxies)
#nettoyer les fichiers temporaires
for f in glob.glob('*.zip'):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
4cd699ef3438c61bce733aea77310b44c834422cd1d788d9e999a71a3b3d7394 : OpenBVE-1.11.2.1.zip
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
007488f2c57722240eecaf58c9e833ef00685d341c5ffeaf7586e26dc3b00736 : WAPT/control
98a27c147e60fb9335e7531047df27df6b448c95c7d944891147d3cb082c6d04 : WAPT/icon.png
8394ce7a10acb795a0d7b4a13ea1bd8c394147c20dd761ad1dbd62e80e869665 : luti.json
8ebd1d490eb63223e477fe1aafe5ca2f78879e213df8d15884d2100710bfb78a : setup.py
744e3f348d6b974895c5b62aff72547f8bff688aab911172fbab9b60566eca4a : update_package.py