New games - Snake, Tetris - page 2 - General Discussion and Assistance - CHDK Forum

New games - Snake, Tetris

  • 21 Replies
  • 9533 Views
*

Offline fudgey

  • *****
  • 1705
  • a570is
Re: New games - Snake, Tetris
« Reply #10 on: 12 / January / 2009, 14:02:15 »
Advertisements
Currently everything is enabled in trunk, but RAM is scarce (see http://chdk.wikia.com/wiki/CHDK/Camera_RAM_memory_usage) and we can't afford to spend too much for unnecessary things. But anyone can build a customized CHDK with/without the games and spend/save RAM accordingly, or beg for someone capable to build one for them.

Games are fun, I've surprisingly found myself playing them quite often :D

Maybe we could decide a total size limit in for games to occupy in autobuilds for now and then periodically vote which games to enable in each major release? From a developer's point of view that's unnecessary, but then again not much work at all and I believe most users don't build CHDK themselves, so there is some importance in what's enabled in autobuilds by default.

Perhaps one day (before we are able to load binary modules) we'll produce and distribute several parallel autobuilds or releases to select from for each camera -- at least for models low on RAM. There's more to this than just RAM savings; lack of features often equals ease of use (which could of course be just a simple option to hide advanced stuff and disable shortcuts...).

*

Offline kuku

  • *
  • 14
Re: New gamesI've created a patchvith the games - Snak Tetris
« Reply #11 on: 12 / September / 2009, 03:27:18 »
the 4 source files you must put to core directory and then apply the patch - you can disable the games in buildconf.inc
works on my s5is  - the diskboot.bin is about 15k bigger
I publish the patch because someone can  use the it to add his own features to the menu looking at it
« Last Edit: 12 / September / 2009, 03:36:35 by kuku »

*

Offline msl

  • *****
  • 1271
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: New games - Snake, Tetris
« Reply #12 on: 12 / September / 2009, 07:31:23 »
Thx for the work, a nice gimmick for gamers.

I had to correct the file something for working with TortoiseSVN. 

In the attachment there is a patch-file inclusive of the additional files. This patch is working with TortoiseSVN.

The diskboot.bin is 9k bigger by compiling with ggc4.4.0.
CHDK-DE:  CHDK-DE links

*

Offline ewavr

  • ****
  • 1057
  • A710IS
Re: New gamesI've created a patchvith the games - Snak Tetris
« Reply #13 on: 08 / October / 2009, 06:37:46 »
I publish the patch because someone can  use the it to add his own features to the menu looking at it

Many thanks, I added tetris to my personal build for a710.


*

Offline Atnas

  • *
  • 29
Re: New games - Snake, Tetris
« Reply #14 on: 08 / October / 2009, 11:09:52 »
I use these too in my build :D, really great when I'm feeling down.
A710 - SD1000(IXUS70)

Re: New games - Snake, Tetris
« Reply #15 on: 12 / December / 2010, 08:43:14 »
Somebody can explain me where I must place the files? In my camera (sx120), I have one folder named Games, but inside is only this file: sokoban.lev. Thanks.

*

Offline reyalp

  • ******
  • 12739
Re: New games - Snake, Tetris
« Reply #16 on: 12 / December / 2010, 16:04:33 »
Somebody can explain me where I must place the files? In my camera (sx120), I have one folder named Games, but inside is only this file: sokoban.lev. Thanks.
You need to build your own copy of CHDK to use this.
Don't forget what the H stands for.

Re: New games - Snake, Tetris
« Reply #17 on: 20 / December / 2010, 00:07:36 »
@ Reyalp Can you explain me how can I make my own build of CHDK? Thanks for the help.


*

Offline fe50

  • ******
  • 3117
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: New games - Snake, Tetris
« Reply #18 on: 20 / December / 2010, 05:59:13 »
@petergovea:
Running MS Windows, you can compile your own CHDK build with the CHDK-Shell  - download the FULL version including the gcc compiler to start.

Since the SX120 sources are not available from the international CHDK SVN server, you may use the CHDK-DE SVN (the german source tree, including the SX120 1.00b).
Use the "Set SVN site..." button to switch between the two source code repositories...

*

Offline msl

  • *****
  • 1271
  • A720 IS, SX220 HS 1.01a
    • CHDK-DE links
Re: New games - Snake, Tetris
« Reply #19 on: 20 / December / 2010, 06:27:59 »
This svn (CHDK-DE) has also included tetris as an option. Check the compile options of the CHDK-Shell.  ;)

msl
CHDK-DE:  CHDK-DE links

 

Related Topics