News: 11 March 2016 - Forum Rules

Author Topic: DSVEdit (DSVania Editor) (v1.12.0)  (Read 245198 times)

LagoLunatic

  • Full Member
  • ***
  • Posts: 202
    • View Profile
DSVEdit (DSVania Editor) (v1.12.0)
« on: February 25, 2017, 06:50:08 pm »
Hey everyone. I've been working on hacking the DS Castlevania games for a while, and I just released the first version of my editor for them: DSVania Editor

You can find the latest version here:
https://github.com/LagoLunatic/DSVEdit/releases/latest
If the program isn't launching for you make sure you have the latest version, and also make sure the path you put the program in doesn't have any unicode characters in it, only normal ASCII characters work.

And here's the source code of the program: https://github.com/LagoLunatic/DSVEdit

If you've got questions or anything, feel free to post them here.

-------------------------------

Changes in v1.12.0:
  • Implemented a player editor for HoD that allows modifying each player's abilities, movement speeds, and more.
  • Several improvements to the sprite editor, including axis lines showing where the origin point is, an outline around the selected part, more accurate rendering for GBA games, and snapping GFX selection for GBA games to sizes supported by the GBA hardware.
  • The item editor now includes DoS Super Attacks and PoR Critical Arts and combo moves.
  • Added an ARMIPS patch to prevent Shanoa's back color from having an animated glow (ooe_no_shanoa_back_glow.asm).
  • PoR special objects BF-C2 are now included in the editor.
  • In HoD, Maxim mode enemies (7D-F9) are now properly documented and displayed in the editor.
  • The HoD sprite editor now displays animations for the three player characters. (It still doesn't display animations for anything else such as enemies. Also, you still cannot use darkFunction Editor to edit HoD animations.)
  • Added Graham 2's sprites to the sprite editor's Other sprites list.
  • Added AoS's pause menu foreground objects to the sprite editor's Other sprites list.
  • Added AoS's prologue sprites to the sprite editor's Other sprites list.
  • Added AoS's Castle Corridor background sprites to the sprite editor's Other sprites list.
  • Added the sprite for OoE's object 7E (the castle intro event).
  • Added HoD's Simon player sprite to the sprite editor's Other sprites list.
  • Added HoD's area names sprite to the sprite editor's Other sprites list.
  • Added HoD's prologue moon sprite to the sprite editor's Other sprites list.
  • Added PoR's credits sprites to the sprite editor's Other sprites list.
  • Documented the "Backdashing" player state for DoS.
  • Fixed the PoR "Area Names" sprite not including the "Dracula's Castle" name.
  • Fixed the sprite editor not loading the correct overlay for the "Prologue background" and "Credits background" in the Other sprites list for OoE.
  • Fixed a bug that could cause the sprite editor to show the wrong palette after editing a part for some sprites.
  • Fixed various issues with the text editor.
  • darkFunction Exporter: Fixed sprites that use 256 color GFX pages not being exported correctly.


Changelogs for all versions can be found here: https://github.com/LagoLunatic/DSVEdit/releases
« Last Edit: August 29, 2021, 07:07:54 pm by LagoLunatic »

Morinis

  • Hero Member
  • *****
  • Posts: 509
  • Cupcakes and Pizza
    • View Profile
    • My YouTube
Re: DSVania Editor
« Reply #1 on: February 25, 2017, 07:01:45 pm »
This is...interesting.  I'm gonna have to rethink one project now that I had planned for Circle of the Moon lol.
ROM Hacker, Reviewer and Critic.

Don't Know What Else To Say So... <3 You!

MathUser2929

  • Hero Member
  • *****
  • Posts: 1645
    • View Profile
Re: DSVania Editor
« Reply #2 on: February 26, 2017, 08:56:51 am »
You should add a link to the full version on the project page. Cause some poeple don't visit the forum. It's too bad it's over 30 MB so it can't be hosted on this site itself.

Did you talk about this editor somewhere else? It's weird that such a comprehensive editor would come out without having any feedback from people.

azoreseuropa

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
Re: DSVania Editor
« Reply #3 on: February 26, 2017, 10:27:14 am »
Hey everyone. I've been working on hacking the DS Castlevania games for a while, and I just released the first version of my editor for them:
DSVania Editor

And here's the source code of the program: https://github.com/LagoLunatic/DSVEdit

If the version I uploaded to romhacking.net doesn't run for you, try this updated version instead:
https://github.com/LagoLunatic/DSVEdit/releases/download/v1.0/DSVania_Editor_1.0_full.zip

If you've got questions or anything, feel free to post them here.

Neat however you should have European version as well for more friendly also.

LagoLunatic

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Re: DSVania Editor
« Reply #4 on: February 26, 2017, 01:08:37 pm »
You should add a link to the full version on the project page. Cause some poeple don't visit the forum. It's too bad it's over 30 MB so it can't be hosted on this site itself.

Just submitted an update to the project page.

Did you talk about this editor somewhere else? It's weird that such a comprehensive editor would come out without having any feedback from people.

Nope. I don't think there are any sites specific to Castlevania romhacking like some series have. I've just been working on it solo.

Neat however you should have European version as well for more friendly also.

I might be able to add support for other versions at some point in the future. Not going to be easy though, since data is all shifted around in RAM in the different versions. And my program needs over 100 pointers for each game, so if I add support for the European and Japanese versions of all three games I'll need to re-find over 600 pointers.

Eternal248

  • Jr. Member
  • **
  • Posts: 57
  • Forever in a reverie...
    • View Profile
    • FFHacktics
Re: DSVania Editor
« Reply #5 on: February 26, 2017, 09:25:49 pm »
Great work! I haven't posted on here for a while, but this was a great find. Thank you for creating this wonderful tool. At the moment, can objects only be replaced, or is there some way to add them and add enemies that I'm missing? Thanks again!
I know something of cages.

LagoLunatic

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Re: DSVania Editor
« Reply #6 on: February 27, 2017, 12:43:16 am »
Great work! I haven't posted on here for a while, but this was a great find. Thank you for creating this wonderful tool. At the moment, can objects only be replaced, or is there some way to add them and add enemies that I'm missing? Thanks again!

I'm glad you like it!

Yes, there's a way to add new entities to a room - if you open the room in Tiled, you can duplicate an entity already in the room, then import from Tiled. But I think for the next version I'll add a simpler way to add entities that you can do from in DSVEdit, like right click -> add entity or something.

theplottwist

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
Re: DSVania Editor
« Reply #7 on: February 27, 2017, 05:31:14 am »
Hello! First of all, your program is incredible and has already given me a lot of fun.

Now, I want to report one thing: Some people have expressed that the program is not working on their machines. This MIGHT have to do with the fact that your program, on startup, locks if the path for the executable has an accent anywhere.

For instance, when I first unpacked the program on my Desktop and tried starting the program, this error came up:



I then moved the program's folder to C:/, and sure enough, it started with no issues.

Then I put it inside a folder which letter had an accent. BOOM, suddenly it was not starting up anymore. Basically, english has no accents, so if your file path is in english, you're good.

spiffy

  • Jr. Member
  • **
  • Posts: 28
    • View Profile
Re: DSVania Editor
« Reply #8 on: February 27, 2017, 06:27:37 am »
This program is everything I could have ever dreamed of. Thanks, LagoLunatic!  :thumbsup:

Using this tool, I've been working on a set of patches for all three of the DS Castlevania games that aim to clear up some slightly iffy translations/spellings (very much like Almagest/Radagast's fixes for Aria of Sorrow - in fact, many spellings/translations are pretty much copied wholesale), maintain consistent terminology (where appropriate AND possible), and to to fix any nasty typos and formatting errors within the text.

