Comments (8)
Yes, that's correct.
Happy implementing
from tkviewer.
@DDeokk, thanks for providing this info!
If I understand your explanation correctly, the stencil_data could indicate which areas of a tile/object are transparent? When applying a Static Object (with transparency) on top of a Tile (A or B - without transparency), I could determine the transparency of the object using this stencil data? Does that sound right?
Either way. I will look into this more tonight and see where I get with it.
Also, "stencil_data_offset" would be the "unknown_offset" in the "tile_entry" structure, correct?
Thanks again!
from tkviewer.
Hi Dizzy,
I added some info about other EPF archives at http://forum.xentax.com/viewtopic.php?f=18&t=16943&start=15 if you're so interested. Not really sure if you're wanting to take your tool this way or not, but thought I'd provide the info anyway.
watto
from tkviewer.
Thank you for the DSC/FRM/DNA file structures @wattostudios
The tool's file_reader module is intended to handle all TK file formats, so these are great additions!
As for where/how to present all the different image formats/types in the QT5 GUI is another question. I'm open to suggestions/contributions on GUI/layout structure - as this is not my forte.
Thanks again!
from tkviewer.
@wattostudios I was successful in reading in the DSC file (ignoring chunks and blocks, for now).
When I try to read the EPF image, my width values are incorrect (i.e., -65514)
I'm not sure if the problem is the calculation of EPF width and height (right-left, top-bottom), or the actual dimensions have offsets. You did mention Width = Width + (0-X-Position), but I'm afraid I'm not sure how to apply it.
My EPF File definition has slightly changed, but it does take the right-left, top-bottom approach to determining width and height:
https://github.com/DizzyThermal/TKViewer/blob/master/file_reader.py#L99
Any help would be appreciated. Thanks!
from tkviewer.
The right-left, top-bottom approach is perfect. I wonder the data type or acquisition of values in your code might matter.
from tkviewer.
@DDeokk, thanks for the clarification.
I think the remaining question I have is how to interpret the stencil_data..
I have been trying to understand your explanation in the first post, but am struggling to implement it correctly
from tkviewer.
Stencil implemented to fix transparency issues
from tkviewer.
Related Issues (16)
- More about PAL HOT 2
- FYI HOT 1
- Update modules to accept new NexusTK data formats HOT 1
- Improve performance HOT 1
- Viewer Freeze on Extraction of Static Objects HOT 3
- Object transparent issue HOT 1
- Unable to launch jar HOT 4
- Only able to open CMP/MAP files? HOT 1
- TKViewer 3.2 (Java + Exe) - Mobs dont load HOT 1
- Ability to change color?
- Support for map tiles and map objects HOT 3
- Support for legend icons? HOT 2
- Palette expansion onto parts HOT 4
- EPF/PAL Animations HOT 6
- How to run nexus tk viewer? HOT 2
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 tkviewer.