Skip to content

revvv/gdash-export-CrLi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GDash

GDash is a feature-rich Boulder Dash clone. The main goal of the project is to implement a clone which is as close as possible to the original. GDash has a cave editor, supports sound, joystick and keyboard controls. It can use GTK+, SDL2 and OpenGL for drawing. The OpenGL engine can use shaders, which provide fullscreen graphical effects like TV screen emulation. It supports replays, snapshots and has highscore tables.

This fork adds some new features:

  • New command line options for bulk export (the reason for the fork's name...)
  • After completing a cave you can skip the time countdown with F (fast) or ESC #50
    Very useful if your test cave has time 999.
  • Show complete cave without scrolling #21 #59
  • You can now activate the OpenGL renderer for super smooth scrolling #25
  • Improved snapshot feature for Twitch #23
  • Show all elements in element statistics #31
  • New command line argument --help-localized
  • Fixed replay feature (fire was not recorded) #18
  • New feature "Milling time 0 is infinite" #12
  • New player animations (gfx by cwscws) #4
  • Higher scaling factors and autoscale
  • Enhanced game controller support
    • Now all connected gamepads are supported at the same time
    • Left stick or DPAD control the player
    • You can configure your button layout with gamecontrollerdb.txt
  • Updated caves, fixed caves, added caves by renyxadarox, Dustin974, cwscws
  • New BD3 theme (gfx by cwscws)
  • New shaders #10
  • GTK+ fixes (esp. for Mac: Drag-and-drop #15 #17 cave list, stuck key #6, frozen Window #57)
  • Full screen enhancements #29 #61
  • Test game uses GTK+/SDL/OpenGL as configured #8
  • 64 bit ZIP distribution for Windows, Linux and Mac
  • CrLi now also exports teleporters
  • CrLi export bug fixed: Butterflies had wrong directions
  • Default game is BD1

FAQ

  • Q: Why is there no console output for gdash --help on Windows?
    A: You can redirect the output to a file:
    $ gdash --help > gdash.log 2>&1

  • Q: On Mac/Linux executing gdash seems not to work?
    A: Always use the shell script instead:
    $ ./start-gdash-mac.command
    $ ./start-gdash-linux.sh

  • Q: What changes to the project are not obvious?
    A: make install is not maintained. It may work, but GDash expects all caves in the installation folder and not in /share/locale.

  • Q: On Mac some keys seem not to work?
    A: Mac default shortcuts collide with some keys.

    Key GDash Mac Recommendation
    CTRL Snap Change desktop: CTRL+Left/Right-Cursor Configure another snap key in GDash (press K to configure)
    F11 Fullscreen Show desktop Disable F11 in System Preferences -> Keyboard -> Shortcuts -> Mission Control
  • Q: Why are caves sometimes in .bd or .gds or both formats?
    A: .gds is a binary import from the C64/Atari. .bd is the new BDCFF format with many new features. However not all elements the 8-Bit community used are yet identified. So it could make sense to keep both until these elements are supported. Unknown elements are simply imported as steel wall. If you want to play the caves, always prefer the .bd version.

  • Q: I have the feeling that a butterfly moves in the wrong direction?
    A: There was a fix added in GDash-export 1.2. Beginning with this version you should be able to import/export caves from Crazy Light Construction Kit preserving the correct direction. Unfortunately some 8-Bit caves were manually created by binary editing with wrong bufferfly directions. You can try to import them with version GDash-export 1.1. Usually these caves start with binary header GDashCRL. See #40

  • Q: Does GDash for cygwin support gamepads?
    A: Yes, but make sure you have the latest version: SDL2-2.28.4-1a (2023-10-06)
    Please check if dinput and xinput gamepads work in GTK+ and SDL mode. Right now all combinations work fine!

Bulk export

Previously you had to do that with the GUI for each cave, which is not very comfortable for very many caves.

$ gdash BoulderDash02.bd --save-crli -q

will generate a .CrLi file for each cave. See Crazy Light engine format specification

$ gdash BoulderDash02.bd --save-flat BoulderDash02-flat.bd -q

will flatten all caves.

My motivation: I wanted to import new caves to various Boulder Dash engines and the CrLi file format is pretty powerful.
However if you don't want to dig deep into the CrLi specification you can flatten the BDCFF file, which has an almost self-explaining ASCII representation of the caves.

Screenshot

About

GDash with new features

Resources

License

MIT and 3 other licenses found

Licenses found

MIT
COPYING
LGPL-2.1
COPYING.GTK
LGPL-2.1
COPYING.HQX
LGPL-2.1
COPYING.SDL

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 73.5%
  • Makefile 22.1%
  • GLSL 2.0%
  • Shell 1.7%
  • CSS 0.5%
  • M4 0.2%