Dev log

Cheb's Game Engine development

Dev log

Unread postby chebmaster » 02 Nov 2016, 00:53

I am working on it, but for now progress is only available in Russian at this forum: http://freepascal.ru/forum/viewtopic.php?f=10&t=10058

Not ready for public scrutiny yet. :hopeless:

Nothing to show for my efforts yet. :sad:
User avatar
chebmaster
Site Admin
 
Posts: 656
Joined: 06 Apr 2013, 13:38

Re: Dev log

Unread postby chebmaster » 19 Dec 2016, 02:00

Ok, it stopped detecting Windows 10 AGAIN... :roar: What the...!
You don't want to make Cheb angry, M$. Now suck on this:
Code: Select all
Detecting operating system...
  Trying to detect Wine...
    ..system directory is C:\WINDOWS\system32
    ..trying to open C:\WINDOWS\system32\kernel32.dll for read...
    ..scanning for signature string "Wine placeholder DLL"...
    ..detected = False
  It's Windows NT 6.2.
  Testing Windows NT version...
    loading kernel32.dll...
      VerifyVersionInfoA() at 74907900h in C:\WINDOWS\System32\KERNEL32.DLL
      VerSetConditionMask() at 77BCF950h in C:\WINDOWS\SYSTEM32\ntdll.dll
    5.1 or greater: True
    6.0 or greater: True
    6.1 or greater: True
    6.2 or greater: True
    6.3 or greater: False
    10.0 or greater: False
    Seems like Windows 8. Let's use dirty hacks to double-check this "fact"...
      Querying registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName ...
        = "Windows 10 Pro"
      ..scanning for signature string "Windows 8.1"...
      ..scanning for signature string "Windows 10"...
        ..FOUND at offset 1!
      HA! Take that, Micro$oft!
    Result: ostWin10

:trollface:
User avatar
chebmaster
Site Admin
 
Posts: 656
Joined: 06 Apr 2013, 13:38

Re: Dev log

Unread postby chebmaster » 23 Dec 2016, 11:27

Heh, it turns out FPC was being a smartass, using a fossilized *.res file when it was explicitly told to use the *.rc one. :dunno:

On a side note, I corrected an exceptionally stupid blunder of mine (Damaramu's blunder of a lifetime!) that was causing critical sections to deadlock in wine.
Because when you call Exit() (C analog: return) from inside of a try...finally block, the finally section, naturally, executes. How could I been thinking otherwise :wall:
User avatar
chebmaster
Site Admin
 
Posts: 656
Joined: 06 Apr 2013, 13:38


Return to Chentrah

Who is online

Users browsing this forum: No registered users and 0 guests

cron
Fatal: Not able to open ./cache/data_global.php