Skip to content

Instantly share code, notes, and snippets.

View unknownbrackets's full-sized avatar

Unknown W. Brackets unknownbrackets

View GitHub Profile
@unknownbrackets
unknownbrackets / jeanne_frame.log
Last active December 17, 2015 04:49
Jeanne D'Arc frame dump
Logo screen:
FramebufPixeFormat: 1
FramebufWidth: 512
================ FLUSH ================
FramebufPtr: 00044000
BASE: 080000
CMD JUMP - 08a3e050 to 08a3e114
================ FLUSH ================
Clear mode: 000701
@unknownbrackets
unknownbrackets / persona1_frame.log
Last active December 17, 2015 06:39
Persona 1 frame dump
FramebufPixelFormat: 3
FramebufWidth: 512
================ FLUSH ================
FramebufPtr: 00088000
BASE: 080000
CMD JUMP - 08baae90 to 08baaeac
================ FLUSH ================
Clear mode: 000701 (on, color, alpha/stencil, depth)
================ FLUSH ================
SetVertexType: through, ABGR 8888 colors, u16 coords
@unknownbrackets
unknownbrackets / towrm1_frame.log
Created June 25, 2013 06:24
Tales of the World 1 frame dump
FramebufPixelFormat: 3
FramebufWidth: 512
================ FLUSH ================
FramebufPtr: 00088000
BASE: 080000
CMD JUMP - 08e0f810 to 08e0f82c
================ FLUSH ================
Clear mode: 000701 (on, color, alpha/stencil, depth)
SetVertexType: through, ABGR 8888 colors, u16 coords
BASE: 080000
@unknownbrackets
unknownbrackets / ff4_space_video_bad.log
Created July 1, 2013 15:14
FF4 space video (#2577)
12:21:424 MyThread-Dev I[HLE]: HLE\sceKernelModule.cpp:447 ~SCE module, skipping header
12:21:424 MyThread-Dev I[HLE]: HLE\sceKernelModule.cpp:452 Decrypting ~PSP file
12:21:424 MyThread-Dev I[HLE]: ELF\PrxDecrypter.cpp:302 Missing key 5B, cannot decrypt module
12:21:424 MyThread-Dev I[HLE]: HLE\sceKernelModule.cpp:1082 373=sceKernelLoadModule(name=disc0:/PSP_GAME/USRDIR/module/psmf.prx,flag=00000000,(...))
12:21:440 MyThread-Dev I[HLE]: HLE\sceKernelModule.cpp:1113 sceKernelStartModule(373,asize=00000000,aptr=00000000,retptr=00000000,00000000): faked (undecryptable module)
12:21:440 MyThread-Dev I[HLE]: HLE\sceKernelModule.cpp:447 ~SCE module, skipping header
12:21:440 MyThread-Dev I[HLE]: HLE\sceKernelModule.cpp:452 Decrypting ~PSP file
12:21:440 MyThread-Dev I[HLE]: ELF\PrxDecrypter.cpp:302 Missing key 5B, cannot decrypt module
12:21:440 MyThread-Dev I[HLE]: HLE\sceKernelModule.cpp:1082 374=sceKernelLoadModule(name=disc0:/PSP_GAME/USRDIR/module/libpsmfplayer.prx,flag=00000000,(...))
12:21:457 MyThread-Dev
@unknownbrackets
unknownbrackets / clut.c
Last active December 20, 2015 01:29 — forked from Orphis/gist:6048978
PSP clut test
/*
* PSP Software Development Kit - http://www.pspdev.org
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* Copyright (c) 2005 Jesper Svennevid
*/
#include <common.h>
#include <pspkernel.h>
@unknownbrackets
unknownbrackets / alphatest.c
Created August 17, 2013 16:37
PSP alphatest test
#include <pspdisplay.h>
#include <pspgu.h>
#include <pspgum.h>
#include <common.h>
#include <pspkernel.h>
#include "commands.h"
#define BUF_WIDTH 512
#define SCR_WIDTH 480
#define SCR_HEIGHT 272
@unknownbrackets
unknownbrackets / blade_frame.log
Created August 17, 2013 18:07
Blade Dancer frame dump
FramebufPixelFormat: 3
================ FLUSH ================
FramebufPtr: 00000000
FramebufWidth: 512
================ FLUSH ================
Fog enable: 1
BASE: 080000
CMD JUMP - 08b18fd4 to 08b18ff0
================ FLUSH ================
Clear mode: 000701 (on, color, alpha/stencil, depth)
@unknownbrackets
unknownbrackets / stenciltest.cpp
Last active December 23, 2015 02:09
partial stencil test (messy)
#include <common.h>
#include <pspdisplay.h>
#include <pspgu.h>
#include <pspgum.h>
#include <common.h>
#include <pspkernel.h>
#include "commands.h"
u8 *fbp0 = 0;
@unknownbrackets
unknownbrackets / WndMainWindow.cpp
Created September 22, 2013 20:02
snippet: multi monitor fun
const int screenWidth = GetSystemMetrics(SM_CXVIRTUALSCREEN);
const int screenHeight = GetSystemMetrics(SM_CYVIRTUALSCREEN);
const int screenX = GetSystemMetrics(SM_XVIRTUALSCREEN);
const int screenY = GetSystemMetrics(SM_YVIRTUALSCREEN);
bool visibleHorizontally = ((g_Config.iWindowX + g_Config.iWindowWidth) >= screenX) &&
((g_Config.iWindowX + g_Config.iWindowWidth) < (screenWidth + g_Config.iWindowWidth));
bool visibleVertically = ((g_Config.iWindowY + g_Config.iWindowHeight) >= screenY) &&
((g_Config.iWindowY + g_Config.iWindowHeight) < (screenHeight + g_Config.iWindowHeight));
@unknownbrackets
unknownbrackets / phantasystar-text-frame.log
Created October 5, 2013 09:25
Log of missing text in Phantasy Star Portable 1.
FramebufPixelFormat: 1
FramebufWidth: 200, address high 00
================ FLUSH ================
FramebufPtr: 00000000
BASE: 040000
CMD JUMP - 04130010 to 041300d4
================ FLUSH ================
Clear mode: 000701 (on, color, alpha/stencil, depth)
================ FLUSH ================
SetVertexType: through, ABGR 8888 colors, u16 coords