VOGONS


New DOSBox Frontend - DOSBoxGui

Topic actions

Reply 20 of 45, by nsmcovox

User metadata
Rank Newbie
Rank
Newbie

I'm stumped. When executing dosboxgui.tcl from /tmp:

scott@trousersnake:/tmp$ tclsh8.4 dosboxgui.tcl proc_browsers.tcl
Application initialization failed: this isn't a Tk applicationunknown color name "Black"
Error in startup script: couldn't read file "./proc_browsers.tcl": no such file or directory
while executing
"source [file join $libPath proc_browsers.tcl]"
(file "./dosboxgui.tcl" line 267)
scott@trousersnake:/tmp$

After moving all the tcl files to ~/.dosbox/dosboxgui/ :

scott@trousersnake:~/.dosbox/dosboxgui$ tclsh8.4 dosboxgui.tcl
Application initialization failed: this isn't a Tk applicationunknown color name "Black"
couldn't find: /home/scott/.dosbox/dosboxgui/dosboxgui.ini, using default settings
save settings called: /home/scott/.dosbox/dosboxgui/dosboxgui.ini
using default language
Error in startup script: can't invoke "option" command: application has been destroyed
while executing
"option add *Button.padY 0"
(procedure "gui::build" line 25)
invoked from within
"gui::build"
(file "./dosboxgui.tcl" line 276)
scott@trousersnake:~/.dosbox/dosboxgui

Running it with tcl 8.3 wasn't much of an improvement:

