Youtube Video: WineD3D vs GalliumNine

  • WineD3D: There are missing texture
  • GalliumNine: Almost perfect but GalliumNine has to be patched
Below are the steps so nullDC works with GalliumNine

nullDC 1.0.4 r150

First of all I wanted to test GalliumNine with nullDC - a well-known emulator for DreamCast -. After several tests I decided to download this nullDC version http://www.shenmuedojo.net/forum/viewtopic.php?f=37&t=46995 (2nd link for "Download" in the first message) I used this one because it was already configured for my Xbox 360 controler

A new WINEPREFIX and Prerequisites (WineTricks)

So I set up a new WINEPREFIX
export WINEPREFIX=/home/david/data/nullDC_1.0.4_r150
After having a look on WineHQ WebSite for nullDC 1.0.X for prerequisites I did this
  • For winetricks I did
    winetricks --force -q d3dcompiler_43 d3dx9 d3dx10 vcrun2010 vcrun2013
    Notice: I just installed vcrun2012 and vcrun2013 to avoid annoying "fixme ..." messages!
  • As Wine-Desktop I set up a 1280x960 Virtual Desktop
I put it in my "Program Files" folder , "unrared" it and I renamed this folder to
cd $WINEPREFIX/drive_c/Program\ Files/
cp ~/Téléchargements/nullDC\ 1.04\ r150\ SM-A\ Fixes\ by\ masterchan777.rar .
unrar x nullDC\ 1.04\ r150\ SM-A\ Fixes\ by\ masterchan777.rar 
mv nullDC\ 1.04\ r150\ SM-A\ Fixes\ by\ masterchan777 nullDC_1.04_r150

Bios and Error for fsca-table.bin (fixed)

I downloaded this BIOS and put it in the "nullDC_1.04_r150" folder To prevent error about "fsca-table.bin is missing" while launching a game I just had to rename "Data" folder to "data" before "unraring" the compressed BIOS file
cd nullDC_1.04_r150/
cp ~/Téléchargements/Region_Free_DC_BIOS.rar .

mv Data data
unrar x Region_Free_DC_BIOS.rar

nullDC - Settings

Nothing to change since it was already configured for my XboX 360 Controller

Mesa3D Sources

In order to launch DOA game I have to rebuild Mesa-3D source I have to update file 'src/gallium/auxiliary/util/u_upload_mgr.c by commenting out line 228 - as shown in image below -
As usual just rebuild and reinstall Mesa3D
make clean distclean; 

/opt/Sources/Mesa-3D_2015-01-17_v001/configure --prefix=/usr --mandir=/share/man --infodir=/share/info --sysconfdir=/etc --libdir=/usr/lib/i386-linux-gnu \
--disable-silent-rules --localstatedir=/var --build=i686-linux-gnu --enable-omx --enable-dri --with-dri-drivers=nouveau,i915,i965,r200,radeon,swrast \
--with-dri-driverdir=/usr/lib/i386-linux-gnu/dri --with-dri-searchpath=/usr/lib/i386-linux-gnu/dri:$/dri:/usr/lib/dri --enable-osmesa --enable-glx-tls \
--enable-shared-glapi --enable-texture-float --enable-opencl --enable-opencl-icd --enable-nine --enable-driglx-direct --enable-dri3 \
--with-egl-platforms=x11,drm,wayland --enable-xa --enable-gallium-llvm --enable-va --enable-vdpau --enable-xvmc --enable-r600-llvm-compiler \
--with-gallium-drivers=nouveau,svga,swrast,r600,r300,i915,ilo,radeonsi --enable-gles1 --enable-gles2 --enable-gallium-egl \
--enable-debug CFLAGS="-Og -ggdb -g -gdwarf-2 -gstrict-dwarf" CXXFLAGS="-Og -ggdb -g -gdwarf-2 -gstrict-dwarf" \

make -j4 

make install

The game: Dead or Alive 2 - Ultimate Edition

Downloaded from http://www.theisozone.com/downloads/dreamcast/dreamcast-isos/dead-or-alive-2--ultimate-edition-mod/