ENIGMA Forums

Development => Works in Progress => Topic started by: sorlok_reaves on November 30, 2014, 03:35:59 pm

Title: Alpha version of An Untitled Story --game is complete-able!
Post by: sorlok_reaves on November 30, 2014, 03:35:59 pm
Greetings all,

I'm very happy to announce that "An Untitled Story" can now be completed through the end, and I am bumping it up to alpha as a result. Behold:
http://youtu.be/--KJapCLrBE

Also:
(http://i.imgur.com/nZ8faNs.png)

Compared to Iji, this game had a lot more edge-case behavior that just "happened" to work (for example: mixing obj_1.value with self.value). On the other hand, its mechanics were a lot simpler, so I was able to get it up and running in far less time. Some bosses are still glitched, but all the essentials are there.

Thanks again for all your help, and good luck on your own games or ports!
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: Goombert on November 30, 2014, 06:25:29 pm
As I said on YouTube, this is very good news, we've been making considerable progress with your bugfixes to the compiler sorlok. I am really impressed and thankful to have you here as a developer!
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: time-killer-games on November 30, 2014, 08:55:56 pm
Dude you rock! I'm trying this out right now! We really are lucky to have you here! Thanks for everything! :D :D ;D ;D
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: sorlok_reaves on November 30, 2014, 10:36:35 pm
Thanks everyone; I quite enjoy working on my ports with ENIGMA. :)
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: egofree on December 01, 2014, 06:15:04 am
Excellent work ! We are looking forward for your next conversions !  :)
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: time-killer-games on December 01, 2014, 03:10:24 pm
I read somewhere on the GMC spelunky is getting ported to several platforms by Mike.Dailly so.whichever game  you want to do next you might want to skip that one. I wanted to give you a heads up. Mac is a lot more popular than  Linux, though I myself am a hardcore Linux fan it may be worth checking if this game can compile on  Mac with little or no changes. To broaden the audience a bit.

If you'd like I can host mirrors of your ports, Iji, AUS, etc both the binaries and source on my Mediafire account which currently has nothing uploaded to it so a lot of space. I'd alsi love to advertise your ports on my website at some point if any of this interests you!

Have you considered publishing (free download) on app stores? Mac AppStore, Ubuntu Software Center, etc? I'm certain Matt and other authors would feel honored. Something to think about. :)
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: sorlok_reaves on December 01, 2014, 10:38:42 pm
@egofree:
Thanks! Any suggestions for good games to port?


@time-killer-games:
Thanks for the heads-up; I still think Spelunky on ENIGMA would be fun, so that'll probably be my next project (once surfaces are fixed). Glad to hear that other people are restoring the classics too!

For now, I am not really concerned with mirrors or app store downloads, although thanks for the offer. Of course, the games I'm porting are released under the same licenses as they were originally, so you can basically do what you want within the restrictions of those licenses. (Though I would be careful about app store releases; you should definitely check with the original copyright holders.)
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: Goombert on December 02, 2014, 12:33:19 am
My vote goes for Spelunky because I think it is also getting a 360 port or something, so I'd love to see that working in ENIGMA, I would splooge.
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: TheExDeus on December 02, 2014, 04:22:50 am
I did some surfaces changes, so in 2D they should technically work. At least this example works fine: http://enigma-dev.org/edc/games.php?game=62
So post an example if somethings broken. There was a ticket with an example on the tracker, which I will test later.
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: sorlok_reaves on December 02, 2014, 08:08:45 am
Ok, I'll try it out. You're running this on the GL3 branch, right?
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: TheExDeus on December 02, 2014, 10:11:15 am
It has been merged into master about 2 days ago. I will remove the GL3 branches.
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: time-killer-games on December 04, 2014, 02:19:14 pm
I tried loading the EGM archive and I get an error I can't copy or paste because the window focus is being forced on the progress bar.

However here's the output_log.txt shit if that helps any.

http://pastebin.com/cLTL9rpa
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: sorlok_reaves on December 04, 2014, 06:33:19 pm
How strange...  there should be a log with the actual error somewhere (maybe someone else on the forum know where?)

