symbol equ value
becomes
.equ symbol,value
s\ r([0-9]{1,2}) \ \$\1
--- /opt/gendev/sgdk/mkfiles/makefile.gen 2022-01-24 12:20:29.344222685 +0100 | |
+++ /opt/gendev/sgdk/mkfiles/makefile.gen 2022-01-24 12:20:42.557612093 +0100 | |
@@ -147,7 +147,7 @@ | |
$(SIZEBND) out/rom.bin -sizealign 131072 | |
out/symbol.txt: out/rom.out | |
- $(NM) --plugin=liblto_plugin-0.dll -n out/rom.out > out/symbol.txt | |
+ $(NM) --plugin=libLTO.so -n out/rom.out > out/symbol.txt | |
out/rom.out: out/sega.o out/cmd_ $(LIBMD) |
# 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) |
>>> obj = C.object | |
>>> print(obj) | |
<bpy_struct, Object("Cube")> | |
>>> mesh = obj.to_mesh() | |
>>> print(mesh) |
""" | |
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, |