It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Is it only me or anyone else is also experiencing game crashes related to explosions and/or death causing the game and Dosbox to crash?
avatar
fexen: Is it only me or anyone else is also experiencing game crashes related to explosions and/or death causing the game and Dosbox to crash?
Change memsize=32 to memsize=64 in dosbox_swarrior.conf
Sometimes when too much action and sprites is rendered at the same time memory overflows beyond limit and game capabilities so it crashes and quits. After change it should be less frequent.
avatar
HenitoKisou: Change memsize=32 to memsize=64 in dosbox_swarrior.conf
Sometimes when too much action and sprites is rendered at the same time memory overflows beyond limit and game capabilities so it crashes and quits. After change it should be less frequent.
Thanks for advice.
Post edited November 21, 2012 by fexen
Try use Dos32a. It is a replacement for DOS/4GW and fixes a lot of memory issues. For instance when I played Syndicate Wars and blew stuff up, sometimes all the colors got corrupted for lack of better word. Dos32a fixed that issue.

You can get the Dos32a here. If the page doesn't work try google it

There are 3 ways to use it and I quote:
There are several ways DOS/32 Advanced can be "plugged" into your 16-bit and 32-bit protected mode applications and games. The simpliest way to replace the old DOS/4GW DOS Extender provided with many programs is to copy DOS/32 Advanced executable file dos32a.exe into the directory where you installed the software (the directory containing dos4gw.exe file), delete the old dos4gw.exe file and rename dos32a.exe to dos4gw.exe. You can always preserve the old dos4gw.exe file by copying it into another directory, and if the program you intended to run with DOS/32 Advanced is not 100 per cent DOS/32 Advanced compatible, you can always recopy the old dos4gw.exe DOS Extender back.

Below are listed three different examples which show three different ways of how you can use DOS/32 Advanced DOS Extender in your programs. Please note that the examples assume you are using an MS-DOS or compatible Operating System.



Example 1:

You have installed the game TIE FIGHTER (CD Version) into directory C:\GAMES\TIECD. In the same directory is located file dos4gw.exe.

STEP 1) Copy file dos32a.exe into the directory C:\GAMES\TIECD, type at DOS prompt:

copy dos32a.exe C:\GAMES\TIECD

STEP 2) Preserve file dos4gw.exe in C:\TEMP directory and remove it from C:\GAMES\TIECD, type at DOS prompt:

cd C:\GAMES\TIECD
move dos4gw.exe C:\TEMP

STEP 3) Rename dos32a.exe to dos4gw.exe, type at DOS prompt:

ren dos32a.exe dos4gw.exe

STEP 4) Start the game as usual by typing tie at DOS prompt.

Note that if you do not want to preserve the old file dos4gw.exe you can simply type at DOS prompt:

copy dos32a.exe C:\GAMES\TIECD\dos4gw.exe



Another way to use DOS/32 Advanced with your protected mode applications is to execute it on a program by typing at DOS prompt: dos32a myprog.exe where myprog.exe is the file that is to be run. This way, you can keep the files unmodified on your hard drive but run them under DOS/32 Advanced, or start programs from CD-ROMs where the files can not be modified. You can also create batch files in which you can place the commands described below to simplify the start of your programs. Please note that DOS/32 Advanced DOS Extender is capable of starting programs from the command line even if they are bound to another DOS Extender, for example DOS/4GW Professional!

Example 2:

You have installed the game DOOM II into directory C:\DOOM2. In the same directory is located file doom2.exe which is the game's executable file.

STEP 1) Copy the file dos32a.exe into the directory C:\DOOM2, type at DOS prompt:

copy dos32a.exe C:\DOOM2

STEP 2) Create a batch file d2.bat, type at DOS prompt:

cd C:\DOOM2
copy con d2.bat
@dos32a doom2.exe
^Z

File d2.bat will be created after you press ^Z (CTRL-Z) key combination to interrupt the input. Start the game by typing d2 at DOS prompt.



The third way to use DOS/32 Advanced with your protected mode applications is to bind it to a program. You must use the SUNSYS Bind Utility program sb.exe which is included with DOS/32 Advanced DOS Extender. When binding DOS/32 Advanced to an executable file, the old DOS Extender or stub file which was bound to the application will be removed and discarded. Therefore you should make sure that the program is DOS/32 Advanced compatible. This can be done by executing DOS/32 Advanced on program's executable file as described above. The following example will show how to bind DOS/32 Advanced to a program:

Example 3:

You have installed the game DUKE NUKEM 3D into directory C:\DUKE3D. In the same directory is located file duke3d.exe which is the game's executable file.

STEP 1) Use SUNSYS Bind Utility to bind DOS/32 Advanced executable file dos32a.exe to a program, type at DOS prompt:

cd C:\DUKE3D
sb -r duke3d.exe

The Bind Utility will report its actions and show the final size of the file duke3d.exe. You will notice that it had changed and became smaller by almost 200KB. The game can now be started as usual.
Sorry for the long quote but I am so tired of people linking to a fix and then 2 years later neither the guy who posted it nor the webpage is around any longer. I believe you have to use example 2 or 3 with shadow warrior since it lacks the DOS/4GW.exe.
Post edited November 21, 2012 by Citronvand
avatar
fexen: Is it only me or anyone else is also experiencing game crashes related to explosions and/or death causing the game and Dosbox to crash?
avatar
HenitoKisou: Change memsize=32 to memsize=64 in dosbox_swarrior.conf
Sometimes when too much action and sprites is rendered at the same time memory overflows beyond limit and game capabilities so it crashes and quits. After change it should be less frequent.
I've got it on 64 and not much change for me
It's not crash free 100% solution, they will be still present, but less likely 70-90% times of no crash unless you really trying to get too hot with action on screen.

One option is use this version of DOSBox:
http://www.the-postmortem.com/article/blood_cd_audio_looping_fixed_in_dosbox/36/
But can do weird things over time so if starts crashing, reduce memsize to 32.

Another option is to use DOS/32A with default value 32.
To use them just place files in game directory and change dosbox_swarrior_single.conf entries to something like this:

:swarrior
cls
@echo off
@COPY sw.dat sw.exe
cls
dos32a.exe sw.exe
cls
exit

:tdragon
cls
@echo off
cd .\dragon
#tdragon.exe
cls
dos32a.exe sw.exe
cls
exit

:wanton
cls
@echo off
@COPY wanton.dat sw.exe
cls
dos32a.exe sw.exe
cls
exit

:exit
exit

http://dos32a.narechk.net/index_en.html

Any other instructions how to bind executable with extender you have above posted by Citronvand (use dos32 or bind it to exe) because any attempt to try use normal dos4gw will make game quit immediately. With binded executable you don't need add extender to launcher line like dos32a.exe sw.exe, because single sw.exe will do work.

To bind them create text file, type sb -r Sw.exe rename to sb.bat, run bat in dosbox and it's done. You need do this for both, main game folder and \dragon
Post edited May 26, 2013 by HenitoKisou
Might be only just me but turning off the shadows help a bit.


also Twin Dragon won't start now after doing those changes to dosbox_swarrior_single.conf
Post edited May 28, 2013 by Blaze72