Page 4 of 8
Re: Some Requests (Need Help)
Posted: 09 Sep 2010 16:54
by planetmaker
RL Conroy wrote:
lawton27 schreef:
Yes when you decompile it you should be able to see the name in clear text, of course you can't release someone else's grf just edited so the only use of that might be to add that its your version and not for release so you don't forget.
Let me guess... It's in the NFO
But how to open and Edit it?
With a plain text editor of your choice.
Re: Some Requests (Need Help)
Posted: 09 Sep 2010 17:00
by RL Conroy
Yes when you decompile it you should be able to see the name in clear text
With a plain text editor of your choice.
You are Kidding me... Is that So Simple?
So i can open it with Notepad?
Wow it works!
Oh no... Not more Numbers

EDIT:
<Removed Text because it sounds Confusing>
REEDIT:
Oh and i'm going to Understand the NFO Code in GRFCodec!
But what means Everything?
<pcx filename> <x> <y> <type> <y-size> <x-size> <x-ofs> <y-ofs>

Can someone Explain it?
Re: Some Requests (Need Help with NFO)
Posted: 10 Sep 2010 16:09
by RL Conroy
Please?
I only want to Know what this means at GRFCodec:
Code: Select all
<pcx filename> <x> <y> <type> <y-size> <x-size> <x-ofs> <y-ofs>
Can Someone Help me?
Re: Some Requests (Need Help with NFO)
Posted: 10 Sep 2010 16:17
by planetmaker
Re: Some Requests (Need Help with NFO)
Posted: 10 Sep 2010 16:29
by RL Conroy
Yes thank you planetmaker.