Your version of LGM is up-to-date, right? And you are using my aus_alpha1 branch in my fork of ENIGMA? (Although that shouldn't matter for loading the project.)
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: Goombert on December 04, 2014, 07:11:58 pm
TKG didn't have enough memory allocated for the JVM "java.lang.OutOfMemoryError: Java heap space" as indicated by output_log.txt

You can modify this from the command line parameter when launching LGM, on Windows you can also just edit the command in settings.ini

idecommand="java -jar -Xms256m -Xmx1000m"

Bump up the -Xmx value.
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: time-killer-games on December 04, 2014, 07:39:40 pm
Thank you, I shouldve known, will do!
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: time-killer-games on December 04, 2014, 08:39:34 pm
the highest i can bump it up is to -Xmx1270m but it's still not enough. Any larger and LGM wont start
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: sorlok_reaves on December 04, 2014, 08:40:11 pm
TKG didn't have enough memory allocated for the JVM "java.lang.OutOfMemoryError: Java heap space" as indicated by output_log.txt

You can modify this from the command line parameter when launching LGM, on Windows you can also just edit the command in settings.ini

idecommand="java -jar -Xms256m -Xmx1000m"

Bump up the -Xmx value.

Good catch! My -Xmx value is already way up there for Iji. :P
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: Goombert on December 04, 2014, 08:45:57 pm
What exactly do you have it set to sorlok?

TKG, were you doing other things in LGM before trying to load the project?

I should build available RAM into the output logs, because it would help to know your computers system RAM and how much of it was in use. The reason you can't go higher than 1270 I believe is because of a 32bit JVM, 64bit Java programs can use unlimited RAM, but as far as I am aware LGM is buggy with a 64bit Java, though I am beginning to think that may have just become a common scapegoat for other problems on our part.
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: time-killer-games on December 04, 2014, 09:07:32 pm
Heres what I did...

double click enigma.exe <lgm starts>, open egm, and poop
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: sorlok_reaves on December 04, 2014, 10:26:46 pm
What exactly do you have it set to sorlok?

2G on Linux. Also, as far as I am aware, I am using a 64-bit JVM:

Code: [Select]
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: Goombert on December 04, 2014, 10:53:55 pm
Ah this must be a big game then. TKG, you could try to install a 64bit Java on Windows and give it a try since it seems to work for sorlok, but it seems to be a crapshoot, for some people it works for others it don't.
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: TheExDeus on December 05, 2014, 12:24:08 pm
What is exactly the reason why a 6.6mb gmk takes ~400mb when loaded? Especially when it doesn't have any large backgrounds in it as they are external. From the loading screen it seems the problem is with rooms. The way rooms are handled in LGM seems extremely inefficient. The way resources are written to ENIGMA's plugin also seems very inefficient.
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: time-killer-games on December 05, 2014, 02:40:00 pm
I'll try out 64 bit java and will get back to you guys with the results. Thanks everyone for the help! :D
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: TheExDeus on December 14, 2014, 06:19:10 pm
Another game you could try get running is Sun and Moon (http://ludumdare.com/compo/ludum-dare-29/?action=preview&uid=3479). I just saw it on Total Biscuit's channel (as it's a steam game now), but it was made for Ludum Dare and has source available. There is some problem with draw_set_font(font) when parsing, but when I comment that line out the game runs. So it only needed one change for compile to work. But nothing but the window shows on screen and music plays. The buttons for toggling music also works, but nothing else. There is some use of uninitialized variables that might be the problem. Maybe I will get it working when I have the time.
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: sorlok_reaves on December 14, 2014, 06:27:51 pm
Another game you could try get running is Sun and Moon (http://ludumdare.com/compo/ludum-dare-29/?action=preview&uid=3479). I just saw it on Total Biscuit's channel (as it's a steam game now), but it was made for Ludum Dare and has source available. There is some problem with draw_set_font(font) when parsing, but when I comment that line out the game runs. So it only needed one change for compile to work. But nothing but the window and music shows on screen. There is some use of uninitialized variables that might be the problem. Maybe I will get it working when I have the time.

Thanks, that's a good idea! If it's already running, then tracking down the remaining issues shouldn't be too hard. I'll have a look at it ---thanks for sending this my way!
Title: Re: Alpha version of An Untitled Story --game is complete-able!
Post by: sorlok_reaves on December 22, 2014, 10:03:48 pm
Figured it out. The reason The Sun and Moon doesn't work is because constants aren't handled properly in ENIGMA currently.

(http://i.imgur.com/r6RU4WH.png)

There are some other playability bugs, but this at least gets you to level 1.