Difference between revisions of "TwinE"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Removed "Since ScummVM" for consistency with other engine wikipages)
(added imgui debug flag feature and mentioned mouse input)
 
(One intermediate revision by one other user not shown)
Line 23: Line 23:
* '''give_kashes [<amount>]'''
* '''give_kashes [<amount>]'''
* '''change_scene <scene_id>'''
* '''change_scene <scene_id>'''
* '''toggle_debug''': Allows you to activate an in-game debug menu with the right mouse button
*'''toggle_godmode'''
*'''toggle_godmode'''


Line 34: Line 33:
== Debugging ==
== Debugging ==
The engine supports the [[Boot Params|boot parameter]] option and allows you to activate [[Debugging ScummVM|debug channels]]. To e.g. debug the scripts in room 49 you can do:
The engine supports the [[Boot Params|boot parameter]] option and allows you to activate [[Debugging ScummVM|debug channels]]. To e.g. debug the scripts in room 49 you can do:
  ./scummvm --debug-channels-only --debugflags=Scripts -d3 -b 49 lba-de
  ./scummvm --debug-channels-only --debugflags=scripts,imgui -d3 -b 49 lba-de
===Room list===
===Room list===
Find the ids of the room in the <code>enum LBA1SceneId</code> in [https://github.com/scummvm/scummvm/blob/master/engines/twine/shared.h shared.h]
Find the ids of the room in the <code>enum LBA1SceneId</code> in [https://github.com/scummvm/scummvm/blob/master/engines/twine/shared.h shared.h]
Line 42: Line 41:
* Achievements from Dotemu release
* Achievements from Dotemu release
* Midi as mp3/ogg/flac for Dotemu release
* Midi as mp3/ogg/flac for Dotemu release
*Mouse and joystick for input


== OpenSource ==
== OpenSource ==
Line 50: Line 50:


[[Category:Engines]]
[[Category:Engines]]
[[Category:Engines Supporting Text-to-Speech]]

Latest revision as of 12:35, 8 October 2024

TwinE
Engine developer mgerhardy
Companies that used it Adeline Software International
Games that use it Little Big Adventure
Date added to ScummVM 2020-10-24
First release containing it 2.5.0

This engine runs the adventure game Little Big Adventure by Adeline Software International.

It is based on TwinEngine: https://github.com/xesf/twin-e (for reference)

Development

There are several debug console commands that help you to debug the game faster.

  • toggle_freecamera: Will allow you to move the camera freely around in the map. By default the keys s, y, x, c are used to move the camera. (Use the key v to place the hero at the center of the camera)
  • hero_pos: Set the hero position. You can also use (by default) the key v that is bound to spawning the actor at the current center of the camera.
  • give_allitems
  • give_key [<amount>]
  • give_gas [<amount>]
  • give_kashes [<amount>]
  • change_scene <scene_id>
  • toggle_godmode

There are a few more commands - just use the help command to get a complete list of the commands

A great resource of information is http://lbafileinfo.kaziq.net/

A list of bugs and feature requests can be found on our bug tracker: https://bugs.scummvm.org/query?component=Engine%3A+TwinE

Debugging

The engine supports the boot parameter option and allows you to activate debug channels. To e.g. debug the scripts in room 49 you can do:

./scummvm --debug-channels-only --debugflags=scripts,imgui -d3 -b 49 lba-de

Room list

Find the ids of the room in the enum LBA1SceneId in shared.h

New Feature

  • High resolution mode (1024x768)
  • Achievements from Dotemu release
  • Midi as mp3/ogg/flac for Dotemu release
  • Mouse and joystick for input

OpenSource

[2.21] released the source code of lba1 and lba2 on github.