Skip to content

Instantly share code, notes, and snippets.

View JayFoxRox's full-sized avatar

Jannik Vogel JayFoxRox

View GitHub Profile
// Ran with MESA_GLSL=dump, "Mesa 11.0.0-devel (git-1bba29e) is supported"
vec4 r = vec4(1.0, 2.0, 3.0, 4.0);
gl_Position = r;
(assign (xyzw) (var_ref gl_Position) (constant vec4 (1.000000 2.000000 3.000000 4.000000)) )
--------------------------------------------------------------------------------------------------------
// Ran with MESA_GLSL=dump, "Mesa 11.0.0-devel (git-1bba29e) is supported"
vec4 r;
@JayFoxRox
JayFoxRox / test.glsl
Last active September 26, 2015 22:17
select min and max value
uint x;
uint y;
if (false) { // 46 cycles, 9 instrs.
x = min(ia,ib);
y = max(ia,ib);
}
if (false) { // 30 cycles, 15 instrs.
if (ia <= ib) {
@JayFoxRox
JayFoxRox / index.html
Created March 10, 2016 11:52
Samurai Warriors Chronicles (Citra 3789de6bd9f54e532f290eb11634af27480ab88d Log)
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- This file was created with the aha Ansi HTML Adapter. http://ziz.delphigl.com/tool_aha.php -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8" />
<title>stdin</title>
</head>
<body>
<pre>
@JayFoxRox
JayFoxRox / index.html
Created March 12, 2016 00:25
7th Dragon III Code: VFD
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- This file was created with the aha Ansi HTML Adapter. http://ziz.delphigl.com/tool_aha.php -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8" />
<title>stdin</title>
</head>
<body>
<pre>
@JayFoxRox
JayFoxRox / index.html
Created March 13, 2016 21:10
Ecco The Dolphin (Citra 8530a2d7df7f9546e3d4e9be2cec633307a28c23 Log)
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- This file was created with the aha Ansi HTML Adapter. http://ziz.delphigl.com/tool_aha.php -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8" />
<title>stdin</title>
</head>
<body>
<pre>
#!/bin/bash
checker="iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAAAAADhZOFXAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfgBRQXEjiElIMiAAAAHklEQVQI12OMZ2BgUGRgYGBigAJMBosiAwPDffxqAEVQAZKEB3yfAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE2LTA1LTIwVDIzOjE4OjU2KzAyOjAw7frcsAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNi0wNS0yMFQyMzoxODo1NiswMjowMJynZAwAAAAASUVORK5CYII="
mkdir /tmp/png-3ds/
mkdir /tmp/png-citra/
mkdir /tmp/png-difference/
for filename in `ls -v rev-c4e474a2f293ec04c3f98033d672c683d1429163/*.tga`; do
basename=$(basename "$filename")
@JayFoxRox
JayFoxRox / discussion.md
Last active June 5, 2016 22:39
Discussion about SCM with thelink2012

From 6th of January 2016, around midnight, so maybe started on 5th Stuff is loosely interpreted and sometimes modified. If there is anything untruthful, bad or w/e then take it out on me, JayFoxRox.


thelink2012: welcome to check gta3sc project itself too :P Deji's one is more focused in compiling SA code; mine, VC and III (in fact, I created it trying to compile GTA 3 source code, as it already does)

@JayFoxRox
JayFoxRox / Can
Last active July 4, 2016 21:31
Citra Forum OSX Reports
Process: citra-qt [805]
Path: /Users/USER/Downloads/*/citra-qt.app/Contents/MacOS/citra-qt
Identifier: com.citra-emu.citra
Version: ???
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: citra-qt [805]
User ID: 501
Date/Time: 2016-06-12 08:46:15.028 +0100
@JayFoxRox
JayFoxRox / broken
Created August 31, 2016 14:37
Super Mario 3D Land (Shining Stars hang)
[ 0.000000] Common.Filesystem <Warning> common/file_util.cpp:CreateFullPath:207: path exists /home/fox/.config/citra-emu/qt-config.ini
[ 0.111388] Frontend <Error> citra_qt/game_list.cpp:PopulateAsync:84: Could not find game list folder at /home/fox/Data/Games/3DS
[ 0.111430] Frontend <Info> citra_qt/main.cpp:BootGame:317: Citra starting...
[ 0.116982] Service.FS <Info> core/file_sys/archive_sdmc.cpp:ArchiveFactory_SDMC:21: Directory /home/fox/.local/share/citra-emu/sdmc/ set as SDMC.
[ 0.117032] Common.Filesystem <Warning> common/file_util.cpp:CreateFullPath:207: path exists /home/fox/.local/share/citra-emu/sdmc/
[ 0.117051] Service.FS <Info> core/file_sys/archive_savedata.cpp:ArchiveFactory_SaveData:42: Directory /home/fox/.local/share/citra-emu/sdmc/Nintendo 3DS/00000000000000000000000000000000/00000000000000000000000000000000/title/ set as SaveData.
[ 0.117067] Service.FS <Info> core/file_sys/archive_extsavedata.cpp:ArchiveFactory_ExtSaveData:62: Directory /home/fox/.local/share/citra-emu/sd
@JayFoxRox
JayFoxRox / jfr-plans-2017.md
Last active May 17, 2017 23:16
JayFoxRox 2017

JayFoxRox Projects 2017 (plans and wishes)

XQEMU Plans

  1. Create emuwell, an open-source MCPX ROM + Flash
  2. Create dump-xbox, an open-source xboxkrnl.exe and HDD image dumper
  3. Create an open-source RPC tool (NXDK-RDT or nv2a-re / xbox-re) to remote control an Xbox
  4. Add basic travis CI support for the Linux version of XQEMU
  5. Integrate unit tests through the remote tool to automatically test XQEMU on travis using all of the above tools (and a hidden xboxkrnl.exe)
  6. Document usage of freecell and gain permission for ss_sector_range; create portable flashing tool to make XGD dumping easier