This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem ==== start of user settings ==== | |
rem minimum level (0...24) | |
set LEVEL=16 | |
rem input raw files from AssetStudio (https://github.com/Perfare/AssetStudio) | |
set MESH_DIR=h:\raw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
assert(_VERSION == "Lua 5.3") | |
-- DDS header [32] | |
_fourcc = 1; _size = 2; _flags = 3; _height = 4 | |
_width = 5; _pitch = 6; _depth = 7; _mipmaps = 8 | |
-- reserved [44] | |
-- 9 10 11 12 | |
-- 13 14 15 16 | |
-- 17 18 19 | |
-- DDSPixelFormat [32] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************** | |
* * | |
* Curve Rasterizing Algorithm * | |
* * | |
********************************************************************/ | |
/** | |
* @author Zingl Alois | |
* @date 22.08.2016 | |
* @version 1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ConsoleVariables] | |
r.XGEShaderCompile=1 | |
t.FPSChart.OpenFolderOnDump=0 | |
r.SceneRenderTargetResizeMethod=2 | |
r.XGEShaderCompile.Mode=1 | |
net.UseAdaptiveNetUpdateFrequency=0 | |
[EnumRemap] | |
TEXTUREGROUP_Project01.DisplayName=UI Streamable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------+---------+---------+---------+---------+---------+---------+---------+ | |
--[[ arg[1] - input.gcp | |
-- arg[2] arg[3] - sparse coff [50 [200]] | |
--]] | |
local gpcs = "-gcp %d %d %f %f" | |
local xcoff = arg[2] and tonumber(arg[2]) or 50 | |
local ycoff = arg[3] and tonumber(arg[3]) or 200 | |
local gcp, grid = {}, {} |
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 14 columns, instead of 9 in line 6.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t0,t1,year,day,t2,t3,qw,qx,qy,qz,t4,x,y,z | |
59875.193246159,115144674,2016,1332,115144675,115144673,0.87963420152664,0.0029127567540854,-0.4421321451664,0.17536918818951,115144674,5512346.96875,1439218.15625,4384659.34375 | |
59876.290553864,115144675,2016,1332,115144676,115144674,0.87986153364182,0.0028256245423108,-0.44168135523796,0.17536626756191,115144675,5508479.65625,1436331.6875,4390448.3125 | |
59877.387861916,115144677,2016,1332,115144678,115144676,0.88031709194183,0.0026429765857756,-0.44077056646347,0.17537426948547,115144677,5500726.03125,1430555.8125,4402012.25 | |
59879.657392149,115144678,2016,1332,115144679,115144677,0.88054269552231,0.0025392328388989,-0.44031548500061,0.17538639903069,115144678,5496839.71875,1427666.4375,4407787.0 | |
59880.161369557,115144679,2016,1332,115144680,115144678,0.88077187538147,0.0024503299500793,-0.43985557556152,0.17539101839066,115144679,5492947.21875,1424776.0625,4413557.1875 | |
59881.258677249,115144680,2016,1332,115144681,115144679,0.880999147892,0.0023637062404305,-0.43940424 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 1 2 3 4 5 6 7 8 | |
---------+---------+---------+---------+---------+---------+---------+---------+ | |
--[[ constants ]] | |
local YEAR = 2016 -- 1451509200 | |
local EPOCH = os.time({year = YEAR, month = 1, day = 0, hour = 0}) | |
--[[ funcs ]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdarg.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <time.h> | |
#include <unistd.h> | |
#include "channel.h" | |
#include "correlator.h" | |
#include "diff.h" | |
#include "file.h" | |
#include "options.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
lua strea_parser.lua <input> [output] | |
output - путь к выходному файлу без расширения | |
]] | |
assert("Lua 5.3" == _VERSION) | |
assert(arg[1], "\n\n[ERROR] no input file\n\n") | |
local r | |
local function uint8() return string.unpack("B", r:read(1)) end | |
local function uint16() return string.unpack("H", r:read(2)) end | |
local function uint32() return string.unpack("I4", r:read(4)) end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ sym num bits | |
top: RB 2 1 | |
left: /\<> 4 2 | |
right: /\<> 4 2 | |
bottom: RB 2 1 | |
total: 64 6 | |
]] | |
local MULT = 1 | |
local CARD_NUM = 2^(1+2+2+1) -- =2*4*4*2 | |
local CARD_IN_ROW = 6 |
NewerOlder