01:51:59 <zzo38> Converting a puzzle set from other games into Free Hero Mesh: [1] Write the class definition file. [2] Convert the pictures (e.g. using imgtofhm) or draw your own. [3] Write a program (using any programming language) to convert the levels into the level export format. [4] Import them into Free Hero Mesh (heromesh -i). [5] If solutions were provided to the original game, use heromesh -a to verify them.
04:11:43 <zzo38> Brain N Bells has now been converted to Free Hero Mesh, too.
16:35:49 -!- infra_red[m] has joined.
16:59:44 -!- infra_red[m] has quit (Quit: Client limit exceeded: 20000).
18:45:17 <riv> I ran ./compile
18:45:18 <riv> gcc: error: smallxrm.o: No such file or directory
18:45:20 <riv> gcc: error: sqlite3.o: No such file or directory
18:51:06 <zzo38> Currently, you will need to compile those files separately. The repository includes smallxrm, but you must provide sqlite yourself.
18:51:26 <riv> why do I have to provide
18:51:31 <riv> echo '* smallxrm'
18:51:32 <riv> test smallxrm.c -nt smallxrm.o && bash smallxrm.c
18:51:34 <riv> I added this to compile
18:51:41 <riv> but I want to use -lsqlite3 not sqlite3.o
18:52:59 <zzo38> OK, I can add that step for smallxrm, but the reason that I did not use -lqlite3 is because the version of SQLite in the package manager may be too old.
18:53:15 <riv> if the version is old they should update it
18:53:31 <riv> I have to put export EXE=heromesh
18:53:47 <riv> now I have built heromesh
18:56:41 <riv> $ ./bin/heromesh ./misc/sokoban
18:56:43 <riv> FREE HERO MESH
18:56:45 <riv> Loading key bindings...
18:56:49 <riv> Loading pictures...
18:56:51 <riv> FATAL: Failed to open xclass file (No such file or directory)
18:57:07 <zzo38> If you want to write a Makefile then you can do that, I suppose
18:57:16 <riv> ./compile is good
18:58:21 <zzo38> However, to runa puzzle set in Free Hero Mesh, you must pass the name of the puzzle set file excluding the file ".xclass", ".class", etc. A puzzle set consists of four files, not only one. (You can, however, combine them into one by putting them into a Hamster archive and then using the -z switch.)
18:59:15 <zzo38> The sokoban set is only an example and is incomplete. However, there are two full puzzle sets at http://zzo38computer.org/freeheromesh/bnb.zip and vtower.zip which have been converted from other games.
18:59:37 <zzo38> You can also download and convert puzzle sets from Everett Kaser's web page, or make up your own.
19:00:50 <zzo38> (I tried to make the instructions clear in the README file and man page, but maybe it isn't.)
19:02:08 <riv> ubuntu@ubuntu:~/Code/Free Hero Mesh-c75006b3f9/bin$ ls
19:02:09 <riv> bnb.zip current.heromeshrc current.heromeshsession heromesh vtower.zip
19:02:11 <riv> ubuntu@ubuntu:~/Code/Free Hero Mesh-c75006b3f9/bin$ ./heromesh bnb
19:02:13 <riv> FREE HERO MESH
19:02:15 <riv> Loading key bindings...
19:02:19 <riv> Loading pictures...
19:02:21 <riv> FATAL: Failed to open xclass file (No such file or directory)
19:02:27 <riv> I see, I have to unzip it
19:02:30 <riv> This si working now!
19:03:34 <riv> n$ ./heromesh vtower/vtower
19:03:36 <riv> FREE HERO MESH
19:03:38 <riv> Loading key bindings...
19:03:42 <riv> Loading pictures...
19:03:46 <riv> Initializing user cache...
19:03:50 <riv> Loading class definitions...
19:03:52 <riv> FATAL: On line 233: Invalid token: Four
19:03:54 <riv> vtower is not working
19:04:40 <zzo38> Sorry, I failed to update that file after changing something; I will fix it now.
19:05:31 <zzo38> OK, I fixed it; you can redownload vtower.zip and then it should work.
19:06:43 <riv> Does vtower only have 1 level?
19:07:50 <zzo38> No; you can use the number pad - and + or push CTRL+G to access other levels. If you push shift and the number pad + then you will skip to the last level.
19:09:23 <riv> I got the WIN state on level 1
19:09:28 <zzo38> (See the bottom section of game.doc for a summary of the key bindings in the game; this is not including the keys for the puzzle itself, which can vary depending on the puzzle set.)
19:09:33 <riv> but it doesn't take me to the next level automatically
19:09:38 <riv> so I just have to press next level when I complete a level?
19:10:12 <zzo38> Yes. (In future I might add the option to automatically go to the next level when you win, but currently it doesn't do that.)
19:10:40 <riv> this is cool, I can turn into a bat
19:14:41 <zzo38> (I will eat now; I will come back to the computer afterward in order to answer any more questions if you have any)
19:35:14 <zzo38> I am also working on a (currently incomplete) puzzle set based on Hero Hearts, but with many new classes.
19:37:45 <zzo38> If you have any contribution to make to Free Hero Mesh, you are free to do (either on this IRC, or on the NNTP (which will be preferred for long messages)); some kinds of contributions that may be acceptable include (but are not necessarily limited to): questions, comments, bug reports, feature requests, patches, puzzle sets, documentation, and promotion.
19:38:39 <zzo38> (What you mentioned already is good, so I have added them either already or being planned.)
19:52:02 <zzo38> One thing I hoped to add in future is a catalog service, that you can upload composite puzzle sets and search and download them. (However, this isn't the first priority; there are other things to do first.)
19:58:57 <zzo38> Some things I had hoped someone who knows how to do would help with more quickly (i.e. closer to first priority) include a logo, promotion, writing a proper tutorial document, and how to put into package manager of some Linux distributions. (I think the "har" program should probably be a separate package, which can be recommended or suggested by this one. It could also potentially be suggested by other packages.)