Now i can Create my GRF!
EDIT: Ehmm... What means Property 7800?
Can't find it out..
Founded what The 7 Bit Means: "PBS"
Re: Some Requests (Need Help with NFO)
Posted: 11 Sep 2010 15:41
by FooBar
That doesn't seem to be a proper sprite. It looks like part of a real sprite, missing the file name and x-pos
Re: Some Requests (Need Help with NFO)
Posted: 11 Sep 2010 17:03
by RL Conroy
Here is the Code what i'm Working/Talking about.
Code: Select all
6517 sprites/dbsetxlw.pcx 258 7800 01 21 6 -2 -19
6518 sprites/dbsetxlw.pcx 274 7800 01 21 6 -2 -19
6519 sprites/dbsetxlw.pcx 290 7800 01 21 6 -2 -19
6520 sprites/dbsetxlw.pcx 306 7800 01 21 6 -2 -19
6521 sprites/dbsetxlw.pcx 322 7800 01 21 6 -2 -19
6522 sprites/dbsetxlw.pcx 338 7800 01 21 6 -2 -19
6523 sprites/dbsetxlw.pcx 354 7800 01 21 6 -2 -19
6524 sprites/dbsetxlw.pcx 370 7800 01 21 6 -2 -19
6525 sprites/dbsetxlw.pcx 386 7800 01 21 6 -2 -19
6526 sprites/dbsetxlw.pcx 402 7800 01 21 6 -2 -19
6527 sprites/dbsetxlw.pcx 418 7800 01 21 6 -2 -19
6528 sprites/dbsetxlw.pcx 434 7800 01 21 6 -2 -19
6529 sprites/dbsetxlw.pcx 450 7800 01 21 6 -2 -19
6530 sprites/dbsetxlw.pcx 466 7800 01 21 6 -2 -19
6531 sprites/dbsetxlw.pcx 482 7800 01 21 6 -2 -19
6532 sprites/dbsetxlw.pcx 498 7800 01 21 6 -2 -19
6533 sprites/dbsetxlw.pcx 514 7800 01 21 6 -2 -19
6534 sprites/dbsetxlw.pcx 530 7800 01 21 6 -2 -19
6535 sprites/dbsetxlw.pcx 546 7800 01 21 6 -2 -19
6536 sprites/dbsetxlw.pcx 562 7800 01 21 6 -2 -19
6537 sprites/dbsetxlw.pcx 578 7800 01 21 6 -2 -19
6538 sprites/dbsetxlw.pcx 594 7800 01 21 6 -2 -19
6539 sprites/dbsetxlw.pcx 610 7800 01 21 6 -2 -19
6540 sprites/dbsetxlw.pcx 626 7800 01 21 6 -2 -19
6541 sprites/dbsetxlw.pcx 642 7800 01 21 6 -2 -19
6542 sprites/dbsetxlw.pcx 658 7800 01 21 6 -2 -19
6543 sprites/dbsetxlw.pcx 674 7800 01 21 6 -2 -19
6544 sprites/dbsetxlw.pcx 690 7800 01 21 6 -2 -19
6545 sprites/dbsetxlw.pcx 706 7800 01 21 6 -2 -19
6546 sprites/dbsetxlw.pcx 722 7800 01 21 6 -2 -19
6547 sprites/dbsetxlw.pcx 738 7800 01 21 6 -2 -19
6548 sprites/dbsetxlw.pcx 754 7800 01 21 6 -2 -19
Directly from GRFCodec!
This are Oneway & Twoway PBS Signals from the DBSETXL.
I am Creating a GRF that Replaces the PBS Signals only.
Re: Some Requests (Need Help with NFO)
Posted: 11 Sep 2010 17:09
by FooBar
Well yes, those are correct real sprites. The snippet you showed earlier is not.
In this code 7800 is the value for y-pos, i.e. the y-value for the location of the sprite in the pcx file, measured in pixels from the top of the file.
Also note that you cannot 'just' replace the PBS signals, you need to replace/re-add the presignal and semaphore graphics. Why? That's just how the
specification works.
Re: Some Requests (Need Help with NFO)
Posted: 11 Sep 2010 17:30
by RL Conroy
Oh but that is Simple.
I (can?

) Reuse the Code from the Files ttdpbasew.grf.
I have ALL the Sprites of the Original Pre-Signal & Semaphore Sprites.
And also the Sprites from DBSETXL i wanna Replace.
But what mean the First line of Numbers just After the FileName from the Codes Above?
Re: Some Requests (Need Help with NFO)
Posted: 11 Sep 2010 20:46
by michael blunck
RL Conroy wrote:
I (can?

) Reuse the Code from the Files ttdpbasew.grf.
I have ALL the Sprites of the Original Pre-Signal & Semaphore Sprites.
And also the Sprites from DBSETXL i wanna Replace.
I don´t know exactly what you´re going to do, but let me tell you that the DB Set is not under the GPL or a similar license, so you
cannot "use" something from it and
release it.
The (older) signals.grf is under the GPL, though. Those signals are also part of TTDPatch.grf and OTTD.
regards
Michael
Re: Some Requests (Need Help with NFO)
Posted: 11 Sep 2010 21:01
by RL Conroy
michael blunck wrote:I don´t know exactly what you´re going to do
I'm trying to Create a GRF for myself to Replace my Strange PBS Signals.
If i'm going to
Release Something i first Ask before i do that.
The PBS Signals from TTDPatch are WAY more Nicer that the OpenTTD Version. (That's my Opinion.)
Ever seen a Signal with only 2 Lights BOTH on Red or GREEN?

I don't.
But can/may i do that?
EDIT3: Or can you michael Release a GRF with those Signals?
I think that other People want that too.
EDIT: Which Code must i Add to get my Own GRF Name and Description?
Nevermind, Founded it
Re: Some Requests (Need Help with NFO)
Posted: 13 Sep 2010 18:25
by RL Conroy
UPDATE: I Created my First GRF!

I Replaced my Block Signals! WooHoo!
And now the other Signals are on the Way to be Replaced!
And then i will Create Station Tiles!
Thanks for all your help to make it this far for me!
UPDATE: I Created my Second GRF that Replaces the PBS Signals into PBS Signals from TTDPatch!
<
Reedited Post>
Re: Some Requests (GRF Released: PBS Signal Replacement)
Posted: 19 Sep 2010 15:20
by RL Conroy
I wanna put the PBS Signal Replacement on GRFCrawler but i Can't Upload a Picture!
I met all the Requirements to Upload it but it says this to me when i do that:
Invalid chars like / ' \ or spaces
What can i do to make it work?
And also what means this Code:
Code: Select all
511 * 6 07 85 01 \70 3B F2
512 * 6 07 86 01 \70 04 F1
(Included in openttdw.grf)
Is this the Code to Allow More Graphics (Semaphores) for on Driving Side?
Can someone Explain it?
Because at
TTDPatch Wiki thay say Nothing about it.
Or i'm Looking on the Wrong place
Re: Some Requests (GRF Released: PBS Signal Replacement)
Posted: 19 Sep 2010 15:42
by FooBar
RL Conroy wrote:What can i do to make it work?
Use a different filename, like one with just letters and/or numbers.
RL Conroy wrote:And also what means this Code:
Action 7 property 85 and 86 respectively, read one byte, skip if flag 3B and 04 respectively are not set, skip F2 and F1 sprites respectively (or skip to labels F2 and F1 respectively).
The wiki has the exact details. If you want to know something about an action 7, you need not look at a varaction2 page. Look here instead:
http://wiki.ttdpatch.net/tiki-index.php?page=Action7
Re: Some Requests (GRF Released: PBS Signal Replacement)
Posted: 19 Sep 2010 16:18
by RL Conroy
So that means i can use this Code to Create Signals Depending on the Switch "Show Signals to Drive Side"?
I hope so because then i can Complete my "PBS Signal Replacement" GRF!
Re: Some Requests (GRF Released: PBS Signal Replacement)
Posted: 19 Sep 2010 16:32
by Timmaexx
Those signals are looking very similar to MB's ones, aren't they?
Re: Some Requests (GRF Released: PBS Signal Replacement)
Posted: 19 Sep 2010 16:34
by RL Conroy
...Um yes they are but is that not good then?
micheal blunck said this some posts ago:
michael blunck wrote:The (older) signals.grf is under the GPL, though. Those signals are also part of TTDPatch.grf and OTTD.
If it is not Good that this GRF is Here i will Remove it at once.
Re: Some Requests (GRF Released: PBS Signal Replacement)
Posted: 19 Sep 2010 21:27
by Timmaexx
I just wanted to publish my opinion, not to accuse you!
If the NewGRF is under GPLv2 you can do whatever you want to do with that

Re: Some Requests (GRF Released: PBS Signal Replacement)
Posted: 19 Sep 2010 21:50
by Yexo
Timmaexx wrote:If the NewGRF is under GPLv2 you can do whatever you want to do with that

That is not true. If the original is licensed under GPLv2, then you have to publish your modified version also under GPLv2. That means you have to publish your source code, which I don't see yet in this topic. In fact I see no license at all in this topic, which would default to "it's mine, you can't do anything with it" and which is definitely not compatible to the GPL.
Re: Some Requests (GRF Released: PBS Signal Replacement)
Posted: 19 Sep 2010 21:50
by planetmaker
RL Conroy wrote:...Um yes they are but is that not good then?
michael blunck wrote:The (older) signals.grf is under the GPL, though.
A GPL license implies not "I can use it and do whatever with it". You only can re-use GPL'ed work when:
- you always give the right credits: indicate what is your work and what is the work of others (whose?) correctly
- you always supply the license which MUST remain GPL.
- you offer to supply the source code for at least three years; the compiled grf is not the source code. You may alternatively publish the source.