I'm just about finished, but the only thing I'm having trouble with at the moment is fixing the two remaining typos in Portrait of Ruin: 'Richiter Mode' on the File Select screen and 'Charotte Aulin' on the Equip screen (https://tcrf.net/Castlevania:_Portrait_of_Ruin#Typos).

I've thoroughly looked through all the viewable text and sprites, but I can't seem to locate the appropriate data (maybe its located somewhere else?).

LagoLunatic

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Re: DSVania Editor
« Reply #9 on: February 27, 2017, 09:53:26 am »
This program is everything I could have ever dreamed of. Thanks, LagoLunatic!  :thumbsup:

Using this tool, I've been working on a set of patches for all three of the DS Castlevania games that aim to clear up some slightly iffy translations/spellings (very much like Almagest/Radagast's fixes for Aria of Sorrow - in fact, many spellings/translations are pretty much copied wholesale), maintain consistent terminology (where appropriate AND possible), and to to fix any nasty typos and formatting errors within the text.

I'm just about finished, but the only thing I'm having trouble with at the moment is fixing the two remaining typos in Portrait of Ruin: 'Richiter Mode' on the File Select screen and 'Charotte Aulin' on the Equip screen (https://tcrf.net/Castlevania:_Portrait_of_Ruin#Typos).

I've thoroughly looked through all the viewable text and sprites, but I can't seem to locate the appropriate data (maybe its located somewhere else?).

I managed to find them, they're stored as graphics instead of text.
Richiter is in /sc/f_seleob1.dat and Charotte is in /sc/f_equipob0.dat.
DSVEdit can't edit graphics but you can edit them with a generic editor like Tile Molester. For /sc/f_seleob1.dat set Mode: 2-dimensional and Codec: 4bpp linear reverse order. For /sc/f_equipob0.dat set Mode: 1-dimensional and Codec: 4bpp linear reverse order.

NecroCorey

  • Jr. Member
  • **
  • Posts: 15
    • View Profile
Re: DSVania Editor
« Reply #10 on: February 27, 2017, 02:15:39 pm »
I'm glad you like it!

Yes, there's a way to add new entities to a room - if you open the room in Tiled, you can duplicate an entity already in the room, then import from Tiled. But I think for the next version I'll add a simpler way to add entities that you can do from in DSVEdit, like right click -> add entity or something.
I popped in to ask if you had plans to make entities easier and you had already decided to do so. You're a legend.

Eternal248

  • Jr. Member
  • **
  • Posts: 57
  • Forever in a reverie...
    • View Profile
    • FFHacktics
Re: DSVania Editor
« Reply #11 on: February 27, 2017, 07:33:14 pm »
Question. I just made a basic edit to test things out. In this case, adding some Zombies to one of the first rooms in PoR. I selected Build, but nothing is happening. I just get a Waiting screen that never progresses. What am I doing wrong?

EDIT: Reopening the editor seemed to work. Such cool stuff!
« Last Edit: February 27, 2017, 07:42:56 pm by Eternal248 »
I know something of cages.

spiffy

  • Jr. Member
  • **
  • Posts: 28
    • View Profile
Re: DSVania Editor
« Reply #12 on: February 28, 2017, 01:56:48 am »
I managed to find them, they're stored as graphics instead of text.
Richiter is in /sc/f_seleob1.dat and Charotte is in /sc/f_equipob0.dat.
DSVEdit can't edit graphics but you can edit them with a generic editor like Tile Molester. For /sc/f_seleob1.dat set Mode: 2-dimensional and Codec: 4bpp linear reverse order. For /sc/f_equipob0.dat set Mode: 1-dimensional and Codec: 4bpp linear reverse order.

Those tips you gave for locating the graphics in Tile Molester were a lifesaver (probably never would have found them otherwise)! Both typos are now fixed.

Those patches should be coming soon once I've done a bit of play-testing.

LagoLunatic

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Re: DSVania Editor
« Reply #13 on: February 28, 2017, 05:22:28 pm »
I just released version 1.2. It adds an easier way of adding entities to a room, an editor for the item pools used by OoE's random chests, and fixes some bugs.

Then I put it inside a folder which letter had an accent. BOOM, suddenly it was not starting up anymore. Basically, english has no accents, so if your file path is in english, you're good.

Thanks for letting me know. I don't think there's any way for me to fix that but I mentioned it in the readme so hopefully that will help anyone having that problem.

DarkPrinceAlucard

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: DSVania Editor
« Reply #14 on: February 28, 2017, 05:49:09 pm »
Another issue I have been running into is with the item editor, anytime I change something within it and hit the apply button the whole thing just freezes up on me.

The game in question is Castlevania Dawn of Sorrow.
Castlevania Modding Forum http://castlevaniamodding.boards.net/

Abster

  • Jr. Member
  • **
  • Posts: 15
    • View Profile
Re: DSVania Editor
« Reply #15 on: February 28, 2017, 06:17:36 pm »
I love these 3 games and am quite interested in playing around with this...

LagoLunatic

  • Full Member
  • ***
  • Posts: 202
    • View Profile
Re: DSVania Editor
« Reply #16 on: February 28, 2017, 06:48:20 pm »
Another issue I have been running into is with the item editor, anytime I change something within it and hit the apply button the whole thing just freezes up on me.

The game in question is Castlevania Dawn of Sorrow.

Looks like I made a mistake when adding bitfields to the item editor and never noticed it. I uploaded a hotfix for that bug:
https://github.com/LagoLunatic/DSVEdit/releases/tag/v1.2.1

ShadowOne333

  • Hero Member
  • *****
  • Posts: 1737
    • View Profile
Re: DSVania Editor
« Reply #17 on: February 28, 2017, 07:50:10 pm »
Impressive utility!
Thank you for making this!

One thing I wanted to ask is if this tool has sprite editing support, and if so how deep into sprites does it go?
I ask because I have a project regarding both Dawn of Sorrow and Portrait of Ruin on the works:
http://www.romhacking.net/forum/index.php/topic,22445.0.html

I basically am editing all of the portraits in both games to give them a proper Kojima like art style instead of anime, and if your tool has support for editing the portraits and HUDs then it might make my life a lot easier haha.

DarkPrinceAlucard

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: DSVania Editor
« Reply #18 on: February 28, 2017, 08:01:59 pm »
Impressive utility!
Thank you for making this!

One thing I wanted to ask is if this tool has sprite editing support, and if so how deep into sprites does it go?
I ask because I have a project regarding both Dawn of Sorrow and Portrait of Ruin on the works:
http://www.romhacking.net/forum/index.php/topic,22445.0.html

I basically am editing all of the portraits in both games to give them a proper Kojima like art style instead of anime, and if your tool has support for editing the portraits and HUDs then it might make my life a lot easier haha.

I've been playing around with the tool all day and I have to say I have not seen anything related to editing the sprites, in fact in the readme file it makes it clear that the sprites are only for viewing purposes.

Pretty much as it is right now this tool would be helpful for sprite ripping and getting game assets rather than actually editing the sprites ingame itself.
Castlevania Modding Forum http://castlevaniamodding.boards.net/

MathUser2929

  • Hero Member
  • *****
  • Posts: 1645
    • View Profile
Re: DSVania Editor
« Reply #19 on: February 28, 2017, 10:51:51 pm »
Just so you know, theres a thread for this at CV Dungeon.

http://castlevaniadungeon.net/forums/index.php?topic=9047