tokeiburu / acteditor Goto Github PK
View Code? Open in Web Editor NEWAn editor for Act and Spr files from Ragnarok Online.
An editor for Act and Spr files from Ragnarok Online.
Try this scenario:
Open poring.act
Click on "File", then "Export All Sprites"
Choose to export all sprites as png somewhere (This operation converts all the residing sprites to BGRA)
Ctrl + S
Close the file and open it again
Gets Corrupted
Let's take for example the ร
2
sprite from the Sniper's Hawk, which total filesize is 72kb. I convert the sprite #0 to bgra and extract it, which is 1.92kb, then I upscale it and compress it, the resulting compressed img is 9kb
But after I replace said extracted sprite with the new one, which is compressed, and I save the mob sprite, the .spr file is now 119kb.
Why does this happen? Is there any way to avoid this without ditching PNGs ?
Hello,
Is there a way to batch extract multiple sprites since I'm trying to edit 1000+ .spr files.
When converting all sprites to BGRA, there is an error which affects "apparently" small images.
The images at the end could be removed if these are small.
Take for example zombie.act, convert all sprites to BGRA, Save and reopen the file, it will be missing the last 2 images of the zombie's flies.
I think it's not removed because, even tho the sprites are missing, the sprites ID are still there, I couldn't fix it with ActEditor
I found out you can re-add the missing files using GrfEditor and then placing a big image at the end so It won't get deleted again
Some Mobs affected:
Eggyra
zombie_master
zombie_h
ghoul
wilow
venomous
toxious_z
sailor_skeleton
and many others
After opening Flora's act file, Act Editor shows the speed between frames in any of the attack related actions is of 375ms. Parsing the file myself, the interval for action 16 has a value of 1.5 which, multiplied by 25, is 37.5ms instead. Also checking via the scripting engine, an action index that I have not checked in the GUI shows the correct attack time of 37.5ms rounded down to 37ms.
Seems like the textbox used for speed doesn't allow decimals and removes the period sign. My OS is in Spanish which prefers comma for decimals instead of periods - in case it only happens with my language distribution.
I've attached the flora act file for verification.
I'm terrible at explaining, so let me help myself showing you short video instead:
I'm trying to replace a sprite with another one which has #0 palette color of FF00FF, it prompts me about resolving the palette conflict, but I think there is something wrong, it's not placing the file while considering FF00FF as transparent, it's taking FFFFFF as transparent.
It appears to only to obtain the desired results when the "Dither" checkbox is checked, but as you can see below, in the end it's not helping at all.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.