Difference between revisions of "TwinE"

From ScummVM :: Wiki
Jump to navigation Jump to search
(added debug hints)
(added imgui debug flag feature and mentioned mouse input)
 
(4 intermediate revisions by 3 users not shown)
Line 5: Line 5:
usedBy=[[Little Big Adventure]]|
usedBy=[[Little Big Adventure]]|
dateAdded=October 24, 2020|
dateAdded=October 24, 2020|
release=
release=2.5.0
}}
}}


Line 16: Line 16:
There are several debug console commands that help you to debug the game faster.
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.
* '''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.
* '''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_allitems'''
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'''


There are a few more commands - just use the '''help''' command to get a complete list of the commands
There are a few more commands - just use the '''help''' command to get a complete list of the commands
Line 33: 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 41: 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 49: 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.