scott@trousersnake:~/.dosbox/dosboxgui$ tclsh8.3 dosboxgui.tcl
syntax error in expression "[file type $scriptBase] eq "link""
while executing
"if {[file type $scriptBase] eq "link"} {
set libPath [file dirname [file readlink $scriptBase]]
} else {
set libPath [file dirname $scriptBase..."
(file "dosboxgui.tcl" line 6)
scott@trousersnake:~/.dosbox/dosboxgui$

Am I doing something wrong? I'm not too familiar with how tcl needs to be handled 😒

Reply 21 of 45, by nsmcovox

User metadata
Rank Newbie
Rank
Newbie

nm I'm dumb, needed to move /etc/X11/rgb.txt to /usr/share/X11/

Reply 22 of 45, by maYO

User metadata
Rank Newbie
Rank
Newbie

Version 0.5.1 is out - a bugfixing release:

  • on Linux systems please consider that there's an issue when running dosboxgui.tcl without the path. So instead of running "./dosboxgui.tcl" please use "~/pathToDosboxgui/dosboxgui.tcl" instead. Will get this fixed soon hopefully.

Get it here.

DOSBoxGui - multi platform DOSBox frontend

check my weblog (german only)

Reply 23 of 45, by maYO

User metadata
Rank Newbie
Rank
Newbie

Hooray! DOSBox 0.65 is out! And I'm just taking a look at the new features.
While doing this I realized that there was still something left to fix in the DOSBoxGui, which I just did.
It was a small glitch rendering the gui useless on some Windows systems.

Get DOSBoxGui 0.5.3!

DOSBoxGui - multi platform DOSBox frontend

check my weblog (german only)

Reply 24 of 45, by Spearhead

User metadata
Rank Newbie
Rank
Newbie

i get the error

invalid command name "option"
while executing
"option add *Button.padY 0"
(procedure "gui::build" line 25)
invoked from within
"gui::build"
(file "/home/spearhead/dosboxGui.0.5.1/dosboxgui.tcl" line 278)

when i try to start either 0.5.1 or 0.5.3.

I'm running on Ubuntu Dapper and tcl 8.4
Is there any way to fix that?

Reply 25 of 45, by EverybodyJump

User metadata
Rank Newbie
Rank
Newbie

I like this. The interface is nice and clean.

Reply 26 of 45, by PavelJ

User metadata
Rank Newbie
Rank
Newbie

very nice, the first frontend for linux that i like! thx!

Reply 28 of 45, by PavelJ

User metadata
Rank Newbie
Rank
Newbie

you asked for it :)

i think a quite obvious feature would be to let the user select the machine-type (vga,herc,...).

and it would be nice to be able to define a specific dosbox-executable per game if you have several versions for different games.

Reply 29 of 45, by Spearhead

User metadata
Rank Newbie
Rank
Newbie

any news on the GUI? Did you find any time to code something? ^^

Reply 31 of 45, by ChaosFish

User metadata
Rank Member
Rank
Member
Spearhead wrote:
i get the error […]
Show full quote

i get the error

invalid command name "option"
while executing
"option add *Button.padY 0"
(procedure "gui::build" line 25)
invoked from within
"gui::build"
(file "/home/spearhead/dosboxGui.0.5.1/dosboxgui.tcl" line 278)

when i try to start either 0.5.1 or 0.5.3.

I'm running on Ubuntu Dapper and tcl 8.4
Is there any way to fix that?

I get the same on Fedora Core 5 x86_64. Am I doing something wrong?

Reply 32 of 45, by shutdownrunner

User metadata
Rank Newbie
Rank
Newbie

The same under debian unstable.

loaded settings from: /home/miles/.dosbox/dosboxgui/dosboxgui.ini
save settings called: /home/miles/.dosbox/dosboxgui/dosboxgui.ini
using default language
invalid command name "option"
while executing
"option add *Button.padY 0"
(procedure "gui::build" line 25)
invoked from within
"gui::build"
(file "/home/miles/Desktop/folder bez nazwy/dosboxgui.tcl" line 273)

For some people it does work. Which distro are you using?

The fact that it doesn't work under ubuntu is understandable since it's based on debian sid/unstable. Maybe it's some bug inside tcl8.4??

Reply 33 of 45, by Spearhead

User metadata
Rank Newbie
Rank
Newbie

how did you two try to start it? I got it to work as far as i can remember (it's been a while) by running it with "./dosboxgui" and not with "tcl dosboxgui"

EDIT: oh and also, i was using Ubuntu, so i can say it can be run on Ubuntu 😀

Reply 34 of 45, by bugmenot

User metadata
Rank Newbie
Rank
Newbie

Sorry for using the bugmenot account, but I dont wanted to register just to post a bug.

lasse@mastermind:~/dosboxgui$ tclsh /home/lasse/dosboxgui/dosboxgui.tcl loaded settings from: /home/lasse/.dosbox/dosboxgui/dosb […]
Show full quote

lasse@mastermind:~/dosboxgui$ tclsh /home/lasse/dosboxgui/dosboxgui.tcl
loaded settings from: /home/lasse/.dosbox/dosboxgui/dosboxgui.ini
save settings called: /home/lasse/.dosbox/dosboxgui/dosboxgui.ini
using default language
invalid command name "option"
while executing
"option add *Button.padY 0"
(procedure "gui::build" line 25)
invoked from within
"gui::build"
(file "/home/lasse/dosboxgui/dosboxgui.tcl" line 273)

I'm using tcl 8.4 under (x)ubuntu dapper.
For more questions, my email adress is slow.motion(a)unlimitedmail.org

Reply 35 of 45, by shutdownrunner

User metadata
Rank Newbie
Rank
Newbie

Check if you have tk8.4 installed. And then run "sh /home/lasse/dosboxgui/dosboxgui.tcl" and not tclsh. It should work this way.

Reply 36 of 45, by Spearhead

User metadata
Rank Newbie
Rank
Newbie

@shutdownrunner: so it works for you now?

Reply 37 of 45, by shutdownrunner

User metadata
Rank Newbie
Rank
Newbie

@Spearhead: Yes it does. I just didn't have tk. I found in debian packages database which package contains wish and it worked. A lucky guess

Reply 38 of 45, by bugmenot

User metadata
Rank Newbie
Rank
Newbie

Thank you for the help. tried it with "sh" and it worked. 😊

But how can I change something in the default.conf or loading my own dosbox.conf? the gui seems to overwrite the default.conf everytime I start it. Because i want to load a german keyboard driver.

Reply 39 of 45, by Anhaedra

User metadata
Rank Newbie
Rank
Newbie

I can't seem to get it to run on Mac OS X 10.4.7 on a Mac Pro... It outputs an error when I try to launch it in the terminal (That's how you launch it, right? ./dosboxgui.tcl ?)

"Please flee in terror in an orderly manner."