Command line parameters and File associations

Feature requests and ideas for the new unofficial versions of Elma and general talk related to those.

Moderator: Moporators

Post Reply
Epsilon
Kuski
Posts: 365
Joined: 22 Aug 2002, 22:13
Location: Haifa, Israel
Contact:

Command line parameters and File associations

Post by Epsilon »

I think it will be very useful in elma.

for those who doesn't know, command line parameters are certain characters that u add after the adress to the exe file in shortcuts or in dos mode. file associations are when you click a file with a certain ending (like .txt .bmp and so) and it opens the appropriate program and does the needed action with the file you clicked on.

for example :
opening the elma executeable with the parameter /l1 will immediately let you play level 1... opening it with /rec "recname.rec" will just show this rec and close the game right after.

Of course, after applying the parameters, a file associations should be applied...
Clicking a rec file should immediately shoe the rec
Clicking a lev file should open it for playing (and also an action for editing can be good)
Clicking an lgr file should set it to be default and open the game

what do you think?
Epsilon | TT : 45:42,82 | Elma Around the World | Smile levpack
2fast
Kuski
Posts: 866
Joined: 2 Apr 2003, 08:21
Location: Estonia

Post by 2fast »

pretty good idea
MagnusB
Kuski
Posts: 1472
Joined: 12 Nov 2002, 19:43
Location: INTERNET

Post by MagnusB »

It's a good idea, but I'm not sure how much I need this. It doesn't take a lot of time to do those things anyway, maybe making the feature would be a bit more work than what it deserves.
Then again, it would be cool. Especially the file association.
Epsilon
Kuski
Posts: 365
Joined: 22 Aug 2002, 22:13
Location: Haifa, Israel
Contact:

Post by Epsilon »

it wont save much time in a single time u use it, but it will really save some in some years of elma playing :)
Epsilon | TT : 45:42,82 | Elma Around the World | Smile levpack
User avatar
zworqy
Kuski
Posts: 3706
Joined: 19 May 2002, 23:17
Location: Lilla Edet, Sweden
Contact:

Post by zworqy »

Yeah, this idea rocks! Been thinkin' a little about it myself, too.
<Fihlvein> another case of zworqy-is-always-right closed i guess
<yoosef> zworqy doesnt suck at anything
User avatar
SveinR
Moporator
Posts: 5469
Joined: 21 May 2002, 08:05
Location: Oslo, Norway
Contact:

Post by SveinR »

It's a pretty good idea, but as Magnus, I don't know how much I'd use it.
Was it cast for the mass who burn and toil?
Or for the vultures who thirst for blood and oil?
Rules | FAQ
exe-cuter
Kuski
Posts: 19
Joined: 7 May 2003, 18:29
Location: Belgium
Contact:

Post by exe-cuter »

I'm already working on a program that does the job,but the commands don't work with me :cry: (Elma just starts like the normal way)
ELMA.EXE /r 01mopo.rec
ELMA.EXE /l3

I have version 1.11a[/u]


Nevermind :cry:
Last edited by exe-cuter on 7 May 2003, 20:54, edited 1 time in total.
exe-cuter
Kuski
Posts: 19
Joined: 7 May 2003, 18:29
Location: Belgium
Contact:

Re: Command line parameters and File associations

Post by exe-cuter »

Epsilon wrote:for example :
opening the elma executeable with the parameter /l1 will immediately let you play level 1... opening it with /rec "recname.rec" will just show this rec and close the game right after.
To make some things clear :
These parameters are NOT in Elma (yet) :oops:
Epsilon
Kuski
Posts: 365
Joined: 22 Aug 2002, 22:13
Location: Haifa, Israel
Contact:

Post by Epsilon »

yea, i talked about adding them... :lol:
Epsilon | TT : 45:42,82 | Elma Around the World | Smile levpack
Post Reply