Yoyofr's stuff
« building snes9xTYL-0.4.2 from source »

Welcome Guest. Please Login or Register.
Jul 31, 2010, 12:11pm




Yoyofr's stuff :: Opensourced Projects :: snes9xTYL :: building snes9xTYL-0.4.2 from source
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: building snes9xTYL-0.4.2 from source (Read 5,639 times)
fruitval
New Member
*
member is offline





Joined: Apr 2007
Posts: 6
 building snes9xTYL-0.4.2 from source
« Thread Started on Apr 4, 2007, 5:37pm »

I'm trying to build from sources but the resultant 'me' version binary freezes after loading a game and 'user' version looses sound if I go back to the menu.

I can only assume that this is my fault. You see, the first time I ran make I got several errors from various files about something--different things in different files--being declared with 'C' linkage and later being declared with 'C++' linkage. I tried reducing the waring level for GCC through the make files but it didn't work. I search but found nothing. I figured that they should all be 'C' linkage because some C files are used. So, I went through marking every declaration and definition, for the errors that make reported, 'extern "C"'. The source then compiled, but either version has major problems.

I did search for building problems but found nothing like this.

Is there a patch or something? Or any information about building the source I may have missed.
Link to Post - Back to Top  IP: Logged
Tinnus
Moderator
*****
member is offline

[avatar]

LJP Hacker



Joined: Jan 2005
Gender: Male
Posts: 2,611
Location: Brazil
 Re: building snes9xTYL-0.4.2 from source
« Reply #1 on Apr 9, 2007, 2:32am »

With the PSPSDK and toolchain it compiles all Ok for me.

The ME version only works with 1.5 kernel and I think the sound problem is a known bug.

Try the original binaries and see if you get the same results...
Link to Post - Back to Top  IP: Logged

Be happy -- play LJP!

If you want to donate via PayPal...

yoyofr: ymagnien 4t hotmail D0T com / Tinnus: tinnus 4t gmail d0t com
fruitval
New Member
*
member is offline





Joined: Apr 2007
Posts: 6
 Re: building snes9xTYL-0.4.2 from source
« Reply #2 on Apr 10, 2007, 6:01am »

Thanks very much for responding. I was afraid I was being ignored.

I am using the MGW special PSP GCC version 4.1.2 (sourced from DevKitPSP). If you don't mind, could you please tell me the GCC build that the PSPDev.org toolchain uses? (Run PSP-GCC -v) The information would really help me out.

The ME version binaries from the website works fine with my PSP 3.10OE-A' firmware when I dump it in the GAME150 folder. My build simple freezes and it seems that it may not be a problem with the source but the way the source interacts with the unofficially PSPSDK I have. I am testing that theory as I type.

The USER version binaries built by me after addition fixes, working with a new download of the source, worked perfectly. The sound problem is no longer... a problem.

I will post more when and if I learn anything knew.
Link to Post - Back to Top  IP: Logged
Tinnus
Moderator
*****
member is offline

[avatar]

LJP Hacker



Joined: Jan 2005
Gender: Male
Posts: 2,611
Location: Brazil
 Re: building snes9xTYL-0.4.2 from source
« Reply #3 on Apr 11, 2007, 10:58pm »

My current psp-gcc says he's 4.0.2, although I haven't updated the whole thing in a year so I'm not sure if that's the current one officially.

Anyway, it works all OK for me with this version :)
Link to Post - Back to Top  IP: Logged

Be happy -- play LJP!

If you want to donate via PayPal...

yoyofr: ymagnien 4t hotmail D0T com / Tinnus: tinnus 4t gmail d0t com
fruitval
New Member
*
member is offline





Joined: Apr 2007
Posts: 6
 Re: building snes9xTYL-0.4.2 from source
« Reply #4 on Apr 24, 2007, 7:27pm »

Thanks Tinnus. That information helps.

My latest attempt still proves broken, but maybe if I swap out to an older version I can figure it out.
Link to Post - Back to Top  IP: Logged
yoyofr
Administrator
*****
member is offline

[avatar]


[homepage]

Joined: Jan 2005
Gender: Male
Posts: 389
Location: Paris
 Re: building snes9xTYL-0.4.2 from source
« Reply #5 on May 6, 2007, 8:51pm »

I tried some of the latests pspsdk and had some trouble with my 3.10 OE psp. I'll update the sourcecode and have snes9xTYL work with the latests dark alex firmware asap. If you want to contribute to the sourcecode send me a pm ! ;-)
Link to Post - Back to Top  IP: Logged
Tinnus
Moderator
*****
member is offline

[avatar]

LJP Hacker



Joined: Jan 2005
Gender: Male
Posts: 2,611
Location: Brazil
 Re: building snes9xTYL-0.4.2 from source
« Reply #6 on May 7, 2007, 5:22pm »

My gawd, yoyofr, you're alive!

Please contact me ASAP to talk about LJP! :P
Link to Post - Back to Top  IP: Logged

Be happy -- play LJP!

If you want to donate via PayPal...

yoyofr: ymagnien 4t hotmail D0T com / Tinnus: tinnus 4t gmail d0t com
prometheus
New Member
*
member is offline





Joined: May 2006
Posts: 26
 Re: building snes9xTYL-0.4.2 from source
« Reply #7 on May 11, 2007, 5:05pm »

I hope the TYL team is aware of the work Ruka (NesterJ developer) is doing on Snes9xTYL 0.4.2me++ (currently on build 0031).

I don't speak Japanese, and I'm not a member of Yoyo's board, but all the info is here:
http://rukapsp.hp.infoseek.co.jp/PSP...NESTYL/lab.htm

From the README:

[what's it?]
some bug fix and more emulation improvements

The above URL also has speed benchmarks for the various builds.
Reply With Quote
Link to Post - Back to Top  IP: Logged
prometheus
New Member
*
member is offline





Joined: May 2006
Posts: 26
 Re: building snes9xTYL-0.4.2 from source
« Reply #8 on May 11, 2007, 5:06pm »

By the way I copied that from someone elses post on maxconsole....


I am a member of this board

lol
Link to Post - Back to Top  IP: Logged
fruitval
New Member
*
member is offline





Joined: Apr 2007
Posts: 6
 Re: building snes9xTYL-0.4.2 from source
« Reply #9 on May 22, 2007, 7:40pm »

Thanks for the update yoyofr.

When you get the next release out I'll look through the source and attempt to make the same fixes.

Note that all the fixes I made are beautification and simplification fixes. The real point was letting the source compile cleanly with GCC's '-Wall' option.
Link to Post - Back to Top  IP: Logged
   [Search This Thread][Send Topic To Friend] [Print]

Google
Webyoyofr.proboards.com
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Report Abuse | Mobile