ROM Hack CrystalTile2 2010.06.12

wannya

Active Member
OP
Newcomer
Joined
Sep 17, 2007
Messages
37
Trophies
0
Website
www.angeleden.net
XP
117
Country
Switzerland
------------2010.06.12------------
1. Open hidden features inside NDS File System Window (Ctrl+N)
?NDS AutoLoad Module Editor: You can add your own module.
?Intro: Execute a custom multimedia demo before the game run. (in AutoLoad Module Editor)
?NEF Symbol Table: Display SDK Function Symbols with Debug version of NO$GBA.
And some minor changes.

2. Added Tile Composer(Tools Menu)

3. Added NDS Memory manager Editor(OS_GetInitArenaLo/OS_GetInitArenaHi)
this feature can allocate a memory segment for you own use

4. Search for Nitro SDK function entry (under Locate menu of NDS File System Window)

download CrystalTile2


*****************************
*** AutoLoad Module Usage ***
*****************************

AutoLoad Module does the operations of autoload function.
It will copy a code segment of arm9.bin to given memory address.
If you used static variables. They will be initialize after copying.
Just like in C: static int temp;

Example:
# C #
int getvalue()
{
static int value;
return value;
}

# ASM #
00000000 ldr r0,=value
00000004 bx lr
00000008 [value]

The advantage of static variables is reducing the code size.
Real code is 00000000-00000004 (4bytes), but 00000008 will be initialized by autoloader.

This function likes overlay function.
If you want to add your own code segment, you must allocate a segment of memory (CT2 can allocate 01FF section automatically. But it's limited to 02000000).
You can use Memory manager Editor feature to do this.

***************************
*** Memory Editor Usage ***
***************************
Open a rom, then press Ctrl+N open the NDS File System Information window.
Find the NDS AutoLoad Module Editor command under Edit menu.
Then click the Add button in the dialog, select the module you want to add in the Open dialog.
And fill in the Load Address and Static Data Size (input 0 if none) fields in the following dialog.
Click OK when done.

Note: If the result arm9.bin file size exceeds the original one,
CT2 will prompt to move the arm9.bin file.

**************************
*** Intro Editor Usage ***
**************************
Click the Intro button on the AutoLoad Module window.
CT2 will search for required Nitro SDK function entries.
Functions marked with "*" have replacements, they can be used even not found in the rom.

Click OK will enter the DS Intro Editor window.
Set images for both screen (256x192) in the Picture section,
and set background music in the Sound section.
Click Add when done.
You'll see a preview on the right of the window (note: DS color depth is 15bit).
The final result might be different from the preview.

Click Insert will add the intro to the rom.
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
Edit- those reeading from a search or something
http://filetrip.net/f23649-CrystalTile2-2010-09-06.html has the last version released.

Very nice, I was still using the "old download" version and I presume many others were as well and this looks like it improves quite a bit (I will see if I can work a full changelog from the old version).

Others I assume you know what crystaltile2 is but if not it is a top flight general purpose rom hacking tool with many DS specific features- if you are pulling a rom apart, reversing a format or just doing some basic hacking work this program should be in your arsenal.
I wrote a quick guide to the various functions (albeit of a slightly older version) here:
http://gbatemp.net/t73394-gbatemp-rom-hack...t&p=2641950
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
Yeah that downloads site has troubled me before when grabbing Chinese sourced romhacking tools.
Not sure if it is just browser ID/User Agent ID or something deeper but if you can suffer IE click on the crystaltools directory then click on "CT2.zip 2,017KB 2010.06.12" and in the new window click on "我需要下载" (the left hand button). From there it should be self explanatory.
 

Noitora

::
Member
Joined
Aug 9, 2007
Messages
3,760
Trophies
1
Age
32
Location
Athens
Website
www.noitora.eu.pn
XP
289
Country
Greece
Adding an intro is a piece of cake
tongue.gif


Proof of concept:
2r2105k.png

(I used the first image I found in my pictures folder... (Image source))
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Veho
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
    Veho @ Veho: https://youtube.com/watch?v=Y23PPkftXIY