VOGONS


First post, by nbx2001

User metadata
Rank Newbie
Rank
Newbie

Hi there.

After the Loading-Screen freezes DOSBox completly, titlebar returns from "cw.exe" to "command", but the screen is black. The debugger shows, that, the game write the File "area_2\ico_svga.dat" to the rom at 0xc0000. Is this game copy icons to the videomemory from dosbox? Is this a possible error? Is the video memory is too small? How can I fix it ?

In VMWare and VirtualBox the game freezes too.

Sorry for my english.

 91741392: VGA:normal width, normal height aspect 2.338530
91856908: FILES:file open command 0 file data\s_loadin.ger
91857127: FILES:file open command 0 file data\s_loadin.ger
92259084: FILES:file open command 0 file data\s_loadin.ger
92259303: FILES:file open command 0 file data\s_loadin.ger
94591808: FILES:file open command 0 file area_2\font_lar.dat
94592037: FILES:file open command 0 file area_2\font_lar.dat
94592407: FILES:file open command 0 file area_2\font.dat
94592616: FILES:file open command 0 file area_2\font.dat
94636496: FILES:file open command 0 file area_2\pointers.dat
94636725: FILES:file open command 0 file area_2\pointers.dat
94637211: FILES:file open command 0 file area_2\cdata.dat
94637425: FILES:file open command 0 file area_2\cdata.dat
100436711: FILES:file open command 0 file area_2\crobo.dat
100436925: FILES:file open command 0 file area_2\crobo.dat
101261809: FILES:file open command 0 file area_2\cindex.dat
101262028: FILES:file open command 0 file area_2\cindex.dat
101281118: FILES:file open command 0 file area_2\explode.dat
101281342: FILES:file open command 0 file area_2\explode.dat
101574066: FILES:file open command 0 file area_2\explode.ind
101574290: FILES:file open command 0 file area_2\explode.ind
101609159: FILES:file open command 0 file area_2\pan_svga.dat
101609388: FILES:file open command 0 file area_2\pan_svga.dat
101699725: FILES:file open command 0 file area_2\backgr.dat
101699944: FILES:file open command 0 file area_2\backgr.dat
101704393: FILES:file open command 0 file area_2\chigh.dat
101704607: FILES:file open command 0 file area_2\chigh.dat
101704973: FILES:file open command 0 file area_2\ico_svga.dat
101705202: FILES:file open command 0 file area_2\ico_svga.dat
101859165: FILES:file open command 0 file area_2\ram_svga.dat
101859394: FILES:file open command 0 file area_2\ram_svga.dat
101872243: FILES:file open command 0 file area_2\tac_svga.dat
101872472: FILES:file open command 0 file area_2\tac_svga.dat
101874436: FILES:file open command 0 file area_2\cadrzn.dat
101874655: FILES:file open command 0 file area_2\cadrzn.dat
101884409: FILES:file open command 0 file area_2\recomp.dat
101884628: FILES:file open command 0 file area_2\recomp.dat
103805269: FILES:file open command 0 file area_2\cpal.pal
103805478: FILES:file open command 0 file area_2\cpal.pal
104058927: CPU:Write 73737373 to rom at c0000
104058933: CPU:Write 73737373 to rom at c0004
104058939: CPU:Write 73737373 to rom at c0008
104058945: CPU:Write 4f525573 to rom at c000c
104058951: CPU:Write 73595857 to rom at c0010
104058957: CPU:Write 73737373 to rom at c0014
104058963: CPU:Write 73737373 to rom at c0018
104058969: CPU:Write 73737373 to rom at c001c
104058975: CPU:Write 56737373 to rom at c0020
104058981: CPU:Write 73520f1c to rom at c0024
104058987: CPU:Write 73737373 to rom at c0028
104058993: CPU:Write 73737373 to rom at c002c
104058999: CPU:Write 73737373 to rom at c0030
104059005: CPU:Write 55737373 to rom at c0034
104059011: CPU:Write 58574f52 to rom at c0038
104059017: CPU:Write 55555556 to rom at c003c
104059023: CPU:Write 55555555 to rom at c0040
104059029: CPU:Write 55555555 to rom at c0044
104059035: CPU:Write 55555555 to rom at c0048
104059041: CPU:Write 55555555 to rom at c004c
104059047: CPU:Write 55555555 to rom at c0050
Show last 3 lines
 104059053: CPU:Write 55555555 to rom at c0054
104059059: CPU:Write 55555555 to rom at c0058

and 1000 more Lines

