Opening .lua Files

General discussion about Rail Simulator that doesn't really fit in to any specific category. A good place to start if you're not sure what category it should fit in to as well.

Moderator: Moderators

Locked
User avatar
ianmacmillan
Very Active Forum Member
Posts: 9588
Joined: Fri Feb 28, 2003 12:39 pm
Location: N. Lanarkshire Scotland

Opening .lua Files

Post by ianmacmillan »

Right click on your desktop and select New/Winzip File.

Double click on the zip file to open it.

Drag the .lua file into the Winzip window and click Add.

Double click on it in the window and it will open in notepad.


I've no idea why this works.
I assume Winzip is written with Lua and contains the reader files.

When you read the file you will be non the wiser.
[album 80489 WWCo.jpg]
If it's got buffers it's Chain.
User avatar
bristolian
Very Active Forum Member
Posts: 1695
Joined: Thu Dec 18, 2003 10:02 pm
Location: St Ives, Cambs (Formerly from Bristol)
Contact:

Re: Opening .lua Files

Post by bristolian »

Hello,

You can also right-click, and open with notepad, you don't need winzip!.

Very Best Wishes,
Bob.
Virtute Et Industrial!
User avatar
ianmacmillan
Very Active Forum Member
Posts: 9588
Joined: Fri Feb 28, 2003 12:39 pm
Location: N. Lanarkshire Scotland

Re: Opening .lua Files

Post by ianmacmillan »

bristolian wrote:Hello,

You can also right-click, and open with notepad, you don't need winzip!.

Very Best Wishes,
Bob.

I tryed that but I didn't give an Open with option.

Just tried with Send to/Context and it worked.

Spent an hour looking for Lua readers. I thought it would be hard to open them.
Anyone opened a texture yet?
SteelixB
Very Active Forum Member
Posts: 1058
Joined: Mon Dec 10, 2001 12:00 am
Location: Newcastle
Contact:

Re: Opening .lua Files

Post by SteelixB »

Lua is a scripting language, like VBScript and JavaScript (Although I wouldn't compare them, since they are for different things), and scripts are all (as far as I know) written plain text.

A nice tool for editing code is Notepad++. I don't know if it can edit Lua, but I'd assume it can.

EDIT:
Yes, it can ;)
Last edited by SteelixB on Thu Oct 18, 2007 5:46 pm, edited 1 time in total.
New username: RSBen
tommylommykins
Been on the forums for a while
Posts: 143
Joined: Sat May 13, 2006 6:38 pm

Re: Opening .lua Files

Post by tommylommykins »

No, but sending the strangely names TgPcDx files through serz.exe produces readable results. They seem to store data for a large texture and progressively smaller mipmaps.

I guess someone with the know could be able to make sense of the enormous blocks of hex that come with them to get access to an image.
SteelixB
Very Active Forum Member
Posts: 1058
Joined: Mon Dec 10, 2001 12:00 am
Location: Newcastle
Contact:

Re: Opening .lua Files

Post by SteelixB »

tommylommykins wrote:No, but sending the strangely names TgPcDx files through serz.exe produces readable results. They seem to store data for a large texture and progressively smaller mipmaps.

I guess someone with the know could be able to make sense of the enormous blocks of hex that come with them to get access to an image.
PM the results, I'll take a look
New username: RSBen
tommylommykins
Been on the forums for a while
Posts: 143
Joined: Sat May 13, 2006 6:38 pm

Re: Opening .lua Files

Post by tommylommykins »

Message sent.
User avatar
steampsi
Been on the forums for a while
Posts: 260
Joined: Thu Sep 29, 2005 10:42 am
Location: Sideney

Re: Opening .lua Files

Post by steampsi »

http://lua-users.org/wiki/LuaAddons

Some good ide's here if you really wanna get serious
User avatar
rabid
Very Active Forum Member
Posts: 1547
Joined: Wed Dec 12, 2001 12:00 am
Location: ...has left the building

Re: Opening .lua Files

Post by rabid »

PSPad is a pretty decent freeware editor which (like UltraEdit) does Replace in Files.
:)
Locked

Return to “[RS] General RS Discussion”