vogons - very old games on new systems Last Visit : never :: 2010-8-01 @ 01:53 am : Now
?FAQ sSearch mMemberlist uUsergroups
rRegister pProfile "Messages lLog in
View posts : unanswered
Forum Index :: DOSBox General ::
up DOSBox Game Launcher (DOSBox Frontend)
Reply with quote DOSBox Game Launcher (DOSBox Frontend) :: 2006-8-09 @ 03:22 pm
rcblanke
Oldbie
[avatar]
Joined: 2005-04-01
Posts: 802
Location: Netherlands
Hi everybody,

Seems like a lot of people are thinkin' about DOSBox front-ends, lately.

Looking at myself, I've been using D-Fend with great pleasure for over 1 and a half years. Unfortunately, I started noticing a couple of shortcomings and bugs in D-Fend as time went by.

So, coincidentally, only a couple of weeks ago, I decided to build a Java front-end myself, using the proven interface of D-Fend as a basis.

The font-end, which I have dubbed DBGL (DOSBox Game Launcher) so far, is by no means finished. It is a work in progress and lacking many features, but the core is working, and I think the product is somewhat usable as it is. Please bear in mind that the interface is still quite rough around the edges.

To name a few of its features:

* D-Fend profiles importing
* multiple dosbox versions support, so you can select any pre-configured version to use _per profile_
* template support (like D-Fend)
* 2 URLs supported per profile
* booter games support
* basic zipfile support (using a dosbox version that has physfs integrated, for example Ykhwong's)
* can easily handle 1000+ profiles (for those interested: DBGL uses the Java hsqldb database engine, and SWT for the GUI)
* use with DOSBox v0.70, v0.65 or CVS

DBGL can optionally use the DOSBox feature 'Multiple Config Files' to use incremental config files. What this means, is that your game profile only stores the _differences_ compared to the main dosbox.conf file. Then, suppose you want to switch all profiles from output=surface to output=opengl, you only have to alter the main dosbox.conf setting to instantaneously alter all corresponding child profiles.

Just extract the DBGL archive to any dir and run the dbgl.bat file. Please note that you MUST have the Java Runtime Environment 1.5 installed, it will not work without the JRE1.5, or with an older version. Moreover, java.exe should be in your path. See http://java.sun.com/javase/downloads/index.jsp

The zip contains DBGL with some pre-configured templates and a DOSBox build which has Multiple Config Files support, so you can try that out.

Since the front-end was written in Java, it should be relatively easy to port to another platform. If anybody is interested in another build, I'll try to make one soon. Anyways, I'm releasing the sourcecode for the entire thingy as well, so please feel free to hack away.

Of course, bug-reports and/or suggestions are very welcome. Please let me know what you think!

Kindest regards,
Ronald

P.S. If anyone can think of a less lousy name for this little toy, do not hesitate, share the thought!

DBGL is available at
http://home.quicknet.nl/qn/prive/blankendaalr/dbgl/

user image


Last edited by rcblanke on 2007-4-05 @ 09:51 pm; edited 14 times in total
Post new topicReply to topic
Offline
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-09 @ 03:41 pm
h-a-l-9000
DOSBox Author
no avatar
Joined: 2005-02-23
Posts: 3128
Nice, I've been thinking about a java-based multiplayer fronted, now I don't have to redo the frontend part Happy

_________________
1+1=10
Post new topicReply to topic
Hidden
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-09 @ 04:06 pm
DosFreak
Freaky Ram Thing
[avatar]
Joined: 2002-06-30
Posts: 7362
Location: Your Head
Downloading now...

Good thing I've never bothered to setup profiles for my games otherwise I'd have alot of work to do.

/Nelson Ha Ha! Avatar_58

_________________
Game Acronym List
DosBox CVS Builds
DosBox Wish List
DosBox FAQ
PC Game Compatibility List
DOSBox Video Tutorial
Quote:
I am the Milkman. My milk is delicious
Post new topicReply to topic
Online
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-09 @ 05:18 pm
MiniMax
Flatulent member, Janitor
[avatar]
Joined: 2004-01-18
Posts: 5127
Location: Stockholm, Sweden, Europe, Earth Interests: Old games & young women
Yeah for Java!!! I havan't bothered with the other frontends because they were platform specific. And required strange compilers like Delphi Pascal.

I want to learn Java, so this will be an excellent opportunity to learn by building on something that already works. Any plans on setting up a CVS-repository for this?

_________________
DOSBox 0.73 ReadMe | DOSBox Wiki | DOSBox 60 seconds guide | How to ask questions
_________________
Inspiron 9400 | Core Duo T2400 @ 1.83 GHz | GeForce Go 7800 | SONY DVD+-RW DW-Q58A | Win XP Pro/SP2
Post new topicReply to topic
Offline
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-09 @ 06:19 pm
rcblanke
Oldbie
[avatar]
Joined: 2005-04-01
Posts: 802
Location: Netherlands
MiniMax wrote:
... Any plans on setting up a CVS-repository for this?


Hehe, well, I have CVSNT running at home, specifically for this project. But I guess you mean setting up something like a SourceForge project for this?! I think that may be a good idea if there is interest from the community. If you know how to set up a SourceForge project, please, be my guest.

In case anyone needs help compiling the source, just let me know. I've been developing in Eclipse 3.2, BTW.

Ronald
Post new topicReply to topic
Offline
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-09 @ 06:31 pm
rcblanke
Oldbie
[avatar]
Joined: 2005-04-01
Posts: 802
Location: Netherlands
..Attaching a couple more screenshots..
EDIT: removed them, they're on the site.


Last edited by rcblanke on 2007-4-05 @ 09:54 pm; edited 2 times in total
Post new topicReply to topic
Offline
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-09 @ 09:36 pm
ykhwong
Member
no avatar
Joined: 2004-03-17
Posts: 375
Location: Suwon, South Korea / Michigan
Good, zip file support is probably the first thing for frontend.

Is it possible to let your frontend know about dosbox version automatically?
For instance, "dosbox.exe -version" will write an output about version number to stdout.txt.
Then, the frontend will load stdout.txt to know which version of dosbox.exe is being used.
Furthermore, for accurancy, it can also see the creation date of dosbox.exe so that it guesses whether the dosbox.exe is official or cvs one.

_________________
http://ykhwong.x-y.net
Post new topicReply to topic
Hidden
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-09 @ 09:58 pm
rcblanke
Oldbie
[avatar]
Joined: 2005-04-01
Posts: 802
Location: Netherlands
ykhwong wrote:
Is it possible to let your frontend know about dosbox version automatically?


Hi ykhwong,

Surely this can be done, but for what purpose exactly?

Ronald
Post new topicReply to topic
Offline
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-09 @ 10:09 pm
ykhwong
Member
no avatar
Joined: 2004-03-17
Posts: 375
Location: Suwon, South Korea / Michigan
It's for convenience for any dosbox user.
Your frontend already has preconfigured profile included, so I hoped it automatically decides to use one of the profiles by analyzing the stdout.txt
DOSBox developer created such a parameter (readme says that it can be useful for frontends), but there are no frontends that have used the feature as far as I know.

_________________
http://ykhwong.x-y.net
Post new topicReply to topic
Hidden
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-10 @ 01:15 am
ErikGG
D.O.G. Developer
[avatar]
Joined: 2006-08-08
Posts: 403
Location: Belgium
Hi,

Are there many more commands showing information in the stdout.txt?
I tried the -version command and it shows 0.65. What do CVS builds return?

Erik.
Post new topicReply to topic
Offline
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-10 @ 01:25 am
h-a-l-9000
DOSBox Author
no avatar
Joined: 2005-02-23
Posts: 3128
0.65 Happy

_________________
1+1=10
Post new topicReply to topic
Hidden
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-10 @ 06:21 am
Qbix
DOSBox Author
[avatar]
Joined: 2002-11-27
Posts: 8229
Location: Fryslan
we might want to change that indeed Happy

_________________
Water flows down the stream
How to ask questions the smart way
Post new topicReply to topic
Hidden
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-11 @ 01:28 am
avatar_58
Mysterious Stranger
[avatar]
Joined: 2005-02-02
Posts: 955
Location: Canada
DosFreak wrote:
Downloading now...

Good thing I've never bothered to setup profiles for my games otherwise I'd have alot of work to do.

/Nelson Ha Ha! Avatar_58


You missed:

rcblanke wrote:

* D-Fend profiles importing


Wink Instant sale for me. You've taken all the work away and are attempting to best D-fend at the same time. Kudos. I'll definately be watching this one closely. That multiple version feature also is music to my ears.


And this is for Dosfreak Wink

user image
Post new topicReply to topic
Offline
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-11 @ 10:56 am
DosFreak
Freaky Ram Thing
[avatar]
Joined: 2002-06-30
Posts: 7362
Location: Your Head
Very cool.

_________________
Game Acronym List
DosBox CVS Builds
DosBox Wish List
DosBox FAQ
PC Game Compatibility List
DOSBox Video Tutorial
Quote:
I am the Milkman. My milk is delicious
Post new topicReply to topic
Online
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-11 @ 03:59 pm
rcblanke
Oldbie
[avatar]
Joined: 2005-04-01
Posts: 802
Location: Netherlands
@ykhwong & Qbix: Maybe when we get so far that dosbox can exactly report on its features, such as physfs support, scalers that are supported and so on, we can use that in a front-end such as mine. For the moment, I don't really see the usefulness of retrieving only it's version number, unless I'm missing something..

@avatar_58 & DosFreak: Thank you. I realized D-Fend profile importing was an important feature for many people because of the popularity of that front-end...Not to mention the nightmarish idea of having to copy hundreds of profiles by hand, myself Sly

BTW, DBGL currently does some cleanup when importing D-Fend profiles. During import, all bogus settings ([gus]base, [gus]rate, [sblaster]base and [sblaster]type) are removed. Midi settings are redefined as to match the changed configuration specifications for the midi section, and a couple of sections are stripped entirely. Those sections are: [directserial], [modem], [ipx] and [sdl]. I choose to do this because I think either:

* these settings should be choosen in the main dosbox.conf file (so to be able to change these kind of settings for all underlying games)
* they clutter up the profile's configuration file too much

I can imagine that this decision is not what is to be expected when doing a direct import, so, if anybody wants that, I can make this 'section-stripping' optional.

Regards,
Ronald
Post new topicReply to topic
Offline
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-11 @ 04:09 pm
rcblanke
Oldbie
[avatar]
Joined: 2005-04-01
Posts: 802
Location: Netherlands
DosFreak wrote:
Downloading now...

Good thing I've never bothered to setup profiles for my games otherwise I'd have alot of work to do.

/Nelson Ha Ha! Avatar_58


You mean you just use/have .conf files for each and every game, right?!
Would it be handy to have importing functionality for this situation as well? So that you can point to an existing configuration file, and just have that inserted in the profiles list in DBGL, instantly?!

Or maybe even better, you copy all your conf files to one dir and have that be inserted all at once. Of course, this will only work if you have given all your configuration files a unique name (probably the game's title)...
Post new topicReply to topic
Offline
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-11 @ 08:52 pm
ykhwong
Member
no avatar
Joined: 2004-03-17
Posts: 375
Location: Suwon, South Korea / Michigan
I was thinking about two optional ways.
This is just my opinion. (I am sorry if I bother Dosbox developers and/or rcblanke for this.)

1) The first thing is....
Adding ALL the lines connected to dosbox configs/features that have been changed since official version released is possible like this.

gui/sdlmain.cpp
Code:
printf(VERSION "\n\n");
printf("Since dosbox 0.65 official (for frontends)\n");
printf("Configuration :\n");
printf("[sdl] : output=++direct3d,++openglhq\n");
printf("[sdl] : ++overscan=++0,++number\n");
printf("[render] : scaler=++hq2x,++hq3x,++2xsai,++super2xsai,++supereagle,++advinterp2x,++advinterp3x,++tv2x,++tv3x,++rgb2x,++scan2x,++scan3x\n");
printf("++[vsync] : ++vsyncmode=++off,++on,++force\n");
printf("++[vsync] : ++vsyncrate=++75.023426,++number\n");
printf("Features :\n");
printf("++zip mount, ++multiple config\n");


Frontend will see & add only the words after ++. (That would be a little bit hard?)

2) Another thing is...

