English | 简体中文
👋🙂 In the latest version, the Engine-Simulator has provided a built-in console for switching engines, which is really convenient and beautiful. So this project will not be updated again.
This is a tool for Engine Sim, with concise interactive interface. You can use it to switch engines, themes used in the simulator, and change between imperia and metric units(units changing will be available soon).
Please hit the “:star:Star” button in the upper right hand corner, if this project helps you. I really appreciate it.
When using the "Engine Sim", I always find it troublesome to switch engines. I have to modify the content of ./assets/main.mr
manually.
In addition, many engine files are written and uploaded by other users, so the format is not completely standardized. For example, some use the set_engine()
method, while some use main()
.
So I wrote this program to make it easier to switch engines and modify the configuration file.
You can find engine files made and uploaded by other users here: The Parts Catalog
---------- Here are some methods provided by the author ----------
Change between imperial and metric units
Visit the release page, find the latest version, click "Assets" and download the file Config_Loader_for_Engine_Sim-vx_x_x.zip
.
Unzip the the file Config_Loader_for_Engine_Sim-vx_x_x.zip
, and you will get a folder(can be renamed). Move the folder to the directory of Engine Sim
(in the same path as engine-sim-app.exe
).
For convenience, you can create a shortcut for Config_Loader_for_Engine_Sim.exe
in this folder.
Double click the executable file or the corresponding shortcut to run.
The main window:
① - Engine file directory ② - Theme file directory ③ - Current selected engine and theme files
Select the engine file in ①, select the theme file in ②, and click the "Apply" button to write into ./assets/main.mr
.
For some engine files, the program cannot determine the content to be written, and the following dialog box pops up. Users need to manually select:
Click the "OK" button after selection. The modification is successful when the following dialog box pops up, and the old configuration file is backed up to ./assets/main.mr.backup
:
Go back to the simulator, press Enter to update the settings.
Take the engine BMW-M52B28 as an example, the file contains several public nodes. So users need to select according to their names(only M52B28
in the figure refers to an engine)
If you are not sure about the names, click the "Open file" button to view the engine file.
There will be more updates to improve functions or fix bugs.You can click the “:eyes:Watch” button in the upper right hand corner to receive notification when the project is updated.
-
Read oldmain.mr
file on every run, and set as default values, so users don't need to change every options; - Change between imperial and metric units;
- Preview of themes;
- More beautiful;
- ...
You can put forward the problems encountered and the functions you wish to add on the "Issues" page.
[2022-10-31] Version: 2.1.0:
- Code refactoring;
- Read old file as default config;
- Fix errors caused by relative paths.
[2022-10-24] Version: 2.0.1:
- Fix the fault of the "Open file" button in the dialog box.
[2022-10-24] Version: 2.0.0:
- You can now switch themes;
- Fix some bugs about the selection dialog.
[2022-10-23] Version: 1.1.0:
- Add checks for files and paths;
- Modify the judgment on the contents of engine files;
- Modify control layout.
[2022-10-21] Version: 1.0.0:
- Display local engine files in tree view. The engine used in the simulator is selected by users, and the program writes into
./assets/main.mr
.