Thursday, May 30, 2019

Quake II 7.41 version

One more release with my fixes: QUAKE2_7_41

  • Some bugfixes to HTTP downloads introduced in 7.40.
  • Fix several crashes when loading savegames in coop.
  • Fix some out of memory aborts when loading maps with a lot surfaces.
  • Allow autodetection of the desktop resolution. Set 'r_mode' to '-2' to enable that. (by Denis Pauk)
  • Several fixes to the OpenGL 3.2 renderer. Some dynamic lights were missing, for example for most explosions. Stencil shadows were broken under some conditions. Performance was bad with the AMD driver under Windows. Intel Ivy Bridge didn't work. Under some conditions lights were too bright.
  • Add an optional fix for lighting problems in maps that misuse sky surfaces for interior lighting. Set 'gl_fixsurfsky' to '1' to enable it.
  • Another bunch of timing fixes. The game should now hold the framerate under all conditions, even with crappy Windows GPU drivers. The quake2.exe wrapper forces the Quake II window into focus. This prevents Quake II starting in background.

Wednesday, May 15, 2019

OmniOS CE Initial configuration

After install OmniOS CE (Open Solaris fork) run of the such commands can be useful:

Mount iso image for install additional virtualization tools:
  1. look to cdrom device by: iostat -En
  2. mount cdrom: mount -r -F hsfs /dev/dsk/<cdrom>s0 /cdrom

Example:
$ iostat -En
c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: NECVMWar Product: VMware IDE CDR10 Revision: 1.00 Serial No:
Size: 0,02GB <16891904 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
c2t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: VMware Product: Virtual disk Revision: 2.0 Serial No:
6000c29345a261f
Size: 64,42GB <64424509440 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 2 Predictive Failure Analysis: 0
$ mount -r -F hsfs /dev/dsk/c1t0d0s0 /media/

Enable dhcp on the NIC:
  1. look to nic device: dladm show-link
  2. enable nic: ifconfig <interface> plumb up
  3. enable dhcp on nic: touch /etc/dhcp.<interface>
  4. enable nic after reboot: touch /etc/hostname.<interface>

Example:
$ dladm show-link
LINK CLASS MTU STATE BRIDGE OVER
vmxnet3s0 phys 1500 up -- --
$ ifconfig vmxnet3s0 plumb up
$ touch /etc/dhcp.vmxnet3s0
$ touch /etc/hostname.vmxnet3s0
Add a new user:
  1. Enable ssh: svcadm enable ssh
  2. create home directory: mkdir /export/home
  3. enable export home directory: echo "* localhost:/export/home/&" >> /etc/auto_home
  4. add user: useradd -m -b /export/home cloud
  5. change user password: passwd cloud