Castlevania Advance Collection

Castlevania Advance Collection

99 ratings
Tutorial: Modding ROMs in Castlevania Advance Collection
By calm palm
The Castlevania Advance Collection uses a proprietary emulator with compressed ROMs. You can patch these ROMs with existing patches since they are very similar to the originals in order to play Castlevania Advance Collection games with mods.
2
3
4
2
   
Award
Favorite
Favorited
Unfavorite
Abstract
The Castlevania Advance Collection uses a proprietary emulator with compressed ROMs. You can patch these ROMs with existing patches since they are very similar to the originals. The original ROM(s) must be replaced, and all game files recompressed and repackaged.

There is an alternate video tutorial here: https://www.youtube.com/watch?v=azQY-fIwizY
Prerequisites
You must download the MArchiveBatchTool utility. The release version can be found here: https://github.com/farmerbb/RED-Project/wiki/Castlevania-Advance-Collection

In order to use this utility, you must download and install .NET Core from Microsoft. This can be found here: https://dotnet.microsoft.com/download/dotnet
Process
1. To make things simpler, put the "MArchiveBatchTool-win-x64" folder from the downloaded archive you extracted onto the root C: drive, so the folder is "C:\MArchiveBatchTool-win-x64".

2. Create a folder called "game" in the "MArchiveBatchTool-win-x64" folder. You will extract the game files here in a later step.

3. Create another folder called "build" in the "MArchiveBatchTool-win-x64" folder. You will recompile the game files here in a later step.

4. Copy the following files from the "windata" folder in your Castlevania Advance Collection game folder into the "game" folder in the "MArchiveBatchTool" folder that you created.
- alldata.bin
- alldata.psb.m

5. Open Command Prompt and change directory to the MArchiveBatchTool folder. If you moved the folder to C:, you can run the following command to change to the folder:
cd C:\MArchiveBatchTool-win-x64

6. Run the following command to extract the game files into the "game" folder you created:
MArchiveBatchTool.exe fullunpack --keep game\alldata.psb.m zlib 25G/xpvTbsb+6 64

7. Leave your Command Prompt window open but go to C:\MArchiveBatchTool-win-x64\game\alldata.psb.m_extracted\system\roms\.

8. Choose the ROM you wish to modify. You may want to move it to a different folder first depending on what you want to do with it.

9. Make your modifications. You may be using an IPS patch or a program designed to patch the file. Make note of the output. If the program creates a new ROM, rename this new ROM to the original name (including the .bin extension) that it was called in the extracted game files (e.g., for Circle of the Moon US version, it should be "01_Circle_US.patch_210614m.bin".

10. Copy the modified ROM to C:\MArchiveBatchTool-win-x64\game\alldata.psb.m_extracted\system\roms\ and overwrite the original. If you are not prompted to overwrite, you have named the file incorrectly.

11. Recompress the game files with the following command:
MArchiveBatchTool.exe m pack game/alldata.psb.m_extracted zlib 25G/xpvTbsb+6 64

12. Build a new archive with the following command to output a .bin and .psb.m to the "build" folder you created earlier:
MArchiveBatchTool.exe archive build --codec zlib --seed 25G/xpvTbsb+6 --keyLength 64 game/alldata.psb.m_extracted/ build/alldata

13. Copy the following files from C:\MArchiveBatchTool-win-x64\build to your Castlevania Advance Collection "windata" folder and overwrite the original files:
- alldata.bin
- alldata.psb.m

14. The game should load normally when you start it, but with your custom ROM instead of the ROM you replaced. If it is a black screen that never loads, a mistake was made.
Recommended Mods
In general, go on romhacking.net and try whatever seems interesting.

Castlevania: Circle of the Moon:
- COTM Randomizer (developed by myself, DevAnj, and Fusecavator): https://github.com/calm-palm/cotm-randomizer
Website available here: https://rando.circleofthemoon.com/
Additional information: https://steamcommunity.com/app/1552550/discussions/0/5221353200099033531/
- Permanent dash (no need to double tap to run) and optionally another patch that grants Dash Boots from the beginning of the game: https://www.romhacking.net/hacks/6230/
- Card Up hack (Instead of being dropped by enemies, DSS cards are placed in static pedestal locations throughout the castle): www.romhacking.net/hacks/4725/

Aria of Sorrow:
- Updated Randomizer: https://aosrando.surge.sh/
- Localization fix (fixes a number of mistakes made in the localization process): https://www.romhacking.net/hacks/3855/
- Randomizer: https://github.com/abyssonym/aos_rando
- Stat rebalancing: www.romhacking.net/hacks/5645/

Harmony of Dissonance:
- Maxim story mode: www.romhacking.net/hacks/6007/
- Less wobbly animation and outline removed for character: www.romhacking.net/hacks/5427/
- Great recolor of the game's too-bright palettes: https://www.romhacking.net/hacks/7086/

Check comments for more recommendations. Thanks to GuyInDogSuit in the comments for some of these.
Credit
Credit to the author of the MArchiveBatchTool utility: https://gitlab.com/modmyclassic/sega-mega-drive-mini/marchive-batch-tool/-/tree/master/MArchiveBatchTool
Credit to farmerbb, author of this article: https://steamcommunity.com/app/1018020/discussions/0/1629665087674849653/
Emotional support: Circle of the Moon Speedrunning Discord @ https://discord.gg/Ae7Qjd5xDu
70 Comments
Vain Dec 18, 2024 @ 4:59am 
So I have some great music to replace Harmony of Dissonance with, would it be possible with this tutorial?
GuyInDogSuit Nov 29, 2024 @ 4:09pm 
Seems it only works with a specific region and/or dump of that ROM (Europe no-intro).
Goeta Nov 27, 2024 @ 4:08pm 
Im having an issue when trying to patch Harmony of Dissonance with this hackrom/mod
https://www.romhacking.net/hacks/5427/
Whenever I try to launch the game, it shows me a loading screen for a couple of seconds and then it completely crashes the whole collection. I'm pretty sure I followed all the steps correctly because I didn't have any similar issues (actually no issues at all) with patching Aria of Sorrow.
JaredSK74 Nov 8, 2024 @ 4:40am 
Just an fyi for new people checking this guide, it did work for my COTM however it completely broke all achievements and the DSS tool. I don't really care about the DSS tool but I'm gonna get my achievements first before I mod it again.
GuyInDogSuit Oct 30, 2024 @ 9:24am 
I think as long as the patches don't modify the same thing (gameplay, randomizer, etc), and work when tested in an emulator, it should be fine.
Lucyfar Oct 29, 2024 @ 10:36pm 
can i use the Recolor mod and the Less Wobbly animation in Harmony of Despair together?
Zeikar Oct 9, 2024 @ 6:41pm 
I don't think the save system works like that.
xMARZILLAx Oct 8, 2024 @ 7:46am 
Is it possible to import my save file from other emulators since this is a rom?
rock Oct 1, 2024 @ 7:12pm 
it works now, thanks!
Zeikar Oct 1, 2024 @ 7:02pm 
Open the ips file with Floating IPS. It's a patch file for the rom.