SerbianRailSet(ECS,PBI,FIRS&TouristSet compatible)&scenario

Discuss, get help with, or post new graphics for TTDPatch and OpenTTD, using the NewGRF system, here. Graphics for plain TTD also acceptable here.

Moderator: Graphics Moderators

DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Post by DaleStan »

Wile E. Coyote wrote:Also I saw strange GRF Codec behaviour: \D| is coded wrong; I had to put 08 in code. :?
AARGH!!!! I was sure I checked all of that code before committing it. It appears that, instead, I checked the writer twice, and the reader not at all.

Turns out I swapped \7c and \7C too. In any case, this is now fixed, and new binaries will be up just as soon as I can finish putting the releases together.
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

Patchman wrote:That's the correct code. Are you sure it's ttdpbase.grf that's resetting the 28/32px bit and not some other grf?
I have to check it. Hope it'll be checked during this day.
DaleStan wrote:
Wile E. Coyote wrote:Also I saw strange GRF Codec behaviour: \D| is coded wrong; I had to put 08 in code. :?
AARGH!!!! I was sure I checked all of that code before committing it. It appears that, instead, I checked the writer twice, and the reader not at all.

Turns out I swapped \7c and \7C too. In any case, this is now fixed, and new binaries will be up just as soon as I can finish putting the releases together.
I suppose it'd code right in 0.9.10, isn't it? Also will try in afternoon.
Thanx all for speedy feedback! :D
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

I finally installed system on my new computer, so I am now able to test errors.
GRF Codec is working OK now.
Base sprites anre OK too, I tested in any loading queue. Probably it was error in my system. :oops: Sorry for inconvenience.
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

:arrow: New Hotfix: 28.08.2006.
- Added maximum speeds for freight wagons. Now every wagon (except cabooses) has maximum speed. Please, comment if some corrections are needed.
- Added liveries changing from 2000 for Traktion-Union loco, "Sinobus" DMU and "Beovoz" EMU (coded by Death).
Enjoy! :D

P.S. I must note: this set was downloaded more than 1000 times. :]
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
User avatar
HaroldV
Traffic Manager
Traffic Manager
Posts: 178
Joined: 25 Feb 2005 16:24

Post by HaroldV »

Hi.

I'm having trouble with the latest hotfix - maybe related to problems above?

I get an error message for the serb grf at the starting screen, an error message for the serb grf in the new graphics menu, and the menu lists two entries for basegraphics grf even though I have only listed it once in my newgrf.cfg.

Is there something wrong with my settings?
Attachments
Image1.png
Image1.png (52.18 KiB) Viewed 1390 times
newgrfw.cfg
(1.19 KiB) Downloaded 250 times
ttdpatch.cfg
(34.97 KiB) Downloaded 270 times
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

I haven't forgot to reply, I simply can't solve that. I had simillar problem before I reinstalled system, but it's too radical method. Now I have no problem. Have you downloaded latest version of base graphics? And have you had problems with previous hotfixes? This hotfix is only for livery changing, it's not new changing in global variables. :?
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
User avatar
HaroldV
Traffic Manager
Traffic Manager
Posts: 178
Joined: 25 Feb 2005 16:24

Post by HaroldV »

I've recently reinstalled everything myself ... but I'll check if there's a newer basegraphics grf. I can still use an earlier hotfix version of the set, so it's not a huge problem, but I was looking forward to the speed-limited wagons and new graphics on the late electrics. :)
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

Which Patch version you use? I use 2.5.8 and have no problems. :?
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
User avatar
HaroldV
Traffic Manager
Traffic Manager
Posts: 178
Joined: 25 Feb 2005 16:24

Post by HaroldV »

I use 2.5b8 too. Unfortunately, I tried going back to an earlier SerbSet hotfix and got the same errors (which never used to happen), so it looks like I'll have to reinstall again. Ah well.

EDIT/UPDATE:

OK, I've tried reinstalling 2.5b8 from scratch, updating my Patch basegraphics grf (it was out of date), and attempted using various older versions of the SerbSetw grfs (including that experimental grf you sent me for testing out the updated MUs, Wile) and in every case the results remain a "wrong grf version" error for the SerbSet and the Patch basegraphics grf appearing twice in the in-game new graphics menu.

I am now :?: and :cry:
Scautura
Engineer
Engineer
Posts: 102
Joined: 01 Aug 2006 07:30

