Mednafen RTC

YDL running on the Sony Playstation 3

Moderator: billb

Re: Mednafen RTC

Postby CarnifeX » 09 Sep 2010, 00:51

Ok, I'll check the the installation tommorow and let you know. I'm gunna go to bed, I have to be to work at 5am =(

Thanks man.
CarnifeX
ydl newbie
ydl newbie
 
Posts: 13
Joined: 06 Sep 2010, 19:56

Re: Mednafen RTC

Postby billb » 09 Sep 2010, 03:47

CarnifeX wrote:I have to be to work at 5am =(


:shock: That's just not right!
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Mednafen RTC

Postby billb » 09 Sep 2010, 14:07

I checked Pokemon Emerald on my version and didn't see any problems -- started a new game, went in the house, started the clock thing, wandered around a bit. :mrgreen:
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Mednafen RTC

Postby CarnifeX » 09 Sep 2010, 23:29

billb wrote: :shock: That's just not right!

Ya, I'm an electrician, but i'm in a construction job right now. It's pretty wearing. =(

billb wrote:I checked Pokemon Emerald on my version and didn't see any problems -- started a new game, went in the house, started the clock thing, wandered around a bit. :mrgreen:


Ya yours is all good to go, set up with RTC :D

Ok so, I downloaded the link but i'm confused as to what softwear installer I should be using? I'm pretty sure I don't have one, I thought everything was just done through the terminal, I didn't think applications like that were compatible with Linux PS3?

Is that link a newer version of mednafen with the patched RTC?
CarnifeX
ydl newbie
ydl newbie
 
Posts: 13
Joined: 06 Sep 2010, 19:56

Re: Mednafen RTC

Postby billb » 10 Sep 2010, 00:15

CarnifeX wrote:Is that link a newer version of mednafen with the patched RTC?


Yes -- just download it then double-click the file you downloaded. And that's correct -- you don't usually install software like that on YDL but it may be OK in this case.

When it starts to install it will request your root password, the same as if you were installing something from the command line. Also, the package isn't "signed" and it will likely give you a warning about that as well.

Let me know how it goes...

Again here's the link:
http://pleasantfiction.ipower.com/ps3li ... dg.ppc.rpm

Right click on the link, select Save LInk As, the Desktop folder should already be selected, then click OK to download it. Then you can close Firefox and double-click on the downloaded file on your Desktop.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Mednafen RTC

Postby CarnifeX » 10 Sep 2010, 00:22

Ya it didn't work man, it just opens up a folder with the file inside. No installer ensue's.
CarnifeX
ydl newbie
ydl newbie
 
Posts: 13
Joined: 06 Sep 2010, 19:56

Re: Mednafen RTC

Postby billb » 10 Sep 2010, 00:33

Erww... you should have a file called:

mednafen-0.8.13-1.0.8.D.ydl6.bdg.ppc.rpm

On your Desktop ... if double-clicking it doesn't open it with the Software Installer, try right-clicking on it and selecting "Open with Software Installer" ...

If you don't have that option, open a terminal window and:

Code: Select all
cd ~/Desktop


Code: Select all
su


<root password>

Code: Select all
yum localinstall --nogpgcheck mednafen-0.8.13-1.0.8.D.ydl6.bdg.ppc.rpm


When (if?) complete:

Code: Select all
exit
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Mednafen RTC

Postby CarnifeX » 10 Sep 2010, 00:46

Wow, It worked...It didn't say my battery ran dry! Thanks a lot!

It did how ever say my save file is corrupt, but it still has my prior spot I left off at. Weird...Did yours say, "Save file corrupt" by any chance?

So how exactly did you get the patch on mednafen, and is that a newer version than I had?!
CarnifeX
ydl newbie
ydl newbie
 
Posts: 13
Joined: 06 Sep 2010, 19:56

Re: Mednafen RTC

Postby billb » 10 Sep 2010, 00:54

CarnifeX wrote:Wow, It worked...It didn't say my battery ran dry! Thanks a lot!


Cool :D

It did how ever say my save file is corrupt, but it still has my prior spot I left off at. Weird...Did yours say, "Save file corrupt" by any chance?


Well... I didn't have a pre-existing save file so I don't know. Maybe when you create a new one from that point it'll be OK?

So how exactly did you get the patch on mednafen, and is that a newer version than I had?!


You had 0.8.A and this is 0.8.D (the latest version). Re: the patch, I saw the note regarding it on the mednafen forum, downloaded the source code, modified it, used the diff command to create the patch file, modified my rpm .spec file to apply the patch before compiling, and rebuilt the rpm package. Much easier to just install a pre-modified version! :mrgreen:

EDIT: just in case anyone reads this and is building mednafen 0.8.D from source, here's the patch to enable RTC on GBA:

mednafen0.8D-GBA-RTC-enable.patch
Code: Select all
--- src/gba/RTC.cpp.orig        2010-07-27 18:22:35.000000000 -0400
+++ src/gba/RTC.cpp     2010-07-27 18:23:14.000000000 -0400
@@ -42,7 +42,7 @@
 } RTCCLOCKDATA;
 
 static RTCCLOCKDATA rtcClockData;
-static bool8 rtcEnabled = false;
+static bool8 rtcEnabled = true;
 
 void rtcEnable(bool8 e)
 {


How it's applied ... create the above file and save it to your mednafen/src/gba directory, then run this command:

Code: Select all
patch -p2 < mednafen0.8D-GBA-RTC-enable.patch


Expected result:

patching file RTC.cpp

Then compile mednafen like you normally would.
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: Mednafen RTC

Postby CarnifeX » 10 Sep 2010, 01:18

I wouldn't even have my ps3 setup if it wasn't for you and these forums, you're a genius!
CarnifeX
ydl newbie
ydl newbie
 
Posts: 13
Joined: 06 Sep 2010, 19:56

Previous

Return to Playstation 3

Who is online

Users browsing this forum: No registered users and 66 guests

cron