Comments (4)
You can edit layerA and layerB level maps and blocks (metatiles) for all levels with CadEditor, and view (read-only, because I have no decode all objects codes) all level objects.
To start CadEditor with one of game map
There are many runCadEditorContra*.bat in settings_sega_contra_hard_corps folder for every level in game.
Run one of them or pass Config_*.cs parameter to CadEditor wia command line as it is written in the bat files – "start CadEditor.exe settings_sega_contra_hard_corps/Config_1.cs" for example.
There are three important functions in this file:
- getFileName – name of your Contra Hard Corps ROM file, it's not included in the repository.
- getConfigName – settings file Settings_SegaContra_*.cs, this file show how data will be loaded from ROM and dump files)
- getDumpName – dumped level map. It's separated from ROM file, because inside ROM level maps are compressed, so you need either rip it from RAM while game running in emulator, either rip original archives from ROM file and decompress it with LZKN decompressor/decompressor:
I put all decompressed archives to map_*.bin files, so you don't need to do this step manually.
To put changed map inside game
After editing level, you must compress map file back with LZKN decompressor/decompressor and replace original archive inside ROM with your new archive.
I save offsets of original archive in Setting_SegaContra*.cs files, for example for 1st level:
https://github.com/spiiin/CadEditor/blob/master/CadEditor/settings_sega_contra_hard_corps/Settings_SegaContra_1.cs#L55
private string BLOCKS_NAME = "blocks_11.bin"; //1E391A//1E597C
1E391A - offset for layerA archive
1E597C - offset for layerB archive
After this you can load game in emulator and view changed level.
from cadeditor.
So it will be expanded to edit objects/events?? That is like most important..
from cadeditor.
Maybe, but not soon
from cadeditor.
Objects can be edited now (with a changing bytes in table, so you must know what exactly you doing). Also improved sega block editor and added recompressing plugin for inject maps back in ROM from CadEditor
https://github.com/spiiin/CadEditor/releases/tag/v4.6
video example in release notes
from cadeditor.
Related Issues (14)
- map to json HOT 1
- Supported Games List Typo HOT 2
- Is Gauntlet support possible? HOT 1
- Export TMX error!! HOT 6
- [FEATURE REQUEST] manual mode HOT 10
- [nes] final mission config HOT 4
- Shatterhand Stage C editor corrupts its tilesets when swithing between part 1 and part 2
- Is Gluk the Thunder Warrior support possible?
- Cad Editor crashing (?) HOT 2
- Contra Force graphics bug HOT 1
- Broken 1 level archive (Contra Hard Corps) HOT 1
- predator nes tile colors HOT 2
- Проблема с ошибкой. HOT 3
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 cadeditor.