Post by Scautura »

I have exactly the same problem as HaroldV - however, if I remove the basegraphics from the top of the newgrf file I only get one copy of the basegraphics in the list... But still when I create a new game the graphics are disabled. The funny thing is that the second file still "loads" - I can see the items from it in the buy list, but I don't have the courage to buy! (OK, not true, I just haven't tried yet.)

Edit: I can buy items from the second set, and they work... They just do what the pumpkin coach did and revert to "whatever" they were before the Serbian set affected them (based on ID, I presume - funny watching a cola tanker that looks like a coal truck with 0hp try and pull a train with a max speed of 120mph - mish mash of mush, basically) if you try to change any of the newgrf settings.

More edit: Using 2.5b8, 2.6n1014 and n1022

Scautura
Duct tape is like the Force - it has a Dark side, a Light side, and it holds the universe together.
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

Uh... it's out of my ability to solve this problem. I hope some of better coders will solve that. Meanwhile, all I could do is to try to cut suspitious Action D from GRFs. I'll try to do that ASAP.
Other thing: I haven't tried set with nighties. But with Patch 2.5.8 everything is good to me. :?
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

OK, here is temporary sollution.
Firs try to download this base GRF. It works good for me.
If there is no change, here is alternate set. You should have no problems, but you'll have no 32 pixels length inside depot.
Meanwhile, please check this leading code (for both sets code is simillar):

Code: Select all

    0 * 4	 EB 09 00 00
    1 * 6	 07 83 01 \7> 02 00
    2 * 272	 08 04 "DI" 00 04 "Serbian stangard gauge rail "
	 "set" 00 "Artists: Wile E. Coyote, Purno, "
	 "Singaporekid, Colonel32, Sanchimaru, "
	 "George. Coders: Lakie, DaleStan, "
	 "Wile E. Coyote, Patchman, George, "
	 "Death. Data collectors: Wile E. "
	 "Coyote, lifeblood, Siema, Marek. "
	 "©2005-2006. All rights reserved." 00
    3 * 9	 07 8B 04 \7> A8 02 0A 02 02
    4 * 19	 0B 03 1F 00 "2.0.1 alpha 69" 00
    5 * 9	 07 8B 04 \7< B2 02 0A 02 00
    6 * 6	 07 85 01 \71 37 02
    7 * 17	 0B 03 1F 02 "newtrains on" 00
    8 * 6	 07 85 01 \70 37 00
    9 * 9	 07 88 04 \7gg 4E 4C 04 50 02
   10 * 88	 0B 03 1F "ÿThis set is incompatible with "
	 "EMU 680. You have to disable EMU "
	 "680 to use this set." 00
   11 * 9	 07 88 04 \7GG 4E 4C 04 50 00
   12 * 6	 07 85 01 \71 1B 01
   13 * 16	 0B 01 1F 02 "multihead 0" 00
   14 * 6	 07 85 01 \71 3C 02
   15 * 26	 0B 03 1F 02 "electrifiedrailway on" 00
   16 * 6	 07 85 01 \70 3C 00
   17 * 6	 07 85 01 \71 2C 01
   18 * 22	 0B 01 1F 02 "gradualloading on" 00
   19 * 6	 07 85 01 \70 16 01
   20 * 26	 0B 01 1F 02 "persistentengines off" 00
   21 * 6	 07 85 01 \71 5D 01
   22 * 23	 0B 01 1F 02 "wagonspeedlimits 0" 00
   23 * 7	 00 08 01 01 10 08 0B
   24 * 26	 04 00 9F 01 "ÿÜSerbian Dinar (DIN)" 00
   25 * 29	 00 08 06 01 03 0A FF DC 0B E0 22 02 00 0C 2E 01 0D "DIN " 0E " DIN" 0F 00 00
   26 * 9	 0D 8E \D= FF FF 02 00 00 00
   27 * 9	 0D 9E \D| 9E FF 08 00 00 00
EDIT: Attachment deleted. You can find alternate version down.
Last edited by Wile E. Coyote on 02 Oct 2006 15:08, edited 1 time in total.
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
Scautura
Engineer
Engineer
Posts: 102
Joined: 01 Aug 2006 07:30

Post by Scautura »

OK, have tried a few combinations:

