MaSzyna International > EU07 Simulator English forum

 Looking for up to date source code

(1/1)

Farmadupe:
Hello from a fan in the UK,

I have been made some personal edits to the source code of maszyna on github. However I notice there has been no commit to master since January this year. Also I notice that that even though github is older, there are many new features compared to v21.04 (I can see many interesting new features such as the map, but my 100% favourite is  the new "independent brake releaser")

Is the source code in github a good starting place to make edits? I am only making changes for my personal use but if I can learn the source code, I hope I can make a useful contribution. It would be nice to know if there is more recent code that I can edit.

I have a couple of ideas for changes I would like to make to the exe:
* Sometimes due to bad alignment of 3kv wire, the locomotive can disconnect from the traction network (e.g Kaliska). When the pantograph becomes disconnected, I have been thinking to "extend" the connection for a short time (maybe 0.5-2 seconds). Hopefully the pantograph will reconnect to the wire before the time runs out. Hopefully this will make it easy for the authors of a long scenery such as Kaliska
* There is a bug in v21.04 the brake handle of the BR285, where if you place it in position 2 (cutout) it will refill the brake pipe. It is currently impossible to run 2*BR285 because your train will never stop!
* For locomotives with 3-position type brake handle {apply, lap, release} such as dragon, traxx, ET21, SM48, I want to change the keyboard buttons to be the same for every locomotive (i.e 6=release, 5=lap, 2=apply)

P.S I saw this diagram in another thread. Google translate gets confused when I try and put it in English, but maybe a good translation is "Its complicated"?

Thanks!
Tom

jakubg1:
The up to date source code is on the fstate branch: https://github.com/tmj-fstate/maszyna

And diagram translation:

--- Kod: ---youby -----------------------------------------------------------------------------------------------------------------\
  |  train simulation fixes                                                  sometimes checkouted directly to simkol   |
  |                                                                                                                    |
  |                                                                                                                    |
  \/                                                                                                                   \/
 tmj -------------------------------------> milek7 (master) ------------------ milek7 (gfx-work) -------------------> milek7 (sim)
main features, bugfixes              cmake multiplatform build                  shaders                       simkol features
and changes made by tmj                                                                                                |
windows only project                                                                                                   |
  /\                                                                                                                   |
  |                                                                                                                    |
  |                            if tmj likes some simkol features he checkouts them back                                |
  \--------------------------------------------------------------------------------------------------------------------/

 
--- Koniec kodu ---

Farmadupe:
Thanks for the reply, and for the translation

Tom

Stele:
As for holding voltage, there already is such buffer. Both in supply voltage checks and in breaking if above contact line. When it still happens, you're just above threshold.

Farmadupe:
hmm, if this feature already exists, would it be possible to increase the default? Or maybe to increase the bounding box for the pantograph? I feel sorry that scenery authors must use calipers on every cm of their route to avoid misaligning the wires.

(I think there is also a similar issue when driving with time multiplication? I think there are more disconnections when this is active)

Nawigacja

[0] Indeks wiadomości

Idź do wersji pełnej
Powered by Advanced Topic Prefix Pro
Powered by SMFPacks Likes Pro Mod