Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Hri7566 committed Aug 27, 2022
1 parent dea80b3 commit f7cda7e
Show file tree
Hide file tree
Showing 21 changed files with 2,861 additions and 65 deletions.
6 changes: 4 additions & 2 deletions .vscode/dryrun.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
make.exe --dry-run --always-make --keep-going --print-directory
'make.exe' is not recognized as an internal or external command,
operable program or batch file.
make: Entering directory '/z/cosmic'
make: Leaving directory '/z/cosmic'

make: *** No targets specified and no makefile found. Stop.

304 changes: 302 additions & 2 deletions .vscode/targets.log
Original file line number Diff line number Diff line change
@@ -1,4 +1,304 @@
make.exe all --print-data-base --no-builtin-variables --no-builtin-rules --question
'make.exe' is not recognized as an internal or external command,
operable program or batch file.
make: *** No rule to make target 'all'. Stop.

# GNU Make 4.3
# Built for x86_64-pc-msys
# Copyright (C) 1988-2020 Free Software Foundation, Inc.
# License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
# This is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.

# Make data base, printed on Thu Aug 25 16:09:11 2022

# Variables

# environment
FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
# environment
SYSTEMDRIVE = C:
# environment
JAVA_HOME = C:\Program Files\Eclipse Foundation\jdk-16.0.2.7-hotspot\
# environment
LC_ALL = C
# environment
VBOX_HWVIRTEX_IGNORE_SVM_IN_USE = 1
# environment
USERPROFILE = C:\Users\hri75
# environment
MKL_SERIAL = YES
# environment
LOCALAPPDATA = C:\Users\hri75\AppData\Local
# environment
NDI_RUNTIME_DIR_V2 = C:\Program Files\NewTek\NDI 4 Runtime\v4
# environment
VSCODE_CWD = C:\Users\hri75\AppData\Local\Programs\Microsoft VS Code Insiders
# environment
CHOCOLATEYINSTALL = C:\ProgramData\chocolatey
# environment
SYSTEMROOT = C:\WINDOWS
# environment
PROCESSOR_LEVEL = 23
# environment
PSMODULEPATH = C:\Program Files (x86)\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
# default
MAKE_COMMAND := make
# environment
GOPATH = C:\Users\hri75\go
# automatic
@D = $(patsubst %/,%,$(dir $@))
# environment
CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_18700_HSMRRRDTBYMFLTOA
# environment
FPS_BROWSER_USER_PROFILE_STRING = Default
# environment
VSCODE_HANDLES_UNCAUGHT_ERRORS = true
# default
.VARIABLES :=
# automatic
%D = $(patsubst %/,%,$(dir $%))
# automatic
^D = $(patsubst %/,%,$(dir $^))
# automatic
%F = $(notdir $%)
# environment
VSCODE_CODE_CACHE_PATH = C:\Users\hri75\AppData\Roaming\Code - Insiders\CachedData\7ed02a69658fc07f08740b98fa0d8d96c1a61ed4
# environment
LANG = C
# default
.LOADED :=
# environment
TMP = /home/hri75/AppData/Local/Temp
# default
.INCLUDE_DIRS = /usr/include /usr/include
# makefile
MAKEFLAGS = pqrR
# environment
!Z: = z:\cosmic
# environment
ONEDRIVE = C:\Users\hri75\OneDrive
# environment
INTELLIJ IDEA COMMUNITY EDITION = C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.1.2\bin;
# environment
DEVKITARM = /opt/devkitpro/devkitARM
# makefile
CURDIR := /z/cosmic
# environment
APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL = 1
# automatic
*D = $(patsubst %/,%,$(dir $*))
# environment
PROGRAMFILES = C:\Program Files
# environment
MFLAGS = -pqrR
# default
.SHELLFLAGS := -c
# environment
NDI_RUNTIME_DIR_V4 = C:\Program Files\NewTek\NDI 4 Runtime\v4
# environment
COMMONPROGRAMW6432 = C:\Program Files\Common Files
# automatic
+D = $(patsubst %/,%,$(dir $+))
# makefile
MAKEFILE_LIST :=
# automatic
@F = $(notdir $@)
# environment
VSCODE_PID = 18700
# automatic
?D = $(patsubst %/,%,$(dir $?))
# environment
DEVKITPPC = /opt/devkitpro/devkitPPC
# automatic
*F = $(notdir $*)
# automatic
<D = $(patsubst %/,%,$(dir $<))
# environment
VSCODE_NLS_CONFIG = {"locale":"en-us","availableLanguages":{},"_languagePackSupport":true}
# environment
ONEDRIVECONSUMER = C:\Users\hri75\OneDrive
# default
MAKE_HOST := x86_64-pc-msys
# environment
PROGRAMDATA = C:\ProgramData
# default
SHELL := /bin/sh
# environment
HOMEPATH = \Users\hri75
# default
MAKECMDGOALS := all
# environment
DRIVERDATA = C:\Windows\System32\Drivers\DriverData
# environment
COMSPEC = C:\WINDOWS\system32\cmd.exe
# environment
WINDIR = C:\WINDOWS
# environment
MAKELEVEL := 0
# default
MAKE = $(MAKE_COMMAND)
# environment
PATH = /opt/devkitpro/msys2/usr/bin:/c/Python310/Scripts:/c/Python310:/c/Program Files/Eclipse Adoptium/jdk-17.0.1.12-hotspot/bin:/c/Program Files/Eclipse Foundation/jdk-16.0.2.7-hotspot/bin:/f/Program Files (x86)/VMware/VMware Workstation/bin:/c/Program Files/Common Files/Oracle/Java/javapath:/c/Python39/Scripts:/c/Python39:/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/c/Program Files/Git/cmd:/c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn:/c/Program Files/Microsoft SQL Server/100/Tools/Binn:/c/Program Files/Microsoft SQL Server/100/DTS/Binn:/c/ProgramData/chocolatey/bin:/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/c/Program Files/Microsoft SQL Server/130/Tools/Binn:/c/Program Files/RedHat/java-1.8.0-openjdk-1.8.0.275-1/bin:/c/Program Files/RedHat/java-1.8.0-openjdk-1.8.0.275-1/jre/bin:/c/Program Files/Intel/WiFi/bin:/c/Program Files/Common Files/Intel/WirelessCommon:/f/Strawberry/perl/bin:/f/Strawberry/perl/site/bin:/f/Strawberry/c/bin:/c/Program Files/CMake/bin:/f/Program Files/CraftOS-PC:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/c/Program Files (x86)/Certbot/bin:/c/Program Files/Mullvad VPN/resources:/c/Program Files/Microsoft SQL Server/150/Tools/Binn:/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/Program Files/MATLAB/R2022a/bin:/c/Program Files/GitHub CLI:/c/Program Files/Go/bin:/c/Program Files/Neovim/bin:/c/Program Files/Docker/Docker/resources/bin:/c/ProgramData/DockerDesktop/version-bin:/c/Program Files/dotnet:/c/Program Files/nodejs:/c/Program Files/platform-tools:/c/Ruby30-x64/bin:/home/hri75/.cargo/bin:/home/hri75/scoop/shims:/home/hri75/AppData/Local/Microsoft/WindowsApps:/home/hri75/AppData/Local/GitHubDesktop/bin:/home/hri75/.dotnet/tools:/c/msys64/mingw64/bin:/home/hri75/go/bin:/c/Program Files/Intel/WiFi/bin:/c/Program Files/Common Files/Intel/WirelessCommon:/home/hri75/.deno/bin:/f/ffmpeg:/c/Program Files/JetBrains/IntelliJ IDEA Community Edition 2021.1.2/bin:/home/hri75/AppData/Local/Microsoft/WindowsApps:/home/hri75/AppData/Local/Programs/mongosh:/home/hri75/AppData/Local/Programs/Microsoft VS Code Insiders/bin:/home/hri75/go/bin:/home/hri75/.dotnet/tools:/home/hri75/AppData/Roaming/npm
# environment
COMPUTERNAME = HRI7566-PC
# default
MAKEFILES :=
# environment
KMP_DUPLICATE_LIB_OK = TRUE
# automatic
^F = $(notdir $^)
# environment
PROMPT = $P$G
# environment
CHOCOLATEYLASTPATHUPDATE = 132484585680456683
# environment
LOGONSERVER = \\HRI7566-PC
# environment
USERNAME = hri75
# environment
COMMONPROGRAMFILES = C:\Program Files\Common Files
# automatic
?F = $(notdir $?)
# environment
PROGRAMW6432 = C:\Program Files
# environment
DEVKITPRO = /opt/devkitpro
# environment
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW;.RB;.RBW
# automatic
+F = $(notdir $+)
# environment
ORIGINAL_XDG_CURRENT_DESKTOP = undefined
# environment
USERDOMAIN = HRI7566-PC
# 'override' directive
GNUMAKEFLAGS :=
# environment
OS = Windows_NT
# environment
NDI_RUNTIME_DIR_V3 = C:\Program Files\NewTek\NDI 4 Runtime\v4
# makefile
.DEFAULT_GOAL :=
# default
MAKE_VERSION := 4.3
# environment
PROGRAMFILES(X86) = C:\Program Files (x86)
# environment
USERDOMAIN_ROAMINGPROFILE = HRI7566-PC
# environment
NUMBER_OF_PROCESSORS = 12
# environment
PUBLIC = C:\Users\Public
# environment
SOURCESDK = F:\SteamLibrary\steamapps\common\SourceSDK
# environment
APPDATA = C:\Users\hri75\AppData\Roaming
# environment
HOMEDRIVE = C:
# environment
PROCESSOR_ARCHITECTURE = AMD64
# environment
VPROJECT = F:\SteamLibrary\steamapps\common\portal\portal
# environment
VSCODE_AMD_ENTRYPOINT = vs/workbench/api/node/extensionHostProcess
# environment
HOME = /home/hri75
# environment
COMMONPROGRAMFILES(X86) = C:\Program Files (x86)\Common Files
# environment
ELECTRON_RUN_AS_NODE = 1
# environment
TEMP = /home/hri75/AppData/Local/Temp
# environment
VSCODE_IPC_HOOK = \\.\pipe\fd7871a4b9025ee0f8d61f09948971b8-1.71.0-insider-main-sock
# environment
TERM = xterm-256color
# environment
DXSDK_DIR = C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\
# default
.RECIPEPREFIX :=
# automatic
<F = $(notdir $<)
# default
SUFFIXES :=
# environment
ALLUSERSPROFILE = C:\ProgramData
# environment
SESSIONNAME = Console
# environment
VS100COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\
# default
.FEATURES := target-specific order-only second-expansion else-if shortest-stem undefine oneshell nocomment grouped-target extra-prereqs archives jobserver output-sync check-symlink load
# environment
PROCESSOR_REVISION = 0802
# environment
PROCESSOR_IDENTIFIER = AMD64 Family 23 Model 8 Stepping 2, AuthenticAMD
# variable set hash-table stats:
# Load=110/1024=11%, Rehash=0, Collisions=12/134=9%

# Pattern-specific Variable Values

# No pattern-specific variable values.

# Directories

# . (device 2921171523, inode 281474977308453): 24 files, no impossibilities.

# 24 files, no impossibilities in 1 directories.

# Implicit Rules

# No implicit rules.

# Files

# Not a target:
Makefile:
# Implicit rule search has been done.
# File does not exist.
# File has been updated.
# Failed to be updated.

# Not a target:
.DEFAULT:
# Implicit rule search has not been done.
# Modification time never checked.
# File has not been updated.

# Not a target:
all:
# Command line target.
# Implicit rule search has been done.
# File does not exist.
# File has not been updated.

# Not a target:
makefile:
# Implicit rule search has been done.
# File does not exist.
# File has been updated.
# Failed to be updated.

# Not a target:
GNUmakefile:
# Implicit rule search has been done.
# File does not exist.
# File has been updated.
# Failed to be updated.

# files hash-table stats:
# Load=6/1024=1%, Rehash=0, Collisions=0/15=0%
# VPATH Search Paths

# No 'vpath' search paths.

# No general ('VPATH' variable) search path.

# strcache buffers: 1 (0) / strings = 31 / storage = 260 B / avg = 8 B
# current buf: size = 8162 B / used = 260 B / count = 31 / avg = 8 B

# strcache performance: lookups = 34 / hit rate = 8%
# hash-table stats:
# Load=31/8192=0%, Rehash=0, Collisions=0/34=0%
# Finished Make data base on Thu Aug 25 16:09:11 2022


29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# cosmic

This is currently a bot made for Multiplayer Piano.

## Building

*Please* only run this on linux/WSL. It's probably really hard to run on Windows.

This project uses Node.js, Deno, C, and Nim. The decision to use such languages was a brave one.

```sh
$ yarn
# This will install all required packages
```

```sh
$ yarn build
# This will build everything
```

```sh
$ yarn start
# This will start
```

```sh
$ yarn dev
# This will build everything and start
```
22 changes: 13 additions & 9 deletions c/include/color_log.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
#ifndef COLOR_LOG
#define COLOR_LOG

#include <stdio.h>
#include <stdlib.h>

void red(char* txt);

#endif
#ifndef COLOR_LOG
#define COLOR_LOG

#include <stdio.h>
#include <stdlib.h>

#define BYTE char

int getStringSize(char* arr, int stopPoint);
char* red(char* txt);
void freeString(char* str);

#endif
Loading

0 comments on commit f7cda7e

Please sign in to comment.