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
# bigdecoder.py, by [email protected], 2009-03-01 | |
# | |
# decoder for .BIG-format files utilized by Red Alert 3 and C&C: Zero Hours | |
# among others. .big is a trivial archival format. quite frankly, this is | |
# probably the simplest compound file format imaginable. | |
# | |
# this script is written for microsoft windows. it can probably be easily | |
# adapted for other platforms, but i haven't tried. | |
# | |
# file structure: |
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
/* please refer better example: https://github.com/dvdhrm/docs/tree/master/drm-howto/ */ | |
#define _XOPEN_SOURCE 600 | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/mman.h> | |
#include <fcntl.h> | |
#include <unistd.h> | |
#include <xf86drm.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
exit # Dont run this as a script | |
# LLVM seems to work great on Musl, there only seems some build errors | |
# when trying to build the sanitizers. So sanitizers have been disabled. | |
# This is rougly based on this: | |
# https://wiki.musl-libc.org/building-llvm.html | |
# But updated for LLVM 10 | |
# We are also focusing on making a GNU-less toolchain, as there is | |
# no libgcc and no libstdc++, instead we favor LLVM's own compiler-rt |