Page 1 of 1

Having trouble with source code

Posted: Fri Aug 07, 2015 8:37 pm
by Amadameus
Hello everyone!

I'm hoping to look through the code of others - specifically Isome - so I can try to learn from it, and maybe adapt it for my own project.

I've downloaded both the .zip and the .love files, but so far I've never been able to view the code! I can't find .lua files anywhere.

Is there something I'm missing here?

Re: Having trouble with source code

Posted: Fri Aug 07, 2015 9:02 pm
by bartbes

Code: Select all

$ zipinfo Isome.love 
Archive:  Isome.love
Zip file size: 50281 bytes, number of entries: 26
-rw-a--     6.3 fat      482 bx defN 10-Nov-18 17:18 conf.lua
drwx---     6.3 fat        0 bx stor 10-Nov-19 00:56 engine/
-rw-a--     6.3 fat     2349 bx defN 10-Nov-23 15:59 engine/client.lua
-rw-a--     6.3 fat     4586 bx defN 10-Nov-23 16:00 engine/editor.lua
-rw-a--     6.3 fat    10574 bx defN 11-Aug-06 03:21 engine/engine.lua
-rw-a--     6.3 fat     3461 bx defN 11-Aug-06 03:08 engine/server.lua
-rw-a--     6.3 fat     2897 bx defN 10-Jun-14 19:18 engine/TLibCompress.lua
-rw-a--     6.3 fat      925 bx defN 10-Nov-19 01:07 engine/TSerial.lua
-rw-a--     6.3 fat      618 bx defN 10-Nov-23 16:01 gamedata.lua
drwx---     6.3 fat        0 bx stor 10-Nov-22 20:42 graphics/
-rw-a--     6.3 fat     4506 bx stor 10-Nov-12 21:47 graphics/isome.png
-rw-a--     6.3 fat     1251 bx stor 10-Nov-18 22:23 graphics/player.png
-rw-a--     6.3 fat      327 bx defN 10-Nov-17 23:26 graphics/shadow.png
-rw-a--     6.3 fat      420 bx defN 10-Nov-18 22:06 graphics/tile0.png
-rw-a--     6.3 fat     2876 bx stor 10-Nov-18 23:54 graphics/tiles.png
-rw-a--     6.3 fat      997 bx defN 10-Nov-21 19:02 helper.lua
drwx---     6.3 fat        0 bx stor 11-Mar-11 19:36 Isome misc/
-rw-a--     6.3 fat     2806 bx stor 10-Nov-22 20:42 Isome misc/AS tiles.png
-rw-a--     6.3 fat     7267 bx defN 10-Nov-22 11:34 Isome misc/cobbles tle.pspimage
-rw-a--     6.3 fat     2772 bx defN 10-Nov-18 17:03 Isome misc/new  4.lua
-rw-a--     6.3 fat      716 bx defN 10-Nov-23 00:23 Isome misc/new tracer b.lua
-rw-a--     6.3 fat      697 bx defN 10-Nov-20 20:18 Isome misc/new tracer.lua
-rw-a--     6.3 fat     9211 bx defN 10-Nov-22 10:54 Isome misc/underworld tile.pspimage
-rw-a--     6.3 fat     8589 bx defN 10-Nov-22 14:56 Isome misc/underworld.png
-rw-a--     6.3 fat     4271 bx defN 10-Nov-23 15:48 main.lua
-rw-a--     6.3 fat        6 bx stor 10-Jun-15 16:26 readme.txt
26 files, 72604 bytes uncompressed, 46421 bytes compressed:  36.1%
There's definitely lua files in there.

Re: Having trouble with source code

Posted: Fri Aug 07, 2015 9:16 pm
by Amadameus
Aha!

Thanks for the help - for some reason I was going in reverse, converting the .zip with the executable into .love files.