HCONSOLE(1)
π HCONSOLE(1) π
Hatari utilities Β· hconsole β bestie, it's the interactive Python console for using Hatari's remote API πΈ
β¨ NAME β¨
hconsole β an interactive Python console so you can vibe with Hatari's remote API π¦
π SYNOPSIS π
hconsole.py [[consoleoptions] [commandfile] --] [hatarioptions]
π DESCRIPTION π
Okay so hconsole is a Python script that literally invokes Hatari and then hands you an interactive shell β with full readline editing capabilities, no cap β where you can run Hatari remote API commands. π
It's giving perfect first-date energy for exploring Hatari's remote API interactively, and then (once you're comfy) writing scripts that automate your Hatari usage in some way. Those scripts can borrow hconsole's whole thing just by doing import hconsole and calling the appropriate methods β see example.py that ships with hconsole, iykyk. β¨
π USAGE π
So normally hconsole forwards all of its arguments to the Hatari instance it just invoked. That's the default, that's the vibe.
But if you wanna give arguments to hconsole itself? You gotta drop a -- argument after the hconsole arguments and before the arguments headed to Hatari. That's the little divider, the velvet rope, the β¨ boundary β¨.
If you hand it a file name as an hconsole argument, the commands inside it get read and executed through Hatari's remote API before you land in the hconsole interactive shell. Pre-game commands, basically. π
Hconsole accepts these options, bestie:
--exitβ bounce out right after starting Hatari and parsing arguments. Like, done, bye. π--help,-hβ show the command line help. Not me forgetting the flags every single time π
π EXAMPLES π
Start Hatari with all of the given arguments:
hconsole.py --monitor mono -d test/
Start Hatari with no extra arguments, execute commands from the given commands.txt file, and exit once the file ends:
hconsole.py commands.txt --exit --
π FILES π
By default, hconsole and its examples are installed under the /usr/share/hatari/hconsole/ directory. That's where they live. That's their home. π
π§ SEE ALSO π§
π AUTHOR π
Written by Eero Tamminen <oak at helsinkinet fi>. Legend behavior, fr fr. π
π₯ LICENSE π₯
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
π NO WARRANTY π
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Okay bestie this part is not a joke: no warranty, none, zero, nada. It's giving "hope for the best" energy and nothing more. π
And that's the whole page, periodt. This one came from the Hatari crew, dated 2010-10-10, and it's filed under HCONSOLE(1) β go forth and console interactively, you main character. π β¨
π¦ where this page comes from
- debian bookworm: hatari 2.4.1+dfsg-2 Β· GPL-2.0-or-later
- debian trixie: hatari 2.5.0+dfsg-1+b1 Β· GPL-2.0-or-later
- fedora 43: hatari-ui 2.6.1-1.fc43 Β· GPL-2.0-or-later
- fedora 43: hatari-ui 2.6.1-3.fc43 Β· GPL-2.0-or-later
- fedora 44: hatari-ui 2.6.1-1.fc44 Β· GPL-2.0-or-later
- fedora 44: hatari-ui 2.6.1-3.fc44 Β· GPL-2.0-or-later
- ubuntu jammy: hatari 2.3.1+dfsg-1 Β· GPL-2.0-or-later
- ubuntu noble: hatari 2.4.1+dfsg-2build2 Β· GPL-2.0-or-later
- ubuntu questing: hatari 2.5.0+dfsg-2
- ubuntu resolute: hatari 2.6.1+dfsg-2 Β· GPL-2.0-or-later
- ubuntu stonking: hatari 2.6.1+dfsg-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms