List of freely available resources to study computer graphics programming.
Previously I've been using GifCam, but it doesn't play well with my retina display, so I had to come up with something. There's strong options for Mac but no good free options for Windows.
I can use the native Windows snipping tool to record my screen, but I'm unable to save the recording as a gif, resulting in pretty big MP4 files. I don't want that. So I created this little script that can convert the recorded MP4 file to GIF for a great reduction in file size.
- Install ffmpeg from www.ffmpeg.org
- Update the path to ffmpeg in the bat file
This guide will walk through how to decompile/reverse engineer IL2CPP games for modding usage.
Note: expect this entire process to take upwards of an hour. Have something ready to do on the side while waiting for processing to finish.
- Download Il2CppDumper
| #!/bin/sh | |
| set -e | |
| set -x | |
| # Adapted from https://www.daemonology.net/blog/2019-02-16-FreeBSD-ZFS-AMIs-now-available.html | |
| # Note: You need to run this on an instance with read/write access to Google Compute | |
| # Alternatively, you can run the gcloud commands from somewhere with privileges | |
| disk=da1 |
| [@react.component] | |
| let make = (~className="", ~onSelect, ~children) => { | |
| let fileInputRef: ReactDOMRe.Ref.currentDomRef = | |
| React.useRef(None->Js.Nullable.fromOption); | |
| let key = React.useRef(1); | |
| let handleInputChange = | |
| React.useCallback0(event => { | |
| let files = ReactEvent.Form.target(event)##files; |
| [@bs.module "react-virtualized"] | |
| external reactClass: ReasonReact.reactClass = "List"; | |
| [@bs.deriving abstract] | |
| type cellProps = { | |
| index: int, | |
| isScrolling: bool, | |
| isVisible: bool, | |
| key: string, | |
| style: ReactDOMRe.Style.t, |
| defmodule Releaser.VersionUtils do | |
| @doc """ | |
| Some utilities to get and set version numbers in the `mix.exs` file | |
| and to programatically transform version numbers. | |
| Maybe the `bump_*` functions should be in the standard library? | |
| This script doesn't support pre-release versions or versions with build information. | |
| """ | |
| @version_line_regex ~r/(\n\s*@version\s+")([^\n]+)("\n)/ |
| module StringContext = | |
| Context.MakePair({ | |
| type t = string; | |
| let defaultValue = "Awesome"; | |
| }); | |
| let component = ReasonReact.statelessComponent("Tree"); | |
| let make = _children => { |
Thanks a lot to mredbishop and others for their insturctions posted here. This is just a recap of what they figured out.
This process was tested on WSL Ubuntu 18.04.
- Dowload the VcXsrv installer from https://sourceforge.net/projects/vcxsrv/
- Install the software on Windows
| import {ipcMain} from 'electron' | |
| const fs = require('fs') | |
| const axios = require('axios') | |
| /* ... */ | |
| ipcMain.on('downloadFile', function (event, data) { | |
| const filePath = data.filePath | |
| const item = data.item |