News:

11 March 2016 - Forum Rules

Main Menu

Adventure Island II editor?

Started by Alpdrucken, March 12, 2021, 03:05:15 PM

Previous topic - Next topic

Alpdrucken

I'd like to make a small hack for AI2 but I noticed there's no editor for it... CadEditor can only edit the tiles from the first level, and I don't know too much about the format it uses for that: https://github.com/spiiin/CadEditor/blob/b28316ddd9be4e79ac5e6adf89b7751df609d94e/CadEditor/settings_nes/adventure_island_2/Settings_AdventureIsland2-1.cs

Is there any other way to visualize the levels while editing them?

sics

Hello, what you visualize with CadEditor are not the levels really, but the blocks that the game uses to build these levels, so to edit them you must discover where the game stores that information ...

On the other hand, I have created the rest of the codecs so that you can start your project, luckily I recently translated this game so I had some idea of ​​how to edit it ...

Even so I had never done anything like this, so it took me longer than I thought, I hope they are useful to you :thumbsup:

Hudson's Adventure Island II
Linktree  | Better a small finished project than a thousand giant ideas stuck in your system.

Alpdrucken

OMG that's awesome! Thanks a lot  :angel:
Can I edit the enemy position too?
Would you say this is easier to hack than AI3?

sics

I'm glad you liked it, on the other hand, I'm sorry, to edit the position of the enemies you must investigate how to do it on your own, although you can try to start by looking at the addresses contained in the configuration files...

Which are basically 3:

Individual blocks (bf), each screen made up of these blocks (E98) and how the pallets are distributed in said blocks (64):

  public OffsetRec getScreensOffset()   { return new OffsetRec(0xE98, 35, 64, 8, 8) ; }
  public OffsetRec getBlocksOffset()    { return new OffsetRec(0xbf, 1  , 0x1000); }
  public int getPalBytesAddr()          { return 0x64; }

As you will notice, each block of information is very close to each other, which indicates that the rest of the data is probably also in the surroundings  :thumbsup:

Note in the config files there is also other data, but this only indicates which graphics should be loaded and which palette should be used to view them, I did not mention it because it was not relevant to the case...

About hacking Adventure Island III, I have no idea, I don't know why he thought I would know something about it  :-\

What I can tell you is that there is nothing that is achieved without effort, good luck with your project  :beer:
Linktree  | Better a small finished project than a thousand giant ideas stuck in your system.