Train-Sim.Com
MSTS Route Design

Editing _y.raw files in Photoshop

Notice to all visitors and members of the Train-Sim.Com message forums:
If you plan on using a signature banner in your posts, we would like to remind you that there is a maximum size for banners. That maximum is 450 pixels wide by 120 pixels high, and not to exceed 25k. Your compliance is appreciated. FORUM RULES Problems? There are two common reasons for problems with logging in and posting messages. The first is that you are running a firewall that prevents your messages from being sent to the server. The other is that you have cookies disabled; the DCForum software requires cookies to work properly.

Previous Topic | Next Topic

Printer-friendly copy Email this topic to a friend

Reading Topic #11982

Member since Sep-25-02 · 1233 posts

Editing _y.raw files in Photoshop – image 1

I have figured out how to get Photoshop to open _y.raw files after re-reading some posts on this forum, but how do you save them once you have edited them. Is it possible to export them to the same .raw format if you only have the Adobe Photoshop Elements. I tried saving them as .raw files but the terrain just goes white in the RE.http://groups.msn.com/MSTSNarrowGauge (Now being updated more oftern)
Editing _y.raw files in Photoshop – image 2
Jonathan Lewis
jonathanmlewis@msn.com

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

RE: Editing _y.raw files in Photoshop, markhyams, May-25-04, 06:54 PM, (1) RE: Editing _y.raw files in Photoshop, DRGWK36, May-25-04, 07:34 PM, (2) RE: Editing _y.raw files in Photoshop, lfriddle, May-25-04, 10:51 PM, (3) RE: Editing _y.raw files in Photoshop, jonathanmlewis, May-26-04, 12:14 PM, (4) RE: Editing _y.raw files in Photoshop, DRGWK36, May-26-04, 12:20 PM, (5) RE: Editing _y.raw files in Photoshop, jonathanmlewis, May-26-04, 12:36 PM, (6) RE: Editing _y.raw files in Photoshop, lfriddle, May-26-04, 03:42 PM, (7) RE: Editing _y.raw files in Photoshop, OkrasaGhia, May-27-04, 11:47 AM, (8)

Conferences | Topics | Previous Topic | Next Topic

Charter Member · 209 posts

RE: Editing _y.raw files in Photoshop

I assume you read this thread, but if not, it has some useful information and links to other threads in it.http://www.train-sim.com/dcforum/DCForumID6/11549.htmlI don't know all of the capabilities of Photoshop Elements, but these are 16-bit grayscale files, so you have to be able to open, edit and save 16-bit files. This is something that the full version of Photoshop does somewhat well (I have version 6, and I am told the newer versions do it even better), but this may be the key you are missing with Photoshop Elements.What I was doing was converting the files to 8-bit, editing them, and then converting back to 16-bit, then saving as a .raw file. A little dialog box comes up and I would choose header of 0 and then IBM/PC byte order. Hope this helps.

Moffat Road Tabernash to Phippsburg
All track complete
Currently working on Mtracks

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 997 posts

RE: Editing _y.raw files in Photoshop

I also use Photoshop Elements, and tried the trick of modifying terrain by opening the .raw files in PE. I had a couple of huge crevices and a towering rift along a couple of DEM borders that I thought I could fix this way. I was able to open the files OK, but when I tried to save them, they were evidently saved as 8-bit files. The end result was that the slopes changed from nice, smooth slopes to terraced hills because the color variations were so much greater in the 8-bit files compared to the 16-bit. So I've just gone back to taking care of those problems in the old-fashioned way using the terrain tools. Elements just doesn't seem to have the ability to save the files in 16-bit format, which is a shame.Andy

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 488 posts

RE: Editing _y.raw files in Photoshop

Jonathan,
<http://www.train-sim.com/cgi/dcforum/dcboard.cgi?az=show_thread&om=8356&forum=DCForumID6>
I wrote a thread on this over a year ago. I used it quite a bit when I was shaping my terrain but it has been a while. If I remember correctly:
In Photoshop, the top of the tile is North.
Photoshop will attempt to guess the format of the graphic when you open the .raw file. You may need to help it the first time by making sure that the size is 256 by 256, Channel count is set to 1, Depth is set to 16 bits, Byte order is set to IBM PC, and 0 header bytes. The byte order is the big key here. When you save the tile back, it should save back in the same format. If you don't select IBM PC format, it will save the least significant byte as the most significant byte which is why you had a screwy tile.Larry

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Sep-25-02 · 1233 posts

RE: Editing _y.raw files in Photoshop

Editing _y.raw files in Photoshop – image 3

Thanks everyone for your help.
But I still can't seem to get it to save in a format MSTS will read even as a 8 bit file. In the RE the tile that I opened just goes white. Andy what version of PE are you using? I am only using version 1 that could be why. I have the CD for PE 2 somewhere I will try and install that and see if that makes it work. http://groups.msn.com/MSTSNarrowGauge (Now being updated more oftern)
Editing _y.raw files in Photoshop – image 4
Jonathan Lewis
jonathanmlewis@msn.com

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 997 posts

RE: Editing _y.raw files in Photoshop

I've got 2.0. Read through Larry's post again - there's some tricks to getting the file configured correctly, and I don't recall what they are. I'd try that before installing the upgrade. I suspect that your problem is more due to how you're saving the file than what version of PE you've got. I'd really love to be able to do some terrain editing that way, but I don't think it's going to work for me unless I spend quite a bit more money Good luck!Andy

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Sep-25-02 · 1233 posts

RE: Editing _y.raw files in Photoshop

Editing _y.raw files in Photoshop – image 5

What I am wanting to do is to try and get rid of this dam in the Platte Canyon as it was flooded after the railway closed and the track bed is under the water.
Editing _y.raw files in Photoshop – image 6Anyway these are the settings it had when I opened it
Editing _y.raw files in Photoshop – image 7And I these are the only options it gave me then I saved it
Editing _y.raw files in Photoshop – image 8Hope some-one can help me out here.
Thanks everyone for your help so far.http://groups.msn.com/MSTSNarrowGauge (Now being updated more oftern)
Editing _y.raw files in Photoshop – image 9
Jonathan Lewis
jonathanmlewis@msn.com

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 488 posts

RE: Editing _y.raw files in Photoshop

I am using Photoshop 6.0. Looks like that is part of the difference.
When I save, the part greyed out on yours is still there.
It looks like you are just going to have to do it using a piece of track or the built in terrain editor tool.Larry

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 1454 posts

RE: Editing _y.raw files in Photoshop

Editing _y.raw files in Photoshop – image 10

If that dam is all you want to modify you will accomplish it faster and easier with the tools in RE than spending time trying to get it to work with PhotoShop. Just adjust the terrain as you lay the track.


//Okrasa
Chief Engineer
okrasa @ xtracks.tk
http://www.geocities.com/okrasaghia
http://www.xtracks.tk

Editing _y.raw files in Photoshop – image 11

Alert | IP


[ Home | MSTS Forum | MSTS FAQ | File Library ] Copyright © 2004 by Nels Anderson. All Rights Reserved.

Restored from the Train-Sim.Com archive, captured June 14, 2004. About this archive.