Skip to content

Instantly share code, notes, and snippets.

@ABelliqueux
ABelliqueux / PKGBUILD
Last active February 7, 2022 13:30
Gendev 0.7.1 AUR PKGBUILD
# Maintainer: Vinicius Correa <vinicius dot correa at zoho dot com>
pkgname=gendev
pkgver=0.7.1
pkgrel=1
pkgdesc="Genesis development environment for Linux"
arch=('any')
url="https://github.com/kubilus1/${pkgname}"
license=('BSD')
depends=('texinfo' 'jdk8-openjdk')
options=(!strip)
@ABelliqueux
ABelliqueux / rsd-blender280.py
Created July 30, 2021 08:10
Blender RSD 279-280 equivalent
>>> obj = C.object
>>> print(obj)
<bpy_struct, Object("Cube")>
>>> mesh = obj.to_mesh()
>>> print(mesh)
@ABelliqueux
ABelliqueux / io_export_rsd.py
Created July 30, 2021 08:08
Lameguy64/-Blender-2.80-RSD-Plugin
"""
This script exports PlayStation SDK compatible RSD,PLY,MAT files from Blender.
Supports normals, colors and texture mapped triangles.
Only one mesh can be exported at a time.
"""
import os
import bpy
from bpy.props import (CollectionProperty,
@ABelliqueux
ABelliqueux / PSXasm2Gas.md
Created July 20, 2021 14:44
Regexp rules to convert psx asm to gas syntax

replace symbols declarations

symbol equ value becomes

.equ symbol,value

replace rXX wit $XX

s\ r([0-9]{1,2}) \ \$\1