Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Reload this Page [Tool] DNS - Day, Night and Seasons

Notices
For all updates, view the main page.

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.



Reply
 
Thread Tools
  #1    
Old March 15th, 2011 (02:13 PM). Edited December 23rd, 2011 by prime-dialga.
prime-dialga's Avatar
prime-dialga prime-dialga is offline
pure darkness
 
Join Date: Dec 2009
Gender: Male
Posts: 28
I had created another day and night-system now with seasons. It's based on interdpth's RTC and supports R/S/FR/LG/Em in all languages. Unfortunately you must install interdpth's RTC in R/S/Em too to use this DNS-System. But this tool can install it, so you need only a few bytes of free space in your ROM.

Additionally...
  • ... Offsets in 32MB ROMs are supportet and you can decide if you want to write the Offset with the 8, 9 or nothing, 1.
  • ... the DNS supports battles.
  • ... I had to split the 5th time period in the script at midnight so I had decided to make 6 time periods.
  • ... you can decide to install all, the RTC and DAN, the RTC and seasons or only the RTC.
  • ... finally both systems (DAN and Seasons) writes an statusbyte in the RAM which represents the current time period and Season.
Screen:

Unfortunately i'm not allowed to post any links or pictures from the DAN, because i have less then 15 posts. So i must post censored links...



Download:

http://www.memoryresources.de/DNS/DNS.zip
Reply With Quote
  #2    
Old March 27th, 2011 (09:06 AM).
Lost Heart's Avatar
Lost Heart Lost Heart is offline
Pirate Empress
Gold Tier
 
Join Date: Mar 2010
Location: Amazon Lily
Age: 18
Gender: Female
Nature: Naughty
Posts: 1,219
I must say that this is a really nice tool! I saw that it was supported by A-map 1.95, so I decided to try this out, and I was seriously impressed. This is a very nice tool!
Reply With Quote
  #3    
Old March 27th, 2011 (09:10 AM).
Full Metal's Avatar
Full Metal Full Metal is offline
C(++) Developer.
Silver Tier
 
Join Date: Jan 2008
Location: In my mind.
Age: 19
Gender: Male
Nature: Timid
Posts: 805
Send a message via Windows Live Messenger to Full Metal

Download
^ Just thought I'd do a little favor for everyone you know.
__________________

★ full metal.

I like to push it,
and push it,
until my luck is over.
Reply With Quote
  #4    
Old March 27th, 2011 (11:21 AM).
Shiny Zoroark's Avatar
Shiny Zoroark Shiny Zoroark is offline
Elite Trainer Connor
 
Join Date: Mar 2011
Location: Nimbasa City
Gender: Male
Nature: Serious
Posts: 24
this is a great tool, very useful
__________________
Check out my hack...

Connor // 1521-3308-5945
PKMN Y | Badges: 8 | Time: 381:48
Seen: 718 | Own: 718
Reply With Quote
  #5    
Old March 27th, 2011 (11:26 AM).
dcjboi's Avatar
dcjboi dcjboi is offline
With Quiet Courage
 
Join Date: Dec 2010
Location: In between Heaven and Earth
Nature: Timid
Posts: 415
Send a message via Skype™ to dcjboi
Thanks Prime-dialga now I can make season-exclusive Pokemon
__________________

Reply With Quote
  #6    
Old March 27th, 2011 (11:58 AM).
Quilava's Master's Avatar
Quilava's Master Quilava's Master is offline
Shattered Dreams '13
 
Join Date: Jul 2007
Nature: Adamant
Posts: 694
Hmm it seems that turning off the DAN Battles causes the game to crash upon entering a battle.
__________________
The return of Pokemon Shattered Dreams! Click the screenshot to visit the thread, you know you want to.
Reply With Quote
  #7    
Old March 27th, 2011 (01:34 PM).
tente2's Avatar
tente2 tente2 is offline
"Outta my way, dammit!"
 
Join Date: Sep 2009
Location: Snowpoint City
Gender: Male
Nature: Bashful
Posts: 403
Seems both very useful and very interesting.

Being a beginning hacker, I hope you build more tools like this--there are many trainer editors, etc., but few things like these.
__________________
Reply With Quote
  #8    
Old March 28th, 2011 (12:34 AM).
xCalierz's Avatar
xCalierz xCalierz is offline
Don't look, it kills the irony
 
Join Date: Feb 2011
Location: The place England dumped their convicts
Age: 20
Gender: Male
Nature: Naive
Posts: 43
I really like this tool, it's very easy to use.
Thanks mate!
Reply With Quote
  #9    
