![]() |
Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
I could need help here, the game simply won't start.
Code:
/opt/mokomaze # /opt/mokomaze/mokomaze Greetz, ..::J4ZZ::.. |
Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
1 Attachment(s)
A level translator.
Save the attached script (its a shell/awk script) remove the .txt and chmod u+x if the old level is in a file called oldlevel and both file and script are in the current dir Code:
cat oldlevel | ./TransLevel 1 This runs fine on my Linux box I have not tried on any other level yet I'm still at work at the momement. |
Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
1 Attachment(s)
Back home tested with file from the zip. New version attached.
|
Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
if you named the source file 01.txt - 32.txt you can translate every level into one file with
Code:
for f in *.txt;do ./translevel `echo $f |cut -d "." -f 1` $f >> FILENAME; done |
Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
1 Attachment(s)
made a levelpack file. see attachment.
it won't work, though, I think because of the wrong naming of the second x coordinate: Code:
{ "x1": 348, "y1": 328, "x": 356, "y2": 360 }, |
Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
1 Attachment(s)
Lol, and I JUST (well, last night) finished finally getting myself to manually plow through level 32 (or 31, whatever it was), during my spare time. (Out of the ones you requested converted, zehjotkah.)
Oh well. On the other hand, editing the script is something I can do pretty quickly. Give me a sec and I'll attach the edited version if the original poster of the script doesn't by then. - Edit - That literally took just opening the .txt file and entering one "2" in one spot. Fixed version attached. Procedure same as rcull's post says.Attachment 16957 |
Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
1 Attachment(s)
I cant actually load this game so I cant test. I assume the second x par should be x2.
New edited script attached Edit: Ahh Just too late :-) |
Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
1 Attachment(s)
okay, another levelpack file. won't work either, don't know why.
I've added our levelpack file and the original one to compare. |
Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
Looks like you have "{" in a different place.
Same chunks of code, between the first and second level: In .json: Code:
"init": { Code:
"init": { |
Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
but isn't that only a tab? i thought only spaces matter...
|
All times are GMT. The time now is 17:57. |
vBulletin® Version 3.8.8