nlhans / ets2-map

Map of ETS2
MIT License
14 stars 5 forks source link

Update for current version #6

Open BigFood2307 opened 4 years ago

BigFood2307 commented 4 years ago

Since this project seems to be more ore less dead, I started to fix parts of it for my own use. Maybe someone is willing to help me with some little bits, which I cant figure out myself. For example I am pretty sure I corrected the interpreter for ppb files to the new format. At least loading those files works now. The curves entry seems to be by 4 bytes longer. However there are more problems. For example, there are no cities found in the sectors. I guess, that the .base files have also changed, so the type is not read correctly. From the way they are read in the code I would guess that there was some kind of file structure assumed. Can that be found anywhere? Or are there any tips on how to find those values that are needed in the .base files? Maybe from there I can adapt it to the newer versions. I would love it, if I could fix this project, obviously I would make the new version accesible.