Old March 28th, 2011 (04:50 PM). Edited March 28th, 2011 by diegoisawesome.
diegoisawesome's Avatar
diegoisawesome diegoisawesome is offline
Please understand
Silver Tier
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 18
Gender: Male
Nature: Quirky
Posts: 972
Other than the fact that setting the clock in RSE (and also Jambo's custom day-of-the-week setting routine) is no no longer supported, I like this tool. At least the clock is displayed correctly. If you could just add in support for these two things, I would be grateful.

In other news, I seem to not be able to remove the old RTC/DN system from my FireRed ROM. It gives me an unhandled exception and quits.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Diego's Miscellaneous Patches
GBA Intro Manager
Reply With Quote
  #10    
Old March 28th, 2011 (06:19 PM).
joshblevins's Avatar
joshblevins joshblevins is offline
 
Join Date: Jul 2010
Gender: Male
Posts: 79
in my rom i have the old dan system how do i delete it?
__________________
Working on a Fire Red Remake Hack nameless for the time being!
Reply With Quote
  #11    
Old March 29th, 2011 (09:32 AM).
Crimson Stardust's Avatar
Crimson Stardust Crimson Stardust is offline
Anime Addiction
 
Join Date: Mar 2009
Location: It is for me to noe and all of you to find out
Age: 22
Gender: Male
Nature: Relaxed
Posts: 1,296
Send a message via AIM to Crimson Stardust Send a message via Windows Live Messenger to Crimson Stardust
It wont work for me,
i have rtc enable but nothing changes.
__________________



Reply With Quote
  #12    
Old March 29th, 2011 (02:38 PM).
Mr.Pkmn Mr.Pkmn is offline
Someone making a pokemon hack
 
Join Date: May 2008
Posts: 27
Great tool, but the screen make flickers when using DAN in battles (which you can't disable without crash).

May I suggest to not use dynamic checking of the time during battles in order to not refresh palettes everytime.
Reply With Quote
  #13    
Old March 29th, 2011 (02:54 PM).
Halfshadow's Avatar
Halfshadow Halfshadow is online now
Sono italiano/I'm italian.
 
Join Date: Sep 2008
Location: Lucca ITALY (Yes i'm of Lucca, the city of "Lucca comics and games" !)
Age: 26
Gender: Male
Nature: Docile
Posts: 45
But the seasons where there?

I have installed them but i don't find nothing in the game!
Reply With Quote
  #14    
Old March 29th, 2011 (02:55 PM).
r0bert's Avatar
r0bert r0bert is offline
Quitifyingly awesome.
 
Join Date: Jul 2010
Location: kewl places
Gender: Male
Nature: Naughty
Posts: 381
OMAGAWD! very awesome!
but how do I edit the season palletes?
__________________
Reply With Quote
  #15    
Old March 30th, 2011 (04:43 AM).
Crimson Stardust's Avatar
Crimson Stardust Crimson Stardust is offline
Anime Addiction
 
Join Date: Mar 2009
Location: It is for me to noe and all of you to find out
Age: 22
Gender: Male
Nature: Relaxed
Posts: 1,296
Send a message via AIM to Crimson Stardust Send a message via Windows Live Messenger to Crimson Stardust
How do the seasons work actually,
there seems to be nothing change when i insert seasons
__________________



Reply With Quote
  #16    
Old March 30th, 2011 (05:20 AM).
shawn_07 shawn_07 is offline
 
Join Date: Jan 2011
Location: The Entralink
Gender: Male
Nature: Gentle
Posts: 2
I used it in a Fire Red 1.0 ROM on XP...
Good news is it worked fine..
Bad news is I don't know how to use it. = (
Can anyone post a tutorial?

Thanks.
Reply With Quote
  #17    
Old March 30th, 2011 (10:20 PM). Edited April 3rd, 2011 by jirachiwishmaker.
jirachiwishmaker's Avatar
jirachiwishmaker jirachiwishmaker is offline
 
Join Date: Jul 2007
Location: Forina
Age: 30
Gender: Male
Nature: Lonely
Posts: 51
I had intalled the RTC and DAN system in Emerald rom (Japanese version) and used the GBA flash card with the RTC to play it. I found out that the background palette won't changes along with all the time periods, it always the dark night (dark blue palette). If I use the emulator to play it, the background palette will change along with the RTC that inside the computer. May I have a DAN system that the background palette will change along with the RTC which inside Emerald rom itself? Please help me to achieve it. Thanks a lot.

PS: Sorry for my poor English
Reply With Quote
  #18    
Old March 31st, 2011 (06:25 PM).
PokeMasterLM's Avatar
PokeMasterLM PokeMasterLM is offline
 
Join Date: Feb 2011
Location: Manto Region
Age: 18
Gender: Male
Nature: Rash
Posts: 15
didnt really work for me. Gonna try it agian.
Reply With Quote
  #19    
Old April 4th, 2011 (08:38 AM).
RegisteelX RegisteelX is offline
zomgwut?
 
Join Date: Oct 2009
Age: 23
Gender: Male
Nature: Timid
Posts: 62
how can you find 0x3DO bytes? i can't do that with Free space finder.

and when i apply them, nothing happens in the game.
__________________


Reply With Quote
  #20    
Old April 6th, 2011 (02:51 AM). Edited April 6th, 2011 by Meta Paradox.
Meta Paradox Meta Paradox is offline
Researching FireRed...
 
Join Date: Apr 2011
Gender: Male
Nature: Serious
Posts: 56
Nice! I installed the RTC in my hack, and it's pretty nifty!
One question though... how do I access that "statusbyte" thingy that displays the time?
I mean, it showed a statusbyte thingy offset but how do I display its status in the ROM?
Please help.
Reply With Quote
  #21    
Old April 6th, 2011 (03:21 PM). Edited April 9th, 2011 by Crimson5M.
Crimson5M's Avatar
Crimson5M Crimson5M is offline
what
Crystal Tier
 
Join Date: Feb 2011
Location: Scotland
Age: 19
Gender: Male
Nature: Quiet
Posts: 1,055
Nice, but there are a few things you might want to fix.
- The Rom crashes upon entering a battle if you un-check "Use DAN in battles?".
- No Palette editor for seasons?
- DAN palette editor would be nice too.

Something I think would be pretty cool is if you could load up a certain tileset and palette from the ROM, and edit the tiles/palettes for the seasons and DAN. You know, like you could have a tree full of leaves in Summer, and then it loses leaves when it gets to Autumn/Fall, is covered in Snow when it's Winter, and when it gets back to Spring all the leaves are back, with the addition of some cute little pink flowers.
__________________

Because it should've won HotY.
Pear
Frodo Baggins
Twitter
Youtube
CBC
Reply With Quote
  #22    
Old April 8th, 2011 (10:00 AM).
Joshuablevins Joshuablevins is offline
 
Join Date: Jul 2010
Gender: Male
Posts: 69
when i use the day and night system from this program its always night in my game

would somebody mind answering questions about bugs and making a tutorial because there are quite a few

but thank you for the new innovation
Reply With Quote
  #23    
Old April 10th, 2011 (10:09 AM).
prime-dialga's Avatar
prime-dialga prime-dialga is offline
pure darkness
 
Join Date: Dec 2009
Gender: Male
Posts: 28
@Quilava's Master
ok, it's fixed. More at the end of this post.

@diegoisawesome
Maybe a R/S/Em-RTC will be supported in another version, but i didn't have planed something like this.

I didn't know Jambo's custom day-of-the-week setting routine but i can try to make such a Routine which shows the day of the week.

@joshblevins
In the left corner (at the bottom) will be a little buttom. If your ROM is supported you can erase the system (no warranty).

@Crimson Stardust
The RTC writes only some bytes in the RAM. If you didn't have any scripts which use the RTC, you can't see anything.

@Halfshadow, r0bert, Crimson Stardust
The season-system changes the tilesets. Therefor it uses an header. This header can be edited with the Season-Header-Editor.
If you install the System it will only install a blank header.

@Meta Paradox
you can use the XSE and comparefarbytetobyte or ASM and something like this
Code:
[...]
.equ Statusbyte, <here your Offset>
[...]
ldr r0, =Statusbyte
ldrb r0, [r0]
[...]
@Fireworks
If i make a "custom pal at time period"-script or something like this, it isn't a real DAN anymore. (imo)
If you want such a thing, i can edit my season-system an let it change the tileset every few hours.

@Joshuablevins
Maybe the RTC is diseabled in your emulator...
If you use VBA try Options->Emulator->Real Time Clock


@DNS
A new Version is released! It'll fix the battlebug, so you can now diseable the DAN-system in battles.

If you have already an old version you can use the updatefunction. Otherwise you can download the tool with your browser. (h**p://memoryresources.de/DNS/DNS.zip)
Reply With Quote
  #24    
Old April 10th, 2011 (10:19 AM).
Crimson5M's Avatar
Crimson5M Crimson5M is offline
what
Crystal Tier
 
Join Date: Feb 2011
Location: Scotland
Age: 19
Gender: Male
Nature: Quiet
Posts: 1,055
I mean so that it's possible to have Lampposts glow at night, as well as windows.

Also:
Download
__________________

Because it should've won HotY.
Pear
Frodo Baggins
Twitter
Youtube
CBC
Reply With Quote
  #25    
Old April 10th, 2011 (10:33 AM).
diegoisawesome's Avatar
diegoisawesome diegoisawesome is offline
Please understand
Silver Tier
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 18
Gender: Male
Nature: Quirky
Posts: 972
Quote originally posted by prime-dialga:
@diegoisawesome
Maybe a R/S/Em-RTC will be supported in another version, but i didn't have planed something like this.

I didn't know Jambo's custom day-of-the-week setting routine but i can try to make such a Routine which shows the day of the week.
Well, this isn't exactly what I meant.
I meant that this new RTC does not have support for RSE's clock that you set at the beginning of the game. Usually, setting the clock only changes the default Emerald RTC, but it would be great if setting the clock in-game could make interdpth's RTC change as well.

Also, the custom day-of-the-week routine is simply making it so that you can set the day of the week in-game. you could probably make the RTC read from a byte in memory and add or subtract the required value from the actual day-of-the-week byte in interdpth's RTC.

If you want the routines to set the day of the week or any information about Emerald's clock setting from the beginning of the game, feel free to PM me.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Diego's Miscellaneous Patches
GBA Intro Manager
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC -8. The time now is 01:57 PM.