Author Topic: OpenLiero on OpenDingux  (Read 7641 times)

JPetersen (OP)

  • Posts: 7
OpenLiero on OpenDingux
« on: September 01, 2013, 08:08:11 pm »
The outdated Dingux contained the game OpenLiero wich was one of the games I played the most on my Dingoo.
Now I have switched to the OpenDingux OS and I'm impressed with how much better it is. Despite this, I cannot find a version of OpenLiero that will run on OpenDingux.

Could someone help me in the right direction or would someone be able to compile the game for OD?

Thanks in advance

zear

  • * Moderator
  • Posts: 2381
Re: OpenLiero on OpenDingux
« Reply #1 on: September 01, 2013, 09:21:24 pm »
You could compile an OpenDingux build from this repository: https://github.com/gcwnow/liero

I have never recompiled it because I am now looking forward to LieroLibre. The same thing, but without the necessity of providing the dos EXE (which has non-free sound effects and cannot be commercially distributed). It needs some more work to get it ported however.

JPetersen (OP)

  • Posts: 7
Re: OpenLiero on OpenDingux
« Reply #2 on: September 02, 2013, 08:19:37 am »
Thanks for the reply, I had come across this repository before but I never compiled a application for OpenDingux. Is there a tutorial for this?(I actually am a programmer but I don't know how or what to compile it for)

LieroLibre sounds good too, maybe I would be able to help to port the application once I know my way around developing for OpenDingux.

zear

  • * Moderator
  • Posts: 2381
Re: OpenLiero on OpenDingux
« Reply #3 on: September 02, 2013, 10:02:14 am »
You will essencially just need to modify the Makefile and change the toolchain path from GCW's to A320's toolchain. Then just type "make".

As for LieroLibre, I'll need to strip the code from unnecessary dependencies that prevent from compiling it. I once dirty hacked it and got it running. Now it is the time for a clean port.

JPetersen (OP)

  • Posts: 7
Re: OpenLiero on OpenDingux
« Reply #4 on: September 02, 2013, 12:58:04 pm »
OK great everything works, it compiled and it runs beautifully :)
I saw in the repository that you changed the keycombo for digging to jump+left/right, off course this is a solution but I would like to change it.

After I changed the dig method, I would like to make both versions available online, because other people might want the game like me. I'm not sure if I need your permission but I'll ask; Can I?

Is there a prefferred file sharing method on this forum?

Thanks for the help again!

zear

  • * Moderator
  • Posts: 2381
Re: OpenLiero on OpenDingux
« Reply #5 on: September 02, 2013, 04:12:08 pm »
You don't need my permission, however you will need to redistribute the source code of your changes according to GPL license.
You can send me a patch so I can merge the changes back to my repository (if they are mergeable) or just upload the source code somewhere and make the link public.

JPetersen (OP)

  • Posts: 7
Re: OpenLiero on OpenDingux
« Reply #6 on: September 03, 2013, 10:58:27 pm »
OK I understand. I've read the source code to see how to add the modification but from what I understand the menu items are read from the exe, so it would not be possible to add a menu entry for the button assignment of the dig action, am I correct?

So it seems to me that the only way to add the modification is to hard code a button for the dig action.

Would it be feasable to add a readable text file to hold the button assignment for the dig action? This way it would at least be possible to change the button assignment outside of the application.

I hope you can follow me...

zear

  • * Moderator
  • Posts: 2381
Re: OpenLiero on OpenDingux
« Reply #7 on: September 06, 2013, 10:26:33 pm »
Sorry for a late reply.
To be honest, I don't care much about OpenLiero, as the goal now is to port LieroLibre (which has a remappable "dig" button). I believe the menu items are loaded from the DOS EXE, yes, which means you need to hardcode the dig action. Adding a config file for the button assignment sounds like a pain, since if it's not reachable from the game, people will not use it or even know about it's existence. There is no easy solution I'm affraid.

JPetersen (OP)

  • Posts: 7
Re: OpenLiero on OpenDingux
« Reply #8 on: September 09, 2013, 10:03:05 am »
Yes I agree, I will post the compiled game on the releases board and leave it at that.

Thank you for your help! ;D

zear

  • * Moderator
  • Posts: 2381
Re: OpenLiero on OpenDingux
« Reply #9 on: September 09, 2013, 12:39:58 pm »
Yes I agree, I will post the compiled game on the releases board and leave it at that.
Please remember that even for such a small change, you have to release the source code (or simply a diff of your changes).

JPetersen (OP)

  • Posts: 7
Re: OpenLiero on OpenDingux
« Reply #10 on: September 09, 2013, 09:15:31 pm »
I've actually changed nothing in the code. I looked into it and decided that it was not worth the trouble. So I just compiled your code and posted the executable.

zear

  • * Moderator
  • Posts: 2381
Re: OpenLiero on OpenDingux
« Reply #11 on: September 09, 2013, 09:21:37 pm »
Ah, ok.

 

Post a new topic
Post a new topic