Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2016-01-13 00:31:13

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 3,221/3,505

Switching a project to Pokecrystal?

I seem to recall there being talk back in the day that there were tools you could use to import maps, scripts, and things from Gold, Silver, or Crystal into your Pokecrystal-based project.

Was that ever actually the case, and if so, is it still currently the case? If it could be done without manually redoing everything by hand, I was considering switching Pokemon Christmas over to Pokecrystal, but if I would have to start over from scratch, I may as well just finish it up the old fashioned way.

Offline

#2 2016-01-14 14:36:26

Danny-E 33
Administrator
Registered: 2012-06-09
Post 928/1,034

Re: Switching a project to Pokecrystal?

If there are tools that would be helpful, they would probably be in pret. I still imagine it would be a lot of work, even with the help of some tools.
Depending on how close to done you are, it might not be worth. It would be cool though.


Red Hack: Pokémon Prototype

Total number of registered users: 8000+
Total number of active users: ~12

Offline

#3 2016-01-14 19:02:25

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 3,222/3,505

Re: Switching a project to Pokecrystal?

In terms of mapping, it's all done. Events, probably only about halfway. Plus some of the things I have planned would be easier to pull off with Pokecrystal than the old fashioned way, and some things wouldn't even have to be ported (since Crystal already has gender selection without the minor bugs Christmas' system has, and extended tilesets were already in Crystal, and that stuff). The minor routines that would need porting, such as Pickup and the custom specials, I still have the source for anyway.

But yeah, the Johto half is mostly done but still lacking some stuff, and the Kanto half is still pretty empty. Guess I'll look into the tools and see what I can figure out, and decide if it's worth it or not.

Offline

#4 2016-01-14 22:59:38

Crystal_
Member
From: Spain
Registered: 2012-09-16
Post 357/434
Website

Re: Switching a project to Pokecrystal?

Isn't Christmas based off Pokemon Gold? That would be nearly impossible to do. Think of it like how Pokeyellow is being based off Pokered and there are million of differences to account for; I'm pretty sure that if you combine the differences between Crystal and Gold plus the differences between Gold and your hack, there would be far more.

I guess you could create a Chirstmas repository from scratch where everything is included from the ROM, and disasseble only the parts you want/need to work with. There is for example no advantage to extracting maps and you can just leave them included as binary data from the ROM, as well as the 95% part of code and other stuff that you're not going to touch.

Offline

#5 2016-01-14 23:58:42

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 3,223/3,505

Re: Switching a project to Pokecrystal?

Since Gold and Crystal use the same script language instead of using straight ASM for events like Gen 1 did, and since they use the same map format and all of that stuff, I don't really feel like it should be as big a deal to rip only the maps, events, and scripts to use them with Pokecrystal. The few ASM hacks I've done are either very simple to redo, or completely unnecessary if it was on Crystal (such as no need to add gender selection, since that is already in Crystal).

Offline

#6 2016-01-15 07:11:58

comet
Member
Registered: 2012-04-09
Post 623/679

Re: Switching a project to Pokecrystal?

The only real difference is that Crystal added the 3jumptext command somewhere in the middle, shifting half of the command ids forward.

The map dump code in crystal.py is probably a good base, but it doesn't spit out the maps/*.asm structure, so you'll need to hack it a little to do what you want. I think the parse_rom function just reads everything from the rom. I don't remember what gets it to dump it.

The command names also haven't been kept up to date (2call -> scall etc).

Offline

Board footer

Powered by FluxBB