b8, specified base: Still SerbSet gives same wrong version error.
b8, *no* base: TTDP gives error saying it can't find base graphics, but SerbSet loads fine. I was encouraged to try without the base graphics because I started n1022 first and it didn't like that version of the base graphics, but loaded the SerbSet just fine.
Between these two, it implies to me that there is a conflict between the base and the "latest hotfix" version (not counting the alternate version). Not being a GRF coder, I can't add anything to that, I'm afraid. :(

n1022, new SerbSet: Works nicely, but I can't see any difference?

What does the 32/28px thing do, exactly? I'm probably not seeing anything because I have no idea what it does - or it only affects later (longer?) rolling stock.

Scautura
Duct tape is like the Force - it has a Dark side, a Light side, and it holds the universe together.
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

You just have with official Hotfix better look in depot or trains list. By default it's 29 pixels, and Hotfix adjusts it to 32. It's not visible with small wagons, but with big wagons, you have glitches with wagons. It's only difference between official Hotfix and alternate version. I just added in sprite 27 as first byte 0C (to make it ignored).
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
User avatar
HaroldV
Traffic Manager
Traffic Manager
Posts: 178
Joined: 25 Feb 2005 16:24

Post by HaroldV »

The alernative base grf still gave the same errors, but the alternative Serb Set works perfectly (see what you mean about spacing in the depot window, but that's a small price to pay).

Thanks very much for doing this, Wile. I've missed my regular SerbSet fix. :wink:
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

You're allways welcome. :D
Glad I helped, but question still stays: I did obviously something wrong, but I don't know what. :?
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

:arrow: New Hotfix: 02.10.2006.
- Added popular names for some locomotives.
If official Hotfix fails to load, here is alternate version.
Enjoy! :D
EDIT: Attachment is deleted because problem seems to be solved.
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

:arrow: New Hotfix: 05.11.2006.
- Added popular names for some locomotives.
- Some technical data are more accurate now.
- Set is now fully ECS and UKRSI compatible (including graphics for all new cargos!!!) with big help of DaleStan and PikkaBird in AI picker coding and Patchman's work on implementing var. 40 in Patch :D . Pikka, welcome to team! :D We have one more great contributor!
Enjoy! :D
And wait for appropriate scenarios. :wink:

Note: Don't expect too much miracles of AI, they use to behave more strange than usual. :? ECS is somehow buggy (which I described here, but probably there are more bugs), and some cargos are sometimes untransportable by AI, and they sometimes build dummy routes connecting industries which have no production connection (AI behaviour works allmost perfect with higher priority of standard gauge set and activated UKRSI, and bad with higher priority of narrow gauge set and activated ECS. Other GRF combinations are somewhere between.).
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
Scautura
Engineer
Engineer
Posts: 102
Joined: 01 Aug 2006 07:30

Post by Scautura »

Using the Serbian set and UKRSI, I don't get wagons to transport plastic or lumber - I do however get wagons that can transport fuel oil, gravel, and clay. If this an oversight, or am I doing something wrong? I've resorted to using LV4 trucks to carry the uncarryables, but that's not exactly desirable.

Scautura
Duct tape is like the Force - it has a Dark side, a Light side, and it holds the universe together.
User avatar
Wile E. Coyote
Tycoon
Tycoon
Posts: 8515
Joined: 08 Jul 2004 22:14
Skype: wile.e.coyote2
Location: Belgrade, Serbia
Contact:

Post by Wile E. Coyote »

Thanx for bug report!

Indeed, there are no wagons for lumber and plastic. Label for lumber is WDPR and for plastics PLST if I'm right. They are working with ECS (tankers transport plastic and flatbeds and gondolas wooden products) but here is really problem. Hope somebody could help to solve this bug (in first place Pikka).
Serbian rail set with Serbian scenario (ECS, PBI, FIRS and Tourist set compatible) Website | Topic and download | Latest version: 03.06.2015.
Serbian tram set Tracking table | TTD Patch tram set Latest version: 17.06.2015. | Open TTD Remix Latest version: 11.07.2015.
WIN-DOS GRF Converter Topic and download | Version 0.2.1: 09.01.2005.


Runner-up in "Best avatar Forums award" for years 2006 and 2010!
Post Reply

Return to “Graphics Development”

Who is online

Users browsing this forum: No registered users and 6 guests