Author Topic: Doubutsu no Mori (J)  (Read 937 times)

0 Members and 1 Guest are viewing this topic.

Offline nekokabu

  • PJ64 Dever
  • Jr. Member
  • *****
  • Posts: 94
  • Karma: +1/-0
Doubutsu no Mori (J)
« on: September 02, 2011, 02:25:41 pm »
1. Hang after displaying the n64 logo of the sixth in demo.


2. Hang after select to play NES games.


3. not supported RTC.
RTC has been analyzed by zoinkity.

Real-Time Clock Access
http://www.emutalk.net/threads/51125
« Last Edit: October 02, 2011, 09:33:31 pm by RadeonUser »

Offline RadeonUser

  • PJ64 Dever
  • Full Member
  • *****
  • Posts: 238
  • Karma: +1/-0
  • SuperFly Deving Guy
Re: Doubutsu no Mori (J)
« Reply #1 on: September 02, 2011, 03:39:36 pm »
Interesting, I wasn't aware of any issues with this game.
I will add what is described in the document and should have a build out either Monday or Tuesday.

I would do it sooner but Gent has me working on the about page, adding md5 to the rdb, and some other stuff I am probably forgetting.

Offline RadeonUser

  • PJ64 Dever
  • Full Member
  • *****
  • Posts: 238
  • Karma: +1/-0
  • SuperFly Deving Guy
Re: Doubutsu no Mori (J)
« Reply #2 on: September 06, 2011, 09:24:19 pm »
This version supports reading the time from the Real-Time Clock.
I am still working on the write support so you will not be able to set your own time.

Try it out and tell me how it works.
I would also be interested to know if the time cheats still work.

Offline nekokabu

  • PJ64 Dever
  • Jr. Member
  • *****
  • Posts: 94
  • Karma: +1/-0
Re: Doubutsu no Mori (J)
« Reply #3 on: September 07, 2011, 03:14:47 pm »

Thank you RadeonUser:)


time is good, but month & day are bad.
Today: 2011/9/7
PJ64: 2011/8/3

Offline RadeonUser

  • PJ64 Dever
  • Full Member
  • *****
  • Posts: 238
  • Karma: +1/-0
  • SuperFly Deving Guy
Re: Doubutsu no Mori (J)
« Reply #4 on: September 07, 2011, 04:53:17 pm »
 :-[ So it is.
I did a bit of testing on it and thought it was fine but I was wrong.
I guess I just want it to be August again.

This version supports setting your time but it will only work while the emulator is running.
The next time the game is run the time will be set to the current time.
I am working on creating a new rdb entry to save the time that is set.

Offline RadeonUser

  • PJ64 Dever
  • Full Member
  • *****
  • Posts: 238
  • Karma: +1/-0
  • SuperFly Deving Guy
Re: Doubutsu no Mori (J)
« Reply #5 on: September 08, 2011, 02:55:24 am »
This version should have all the bugs sorted with Real-Time Clock support.
I found my previous implementation had an issue with setting the time.

I am saving the time that is set by the player in the RDB.
The new entry is called RTC since I couldn't think of a better name for it.
The number that is saved is the difference between the real time at the moment the player sets a custom time and the time that is set by the player.
This number will be negative if the date and time is set in the future and positive if it is in the past.

On the N64 the year is stored in 16 bits and is offset from the year 1900 so I do not think there will be an issue any time soon with the year.
If my calculations are right the N64 supports up to the year 41221.
My implementation only goes up to December 31 3000 so it's not quite as accurate as it could be but I think it will do.
I did a quick test with my clock set to the year 2094 and the cat in the game asked me if that was the date so I think it's working fine.

I feel a bit conflicted about the RDB setting, perhaps I should place it elsewhere.
It's only a problem if the RDB is distributed with an already saved RTC value, otherwise I don't see the harm.
Still, I went through the trouble of incorporating this and I wouldn't want people to think there's a problem with the time.

Offline RadeonUser

  • PJ64 Dever
  • Full Member
  • *****
  • Posts: 238
  • Karma: +1/-0
  • SuperFly Deving Guy
Re: Doubutsu no Mori (J)
« Reply #6 on: September 10, 2011, 02:56:30 am »
I decided it would be best to move the Real-Time Clock information away from the RDB.
It is now stored in the save directory with the internal name as the file name and "rtc" as the extension.

This build also includes the work Witten is doing on Cheat Search.
I do not believe there have been any other notable changes.

Update
Fixed the crash caused by the file not existing.

Update 2
Setting your own time no longer results in it being off by an hour.
« Last Edit: September 10, 2011, 04:23:11 pm by RadeonUser »

Offline Gent

  • PJ64 Dever
  • Sr. Member
  • *****
  • Posts: 493
  • Karma: +100/-0
  • SuperFly Deving Guy
    • Project64 Website
Re: Doubutsu no Mori (J)
« Reply #7 on: September 10, 2011, 11:11:51 pm »
nice work Rad!

Here are 2 pics below

1: default +1 hour on timezone
2: changed to my chosen time
System 1 Specs:

OS:Windows 7 Professional 64Bit
CPU:Intel® Core™2 Quad Processor Q8400, 2.66 GHz, 1333 MHz FSB
System RAM:8GB Ddr2 Ram
Video:ATI Radeon HD 7470 PCI-E Graphics Card 1Gb
Sound:Creative Labs SB0460 X-fi Fatality Sound Blaster

System 2 Specs:

OS:Windows 7 Professional 64Bit
CPU:AMD Intel Quad Core i7 860 @ 2.80GHz Lynnfield 45nm Technology
System RAM:16.0GB Dual-Channel DDR3 @ 664MHz (9-9-9-24)
Video Card:512MB NVIDIA GeForce 310 Graphics
Sound Card:Realtek High Definition Audio

System 3 Specs:

OS:Windows 7 Professional 64Bit
CPU:AMD Essentials E1-2100 Accelerated Processor clock speed : 1.0 GHz
System RAM:Crucial 16GB  DDR3 RAM (1,333 MHz)
Video Card:AMD E1-2100 APU with AMD Radeon™ HD 8210 Graphics
Sound Card:Realtek ALC269Q-VB5-GR


Offline nekokabu

  • PJ64 Dever
  • Jr. Member
  • *****
  • Posts: 94
  • Karma: +1/-0
Re: Doubutsu no Mori (J)
« Reply #8 on: September 11, 2011, 04:54:07 pm »
nice work RadeonUser!:)