Comments (2)
Unfortunately it's not possible to add new GFX files. Every GFX file needs to be registered in the game's list of assets, and there's no realistic way to add new assets to that list as far as I know, since pointers to the list are hardcoded into the engine.
The same applies to a lot of other things - you can't add new sprite files, enemies, items, etc. You need to replace existing ones instead.
Similarly, would it be possible to add new gfx into an existing sprite's list of gfx so that it can draw on them?
That would be doable, you would just need to repoint the list of GFX pointers to free space so you can add new pointers to the list.
But also note that if an enemy originally had exactly 1 GFX file, then there's no list and instead the enemy just hardcodes its single GFX pointer. In this case you would need to create a new GFX list in free space, then modify the enemy's create code to use this new list, and to call the LoadSpriteMultiGfx function instead of LoadSpriteSingleGfx.
I'm not planning on adding this into DSVEdit though since it seems like it would be very limited in use when adding new GFX files is impossible.
from dsvedit.
That's too bad, but thank you very much for letting me know!
from dsvedit.
Related Issues (20)
- Error HOT 5
- [enhancement] Add an "open recent folder" option
- I.A HOT 2
- Having trouble figuring out ASM usage HOT 2
- Aria of sorrow
- cant open HoD HOT 1
- Unable to build from source? HOT 9
- [enhancement] Add the posibbility of play with custom music. HOT 1
- Crashlog with dsvedit.rb HOT 1
- something wrong HOT 10
- HoD Issues HOT 1
- HoD: Automatic removal of entity palettes from room palettes list causes issue for some rooms
- HoD: Layer resizing of initial room corrupts built ROM and forces editor crash on startup HOT 2
- rom file not present HOT 2
- Editor crashes after matching new room State to original room - Works on emulator, crashes on editor, no log created HOT 4
- Options I like and others that don't exist DSV HOT 1
- AoS: Problematic door HOT 5
- DSV freeze HOT 2
- DSVEditor
- [bugs] Accessories section displays incorrectly in Japanese version of PoR
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsvedit.