command line parameters
Moderator: Moporators
command line parameters
i need to run elma level instantly, without selecting anything, and when level is finished i need
to know was it sucsessfull or not.
something like typing "elma.exe -level.lev" in console.
I need this for testing levels outside of elma.
to know was it sucsessfull or not.
something like typing "elma.exe -level.lev" in console.
I need this for testing levels outside of elma.
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu
- Juski
- Kuski
- Posts: 2200
- Joined: 26 Dec 2003, 20:53
- Location: irc://irc.ircnet.org/ranks
the play function in ALE only maximizes elma for me, if i have it running. I think it is possible to make a patch that work that way.
No regrets
Are you LOST?
Are you LOST?
bahh, i don't know how to make patch's. Could someone create a patch that runs a level and when it's finished it returns false or true.
I need this function 'cause i'm making a game that need's to run elma levels. It's gonna be console rpg, and instead of battle you would have to drive levels. The main character will be the kuski, and the world around him would be just like in all other rpg's ( Chrono Trigger, Shining Force ).
I'm gonna make loads of levels, and they will comence randomly on world map, except when fighting a boss, or doing a quest. Just imagine all the possibilites. I'm programing in VC++ .NET 2003. If anyone is willing to make the patch say so, i'l give the further information.
I have to have that patch in order to make this game. I'm not really into making patch's, just game development...
I need this function 'cause i'm making a game that need's to run elma levels. It's gonna be console rpg, and instead of battle you would have to drive levels. The main character will be the kuski, and the world around him would be just like in all other rpg's ( Chrono Trigger, Shining Force ).
I'm gonna make loads of levels, and they will comence randomly on world map, except when fighting a boss, or doing a quest. Just imagine all the possibilites. I'm programing in VC++ .NET 2003. If anyone is willing to make the patch say so, i'l give the further information.
I have to have that patch in order to make this game. I'm not really into making patch's, just game development...
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu
- Juski
- Kuski
- Posts: 2200
- Joined: 26 Dec 2003, 20:53
- Location: irc://irc.ircnet.org/ranks
let me get this straight: you want your game to run elma occasionally and quit it qithout you seeing the menu of elma itself?
No regrets
Are you LOST?
Are you LOST?
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
If i could only have the elma code in C++, the patch would be quite easy to make ( i imagine ). I'm pretty sure everything you need is already programmed, you only have to isolate the good parts of the code.
I know milagros got the code ( i don't know if he only has the code in assembly language but, he has some kinda elma code ).
You should try to talk to him, he's the elma programmer
I know milagros got the code ( i don't know if he only has the code in assembly language but, he has some kinda elma code ).
You should try to talk to him, he's the elma programmer
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
Well, that my friend won't happen be sure of that.The_BoneLESS wrote:If i could only have the elma code in C++
Yes but just to make sure there are no misunderstanding milagros naturally doesn't have the source code itself. Of course not, Balasz said he won't share it.The_BoneLESS wrote:I know milagros got the code ( i don't know if he only has the code in assembly language but, he has some kinda elma code ).
You should try to talk to him, he's the elma programmer
He is developing new version of Elasto Mania and according to him it will be released soon. About his activity here, I don't know if he's ever written anything to any forum. Pretty much only way to exchange ideas with him is to mail him.cpprules wrote:Has Balasz stoped with developing Elma? If he has, he should share the code...
And why isn't Balasz on the forum, i want to talk to him!
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
Every main returns an int... true but, how can you know what it returns ? I don't think it would return if the level is completed or not...cpprules wrote:every game has a function that is called "main", usualy returns an int.
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
The thing is that if you finish a level or not, the program will end succesfully. Losing or winning a level doesn't affect the main function ( as far as i know ), i suppose the game programmer stored in a boolean variable named for example win if the level is finished=true and if not=false.eFse7en wrote:Hmm i think that cpp may be right. Normaly main should return 1 (true) if program have been ended succesfully. But i'm not sure if it's working. I know it only by theory.
Maybe it could work if you make a patch that would return that variable to the main. This way, the main being 0 would mean that the level was not finished.
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
I'm gonna ask Balasz to add console support, for example when you run "elma.exe -level.lev"
the game recives info through
int main(int argc, char *argv[])
{
return win;
}
and returns result, it's not gonna take a minute to code...
the game recives info through
int main(int argc, char *argv[])
{
return win;
}
and returns result, it's not gonna take a minute to code...
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
What would you want to copy/paste/etc... in-game ?ziksone wrote:I dont know nothing about programing but can someone tell how hard is to make a patch in witch you can rename, copy, paste delete ect. in game ?
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
I suppose he means in te editorThe_BoneLESS wrote:What would you want to copy/paste/etc... in-game ?ziksone wrote:I dont know nothing about programing but can someone tell how hard is to make a patch in witch you can rename, copy, paste delete ect. in game ?
<Fihlvein> another case of zworqy-is-always-right closed i guess
<yoosef> zworqy doesnt suck at anything
<yoosef> zworqy doesnt suck at anything
- Juski
- Kuski
- Posts: 2200
- Joined: 26 Dec 2003, 20:53
- Location: irc://irc.ircnet.org/ranks
not very useful ;X not really hard to alt tab to desktop and do it there, in editor it would be much more useful.
No regrets
Are you LOST?
Are you LOST?