As of 2016-02-26, there will be no more posts for this blog. s/blog/pba/
Showing posts with label DosBox. Show all posts

When I was trying to play TES: Arena in fullscreen, the screen didn't go as I expected. I saw the screen resolution changed from 1680x1050 (my native screen resolution), the game screen didn't show but a portion of X window from top-left corner.

There was a thread of discussion about this, the problem didn't exist in DWM v4.3, but that was very old version of DWM. Although there seemed to have some patch, but I didn't look into it. I didn't like to patch on my own.

I was using scaler of DOSBox at the time being in windowed mode, then I noticed there was an option fullresolution under the sdl section. The workaround is actually quite simple, you set it to your native screen resolution, so the screen resolution won't be changed after switching to fullscreen mode.

Problem solved.

You should have a default configuration file under ~/.dosbox after first-run of DOSBox, you can copy and modify it and use it with current directory as dosbox.conf when you run with dosbox .. It is documented very well, or you can read about the options here.

Note that some scaler doesn't re-scale to fill up the entire screen, you will see the picture centered at center of screen and leave a huge black border. normal2x/3x, advmame3x, and some re-scale to fill up the screen.

This may actually better than real screen mode change, by keeping the same resolution, the switching is faster than real screen mode change. You won't feel a pause during the switching.

After I had fun with Fus Ro Dah, I decided to try the first game in DOSBox, here is the commands I used to run it:

# file Arena106.exe
# Arena106.exe: PE32 executable (GUI) Intel 80386, for MS Windows, UPX compressed, RAR self-extracting archive
unrar e Arena106.exe
dosbox ARENA.BAT

You can download the full game for free on its website.

I have adjusted the configuration file of DOSBox, so I can have fullscreen in DWM, there seems to have bug in SDL or DWM. Save it as dosbox.conf and put it with game files, you will need to adjust it for your screen setting.

Before I changed the default normal2x scaler (you can also use command scaler to change), the game picture really reminded me of the old times. I have no idea how I could have played many games in that period of time. The text was almost unreadable for me before I changed to hq3q or advmame3x. Here are some screenshot of original pictures:

(I don't look like that in that picture at all, just random test :D)

I also had to change to CPU cycle, default was 3000, which was too slow when walking in the game.

The ZIP comes with a PDF file for instruction of using DOSBox, it also contains a list of password for copy protection, there is another Passwords.txt for easy lookup.

This certainly brought me back about two decades ago. After you bought a game, you opened the plastic wrapper, then took out a thick, well-designed, well-printed manual. You would hope there is more than just one manual, some posters or something.

You flipped over the pages, then a piece of colored plastic would fall out, it could be solid color, or two colors. You would put it on certain page which the text was printed in unreadable background colors.

But when you read through the colored plastic a number or a word would show up beneath. You then input that into a popup dialog, which showed up at random or at beginning of the game.

Meh, that was the time.

Hooray! I am using Microsoft Word!

Here is how I install:
- Download the Microsoft Word.
- Move or unpack the package to ~/Desktop/word_package/ with your Archive Manager, that package is a PKZIP+SFX. If your Archive Manager can't unpack it, you can run it in DosBox to unpack.
- Install DosBox. If you are using Fedora, you can install by yum install dosbox.
- Run DosBox.
- You need to mount your ~/Desktop, please run: mount c ~/Desktop
- Switch to C Drive: c:
- Enter the directory: cd word_package
- If you haven't unpacked it, you can run the Wd55_ben.exe (No ./, it's DOS!)
- Then run setup.exe and follow the instruction on screen. I didn't update any system things while installation. If your arrow keys do not work, please read the next; if they do work, skip next.
- On Fedora 10 or Ubuntu 8.10 (maybe some others), you need to create an configuration file for keycode issue. Use your favorite editor to create ~/.dosboxrc with:
- After you done installation, the Word should be at C:\WORD. Switch to it cd C:\WORD and run word.
I got the link via CLICK and read the resolution of keycode issue in this thread.
This post is written in Microsoft Word 5.5 with DosBox on Fedora 10, saved as RTF, uploaded to Google Docs, then copy-and-paste to Blogspot. However, some styles are applied on Google Docs for readability.

You can download the original DOC and RTF.