There will be only the following lines:

gui/sdlmain.cpp
Code:
printf(VERSION "\n\n");
printf("Features :\n");
printf("zip mount, multiple config\n");


Frontend will load texts "version number 0.6x", "zip mount", and "multiple config" with the help of '-version'.

Afterwards, frontend will run dosbox.exe with parameters below.
-c "config -writeconf frontend.conf" -c "exit"

Then it will load & analyze newly created frontend.conf for configuration of profiles.


Last edited by ykhwong on 2006-8-13 @ 07:44 pm; edited 1 time in total

_________________
http://ykhwong.x-y.net
Post new topicReply to topic
Hidden
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-12 @ 01:25 am
DosFreak
Freaky Ram Thing
[avatar]
Joined: 2002-06-30
Posts: 7362
Location: Your Head
I wonder if the effort of providing support for things not in the CVS is worth it?

Those using the CVS probably don't bother to use frontends anyway (well mostly).

_________________
Game Acronym List
DosBox CVS Builds
DosBox Wish List
DosBox FAQ
PC Game Compatibility List
DOSBox Video Tutorial
Quote:
I am the Milkman. My milk is delicious
Post new topicReply to topic
Online
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-12 @ 03:40 am
avatar_58
Mysterious Stranger
[avatar]
Joined: 2005-02-02
Posts: 955
Location: Canada
Rcblanke - No, thank YOU Wink You actually listened to what people wanted and implemented it. Very nice. What I also like is how editing profiles no longer blinks my whole screen or returns to the top like it does in D-fend.

