by wizzledonker · 4y ago · 0 comments
1. In linux
2. Install wine 7.5 (other versions may work, this is what I used)
3. Create a 32-bit wineprefix on a *case-insensitive* ext4 drive (https://www.collabora.com/news-and-blog/blog/2020/08/27/usin...)
4. Download MSVC 2.0 (https://winworldpc.com/product/visual-c/2x), extract and install it into the 32-bit wineprefix - Make sure you use `wine32 winecfg` and set the OS to Windows 95
5. Copy the files to C:\3d inside the wineprefix
6. Enter command prompt from wine (`wine32 cmd`)
7. `set include=C:\MSVC20\INC`
8. `.\setvars.bat`
9. `nmake`
Unfortunately wine segfaults for me when compiling one of the BRender files :'(
EDIT: Now I have Bren and Engine building! Studio does not build, reports that it doesn't know how to generate 'C:\3d\kauai\obj\wins\utilglob.obj'. Probably something simple...
Just create a disk image and mkfs.ext4 it :)
mkdir -p ~/wine/prefix
truncate -s 10G ~/wine/wine.img
mkfs.ext4 -flags -foo -bar ~/wine/wine.imgthere are subtile changes between the very early studio versions but when reaching VS2005/2008 everything is fine for upgrade