Easy reading/modifying of .scr files

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Easy reading/modifying of .scr files

Post by Mj »

I found this little bit of wisdom a little while back...

If you open a folder and click on "tools" on the tool bar, and then folder options in the drop down menu you should (at least in ME you do) get a box titled folder options. If you then click on the file types tab, go new, type in SCR and in advanced associate it with TXT files, then all your scripts will appear as TXT documents, and can be changed as a TXT document, rather than the fiddly swapping back and forth of file types. You do still have to save it as a .scr at the beggining though.

The one downfall of this is often you get your TXT doc's and SCR doc's mixed up :P

Words of wisdom for today, Hope they help!

Mj
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Post by blue60007 »

Yeah, um I'm not sure if this is what you're saying, but I've got .scr associated with Notepad, meaing if I double click the icon it loads in Notepad, also when I save as mymapname.scr, I don't get mymapname.scr.txt
Image
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Post by Mj »

Yea basically :), and the .txt icon should be there instead of the screensaver/program icon
blue60007
General
Posts: 1247
Joined: Sun Mar 07, 2004 11:44 pm

Post by blue60007 »

Right, that's what I thought you meant, but I wasn't sure.

You should also do the same for .shader's, also you could do it for .lin's
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

Re: Easy reading/modifying of .scr files

Post by tltrude »

Mj wrote: The one downfall of this is often you get your TXT doc's and SCR doc's mixed up.
In Folder Options > View, uncheck the little box that says "Hide file extensions of known file types". That why you can tell them apart.

You can also make .map files, .shader files, and .tik files open with Notepad. Although, with Windows ME, it is better to open .map files with Wordpad--because the files are large.
Tom Trude,

Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

also, you can edit your script in MOHAA itself.
console>editscript
script appears, you edit. :)
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

Although, with Windows ME, it is better to open .map files with Wordpad--because the files are large
well,winME isnt all that dumb (as ppl say) it can differentiate if something is big enough for notepad ,so it opens it with wordpad automatically
In Folder Options > View, uncheck the little box that says "Hide file extensions of known file types". That why you can tell them apart.
this is what i always use .but the downfall to this method is that when renaming something u have to put its extension in as well .
e.g :renaming test.scr to mymapname.scr .
usually u will just put mymapname ,but now u have to put .scr as well .otherwise it wont have any extension !!!
The one downfall of this is often you get your TXT doc's and SCR doc's mixed up
now the problem is,whenever u see a screensaver u will think its a script file :lol:
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

M&M wrote:well,winME isnt all that dumb (as ppl say) it can differentiate if something is big enough for notepad ,so it opens it with wordpad automatically
Only dumb text editors crash when a file is 'too large', and notepad is part of win ME :wink:
Image
Post Reply