A nice feature would be if the program memorized how I resized the window upon closing. In other words if my list was small I can leave it a little squished, if I have a giant list (which I do) I want it maximized at all times. Just a thought.

A feature I love with d-fend is making external shortcuts. You can quickly have an icon on the desktop which launches dosbox with specific settings, which is great when I make shortcuts for people who do not even know dosbox is running at all. I don't use it too often, but whenever I set it up for others I try to make dosbox as transparent as possible and this is THE easiest way (batch files and seperate configs work just as well, but this way is as painless for me as possible)
Post new topicReply to topic
Offline
Reply with quote Re: New DOSBox Frontend - DOSBox Game Launcher :: 2006-8-12 @ 05:38 am
collector
Oldbie
no avatar
Joined: 2003-01-15
Posts: 1492
A couple of thoughts, it might be nice to have the option to save the conf file in either a single directory or in the game's directory. The ability to launch a game in DOSBox from the GUI for test purposes to make decisions on settings would be handy.

Although this would not be part of this frontend, it would be nice to be able to invoke the frontend from the simple GUI of the menu bar like ykhwong includes in his builds.

But, what would make it a clear winner for me would be the ability to access it from a right click on a DOS executable, à la VDMS Launchpad and for it be able to generate a DOSBox shortcut to the game.
Post new topicReply to topic
Offline
page 1 of 34
Goto page 1, 2, 3 ... 32, 33, 34  Next
All times are GMT
Moderate
Quick Reply & Options
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Powered by phpBB © 2001-2003 phpBB Group.
vogons and vogons site design and content herein is under a creative commons license 2002-2003 zetafleet.dom.
This site hosts no abandonware. There is no material that is knowingly illegal here.
zetafleet.dom will not be held responsible for users' posts.
This disclaimer is brought to you thanks to the BSA.