562b44c7aa
use different file name of BMap in PyBMap for different system
2023-11-16 21:11:36 +08:00
7c6dd463bd
fix issues
...
- fix nullptr name assignment error on CKObject.
- remove slot check for CKTexture::GetFileName in BMap. return nullptr, not throw error when no slot to get file name.
2023-11-15 23:05:21 +08:00
d8b7ace53d
expose lit mode interface in CKMesh.
...
- provide lit mode and wrap mode getter and setter in CKMesh.
- add lost flags setter in CKMesh.
- show lit mode and wrap mode data in Unvirt.
- add interface for lit mode in BMap, because some old Ballance map use lit mode to light objects.
- expose a raw c callback when creating bmap to allow user decide how the log output by themselves.
- change python bindings for BMap interface changes.
2023-11-15 21:47:58 +08:00
c55e334ead
fix texture saving error
2023-11-10 14:58:07 +08:00
77bb3ce7d2
fix bmap python binding error
2023-11-10 12:23:03 +08:00
9b447733fb
reorg PyBMap files. use correct import statement in module
2023-11-09 17:15:08 +08:00
29e9adac81
finish PyBMap bindings. (no serious debug)
2023-11-07 21:31:24 +08:00
aa8ec72df7
add json output for convenience about more lang bindings for bmap.
2023-11-07 15:55:07 +08:00
824497f638
finish BMesh part of python bmap bindings
2023-11-07 11:39:35 +08:00
cd2d408618
finish MeshTransition & BMTexture bindings in pybmap
2023-11-06 10:47:49 +08:00
a8bd6888cb
add interface for python bmap binding
2023-11-05 21:06:32 +08:00
d6411fd907
fix fatal error about bmap. continue writing py bmap binding
2023-11-05 17:38:08 +08:00
fcd1fa81db
rename BM3dEntity to BM3dObject in BMap. continue writing python bmao binding. fix doc
2023-11-05 10:44:11 +08:00
2000a6ad9b
update bmap python binding
2023-11-04 21:58:58 +08:00
d754b2fb44
fix bmap binding generation
2023-11-03 10:43:06 +08:00
52c2d3f7e0
add basic python writer for bmap binding
2023-11-02 22:02:39 +08:00
bcd58af132
update gitignore
2023-11-02 20:27:57 +08:00
57e6f14067
finish recognization part of bmap binding
2023-11-02 12:40:50 +08:00
68bffefe5a
write binding code
2023-11-02 10:53:16 +08:00
ef5d1760a3
add lexer and parser for export function binding generation
2023-11-01 10:31:17 +08:00
99383779b3
add first work of BMap binding
2023-10-31 10:49:18 +08:00
1d9bd09224
change bmap interface. update bmfile safe guard
2023-10-30 10:25:31 +08:00
9475e2abc5
fix x64 compile error. add arm support in IronPad
2023-10-29 12:36:03 +08:00
b402e8db8e
add transparent column fixer code and finish bmap load/save
2023-10-29 10:27:35 +08:00
c7af11702f
add some features in Unvirt
...
- add style [simple | full] command to allow simple display. current object list display take too much space.
- add search [obj | mgr] [plain | re] <text> command to allow user search object or manager list by substring or regex.
- add ls search <page> to browse the search result.
- set IronPad minidump dump type from full memory to normal.
- fix Unvirt ls command page count display error.
2023-10-28 18:17:53 +08:00
e4a67a50a5
update codegen
2023-10-12 20:52:22 +08:00
09fd67fb5e
update CodeGen for suiting new requirement of Python
2023-10-12 10:42:06 +08:00
0071e001fd
update codegen. add python code gen
2023-10-10 10:39:27 +08:00
d003b28b2e
add material interface functions
2023-10-08 21:09:28 +08:00
2bd0c980b5
add mesh interface functions
2023-10-08 20:56:29 +08:00
0d114974ff
add CKTexture interface functions
2023-10-08 15:28:00 +08:00
79516d7963
use new way to define interface funcs in BMap
2023-10-08 15:03:44 +08:00
754a281655
add LoadImage wrapper in CKTexture
2023-10-08 10:42:07 +08:00
812f32bfca
update BMap code. finish CK3dEntity interface
2023-10-07 22:33:55 +08:00
b03806e3c9
update BMap.
...
- BMMeshConverter now use CK_ID as CKMaterial references.
- Add CKObject, CKGroup visitor.
2023-10-05 21:08:58 +08:00
9cb57adf6e
update BMap design, use more safe design
2023-10-03 21:33:00 +08:00
4c8500e444
fix qualified name error in CKFileOthers. add some stupid wrapper for BMap
2023-10-02 20:54:31 +08:00
b477c468cd
fix some saving result issue
2023-10-02 17:45:59 +08:00
db23c9c952
finish CKGroup writer
2023-10-02 11:38:14 +08:00
db6263cb53
finish CKMaterial writer. add lost SetClassId for each writer
2023-10-02 11:32:18 +08:00
05c48c21f9
finish CKObject and CK3dEntity writer
2023-10-02 11:04:00 +08:00
9aa8b2b961
finish CKMesh writer
...
- fix some writing issue.
- create a internal object adder in CKFileWriter shared by AddObject and Ctor(copy Reader).
2023-10-02 09:16:45 +08:00
92f4271124
finish CKMesh writing (no test)
...
- finish CKMesh writing function
- remove useless CKMesh functions: material channels, vertex weight and face mask.
2023-10-01 23:48:55 +08:00
ee4b621cac
fix saving issue
...
- fix CKStateChunk resize memory error.
- fix wrong CKBitmapHandler free position in CKBitmapData writer.
- fix init value error of CKFileWriter::m_DisableAddingFile when copying from reader.
- fix ReadString, WriteString error in CKStateChunk (forget NULL terminal)
- change CKPathManager resolve path order. Resolve temp path first, then resources folder.
- fix mixdata combine error when writing CKTexture.
2023-09-30 16:01:39 +08:00
abea66d6f0
fix including file error in CKFile. update reader -> writer method
2023-09-30 14:24:37 +08:00
eedd9bdb55
finish CKtexture writer
...
- finish CKTexture writer
- add std::enable_if for CKStateChunk::ReadIdent&WriteIdent to limit it in enum type.
- fix error function calling in CKBitmapData writer.
- let CKTexture reader mor formal for mipmap.
- fix CKStateChunk ReadBuffer redirect guideline.
- add a stupid height and width getter for CKBitmapData to serve CKTexture using.
2023-09-30 11:51:04 +08:00
3195a9682f
finish CKBitmapData writer.
...
- finish spec fmt image writer and raw bitmap writer.
- fix a possible fatal issue in ReadBuffer(). return nullptr simply rather than allocate a blank buf. otherwise the process of use nullptr to check result will be broken.
- add CanSaveAlpha() method in CKBitmapHandler.
2023-09-29 23:09:01 +08:00
1575186c69
finish CKBitmapData::DumpToChunk
2023-09-28 23:29:52 +08:00
b217da8fb8
fix some issue
...
- remove unnecessary macro in BMap, Unvirt and IronPad.
- add mtl slots display for mesh.
- fix potential nullptr issue in CKStateChunk buffer reader.
2023-09-26 20:51:16 +08:00
42b9ddaec6
fix fatal CKStateChunk read error. fix return statement in CKFile
2023-09-26 12:07:13 +08:00