Pages

Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

How to copy directory structure without files?

First Aid for FPSCreator users:

How to copy directory structure without files?
You may know you can use xcopy command for this. Damn, you even read some help how to use it. WHY O WHY is it not working?

The problem is with long directory names containing special characters. Please don't ask why  is Microsoft putting crucial system files into such.
So, after one hour of typing crap into command line, you found this page.

The Solution: 
  1.  Make directory, where you will put your "stuff". Maybe g:\fpsupdate.
  2.  Using Total Commander, go to C:\Program Files (x86)\The Game Creators\  (supposing its your instalation path)
  3.  type cmd into Total Commander command line
  4. type xcopy *.* g:\fpsupdate   /t /e  
The command will copy directory structure WITHOUT files. You may then copy your files to proper folders for easy upgrading fpsc versions. All about XCOPY command.
Note: You don't need Total Commander for this. If you are retro Tron freak, you may spend afternoon navigating your folders with system commands. Enjoy!  

Adaptive Tesselation

Here is fine example of instanced tesselation from Nvidia SDK. The technique basicaly offers more detailed 3d object with mapped high resolution via GPU. FPSC Engine is not supporting this feature, yet...
If you are interested in theory about this example, you may read more at Nvidia Developer web site.
Whitepaper by Tianyun Ni and Ignacio Castanis is here.
This example works on directx9 (tested with nvidia GForce 8 product range GPU).

More about DirectX11 use of tesselation in this Nvidia presentation:

System specs scan for betatesting

When betatesting, its always useful to learn the correct system configuration for a better bug hunting.
You may use directx tool dxdiag for this (bonus - it is already installed with directx on your computer).

Go to Start/Run
type dxdiag 


You may save system specs to a text file. Delete unneeded info from it, and you are ready to send it to your project manager.


You may also use Microsoft msinfo32 tool in the same manner. (However dxdiag provides more useful info for game debugging).

TIP: You may check many features of your system. For instance, it is useful to learn which directx driver is your system actually using (in case of The file d3d9d.dll is a debug version, which will run slower than the retail version. message). Go to your directx utilities folder, find directx control panel, check Use Retail version of Direct3D for more speed - if it's not checkboxed already).

How long are you programming The Game?