Reply 1 of 11, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Is this game copy icons to the videomemory from dosbox? Is this a possible error?

0xc000 is the rom (=read only memory) area of the graphics card, for vga
it contains the int10 routines and character codes etc. so this is surely not
something an application would write to.
There's nothing wrong in the debugger log besides the rom writes, what
dosbox version are you using? Did you install the game correctly?

Reply 2 of 11, by nbx2001

User metadata
Rank Newbie
Rank
Newbie

I use 0.72 for Debugging and 0.73 for normal playing. The game is correctly installed and i try different options ems=false, machine=vgaonly, sound disabled etc. The game is broken since 0.65 and runable since 0.72(Play Intro, Loading Menu, freez). Is there a way to figure out, where dosbox freez ?

dosbox1651.jpg[/img]

Reply 3 of 11, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The game is correctly installed

How did you install it?

As dosbox is hanging you'd have to compile dosbox yourself (doesn't matter
if with or without the dosbox debugger) with debugging enabled, and then
break in when it's hanging.

Reply 6 of 11, by Mindtraveler

User metadata
Rank Newbie
Rank
Newbie

Hey nbx2001, can you tell me how exactly you got the game running in Qemu? I already tried DosBox, FreeDos via VMWare, DOs 6.22 via VMWare, Win98 via VMWare but nothing works...
And I don't understand what I have to do in Qemu to get this game running...
So I hope you can help me.

Best regards from Germany.
Mind....

Reply 7 of 11, by nbx2001

User metadata
Rank Newbie
Rank
Newbie

i think, Colony Wars runs on all qemu versions (Win/Linux):

1. Install QemuManager or an normal qemu
2. Install DOS 6.22 (if FreeDOS work, i don't now)
3. Install mousedriver/ oakcdrom.sys for cdrom and mouse
4. Install Colonywars 2492 WITHOUT any Sound and you can play the game.
5. Install univbe (mostly on cd)
6. Play the Game

I have test any VM (VMWare, VirtualBox, VirtualPC, Dosbox) and only qemu run the game correctly.

The best way is, to recreate the game. I don't know if it runs in 20 years...

Best greatings from Germany 😉

Reply 8 of 11, by nbx2001

User metadata
Rank Newbie
Rank
Newbie

Good news!

The ripsaw8080 has found the errors to the freeze. He has written a loader that makes the game playable.

Important settings are:

core = dynamic
cycles = max

Selects Sound Blaster, if you will be asked during setup.

It is possible that CW2492 not work for everyone, because this loader is written for the "Media Verlagsgesellschaft 1997" magazine version.

If you own the boxed version or special edition, you have to try this. Feel free to give personal feedback.

Have fun and a big thank you to ripsaw8080

ripsaw8080 wrote:

When the game copies the data from PAN_SVGA.DAT into the video buffer it specifies the size of the data in bytes, but the copy routine uses dwords, so the size should have been divided by 4. The fix program simply modifies the program in memory to use the correct size.

On real systems the bug would not cause an obvious problem because the upper memory past the video buffer is ROM or unused, and writing there does nothing. The game uses flat real mode, and it refuses to run if the CPU is in V86 mode because the modes are incompatible, so it would be impossible to have RAM in upper memory with this game because memory managers need V86 mode.

DOSBox uses the C800 upper memory segment as RAM for its emulated DOS to preserve more conventional memory for games; and the mouse driver handler is also there because some games don't like it being in the BIOS segment. When the bug causes the game to overwrite this RAM, it's only a matter of time before DOSBox dies, but the end comes quickly because the game calls the mouse handler that is no longer there.

Attachments

  • Filename
    CWFIX.ZIP
    File size
    808 Bytes
    Downloads
    269 downloads
    File comment
    CW2492-Loader
    File license
    Fair use/fair dealing exception

Reply 9 of 11, by Doomman2008

User metadata
Rank Newbie
Rank
Newbie

The Fix doesn't work for me unfortunately. It's the same with or without the fix: The Screen turns Black after the Intro-Movie, but i can hear the Music Playing. 🙁 ... I use the CW Version that was included in the "Bestseller Games Collection 3"-Magazine...

Reply 10 of 11, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Sounds like you may have a different version. The patch loader will only work with CW.EXE, 318,576 bytes, dated 6 March 1996, with a CRC32 of B4B4E9C0. However, it's quite possible the same issue exists in other versions.

If you have a different version, and it does indeed have the same issue, you may be able to correct it with a direct modification. In the installed copy of CW.EXE search for the byte pattern 68 00 E6 (there should be only one occurance) and change it to 68 80 39.