<div dir="ltr">I've updated the PS2 build instructions in our wiki with digitall's information<div><br></div><div>Regards</div><div>Filippos Karapetis</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 25, 2015 at 6:32 AM, D G Turner <span dir="ltr"><<a href="mailto:d.g.turner@ntlworld.com" target="_blank">d.g.turner@ntlworld.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OMightyBuggy,<br>
As the PS2 porter does not seem to be responding currently, I thought<br>
I should provide some helpful pointers to allow you to compile a new<br>
PS2 build and perhaps help debug any issues with current code.<br>
<br>
This is partly as I am one of the buildbot maintainers.<br>
<br>
Firstly, the nightly development (v1.8.0git) and stable (v1.7.0)<br>
builds for PS2 can be found here:<br>
<a href="http://buildbot.scummvm.org/builds.html" target="_blank">http://buildbot.scummvm.org/builds.html</a><br>
<br>
Please test with these and let us know whether these works correctly<br>
for you. If not, I can still use the toolchain there to try a v1.5.0<br>
build and a replicated v1.4.1 to check if this is a code regression or<br>
a toolchain / library breakage.<br>
<br>
Apart from this, I assume that you are following:<br>
<a href="http://wiki.scummvm.org/index.php/Compiling_ScummVM/PlayStation_2" target="_blank">http://wiki.scummvm.org/index.php/Compiling_ScummVM/PlayStation_2</a><br>
<br>
This appears to be significantly outdated and refers to <a href="http://svn.ps2dev.org" target="_blank">svn.ps2dev.org</a><br>
which appears to be offline. The new location for this code is at<br>
Github as various repositories: <a href="https://github.com/ps2dev" target="_blank">https://github.com/ps2dev</a><br>
<br>
The code there should allow you to build a toolchain from source<br>
and contains patched version of various libraries as:<br>
<a href="https://github.com/ps2dev/ps2sdk-ports" target="_blank">https://github.com/ps2dev/ps2sdk-ports</a><br>
<br>
However, this does not contain SJPCM or Tremor, which the compilation<br>
page suggests you e-mail the maintainer for :/<br>
<br>
<a href="http://wiki.scummvm.org/index.php/Compiling_ScummVM/PlayStation_2#d._Nearly_there.21_Now_we_still_need_some_extra_libs_which_are_not_provided_with_default_SDK" target="_blank">http://wiki.scummvm.org/index.php/Compiling_ScummVM/PlayStation_2#d._Nearly_there.21_Now_we_still_need_some_extra_libs_which_are_not_provided_with_default_SDK</a>:<br>
<br>
On a side note, these kind of patches should be checked into some<br>
repository on Github or otherwise made available in future.<br>
<br>
Tremor which is the integer code version of Ogg Vorbis is not an issue<br>
as it is available from here, but not in a specific PS2 optimised<br>
version:<br>
<a href="https://wiki.xiph.org/Tremor" target="_blank">https://wiki.xiph.org/Tremor</a><br>
<br>
Based on the background information from various Wikipedia pages:<br>
<a href="https://en.wikipedia.org/wiki/PlayStation_2" target="_blank">https://en.wikipedia.org/wiki/PlayStation_2</a><br>
<a href="https://en.wikipedia.org/wiki/Emotion_Engine" target="_blank">https://en.wikipedia.org/wiki/Emotion_Engine</a><br>
<br>
The PS2 uses a MIPS instruction set and as the Tremor page notes<br>
there are no specific optimisations in the codebase for MIPS, but<br>
it should still work fine if compiled for that target with the PS2<br>
toolchain. Any patches are likely to have been as noted by the<br>
Tremor page:<br>
"the main branch will probably give very good performance if CPU<br>
optimized fixed point multiply and complex multiply functions are<br>
added."<br>
<br>
SJPCM is a bit tricker to find, but is described by this:<br>
<a href="http://lukasz.dk/playstation-2-programming/an-introduction-to-ps2dev/" target="_blank">http://lukasz.dk/playstation-2-programming/an-introduction-to-ps2dev/</a><br>
<br>
I was able to locate the independent version of it from here:<br>
<a href="https://github.com/AzagraMac/PS2_SDK/tree/master/isjpcm" target="_blank">https://github.com/AzagraMac/PS2_SDK/tree/master/isjpcm</a><br>
<br>
This should be sufficient for you to be able to setup your own<br>
toolchain and compile the code if you are familar with cross<br>
compilation under Linux.<br>
<br>
Hopefully the PS2 porter can provide the exact patches and code<br>
at some point soon.<br>
Thanks,<br>
David Turner<br>
<div class="HOEnZb"><div class="h5"><br>
On 18/05/15 23:55, Jeffrey Paull wrote:<br>
> I am looking for some help with obtaining "sjcpm & tremor" for compiling<br>
> a new ScummVM build for PS2. I already contacted <a href="mailto:sunmax@libero.it">sunmax@libero.it</a> and<br>
> got no response. I went to the IRC and got directed here to ask.<br>
><br>
> OMightyBuggy<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
One dashboard for servers and applications across Physical-Virtual-Cloud<br>
Widest out-of-the-box monitoring support with 50+ applications<br>
Performance metrics, stats and reports that give you Actionable Insights<br>
Deep dive visibility with transaction tracing using APM Insight.<br>
<a href="http://ad.doubleclick.net/ddm/clk/290420510;117567292;y" target="_blank">http://ad.doubleclick.net/ddm/clk/290420510;117567292;y</a><br>
_______________________________________________<br>
Scummvm-devel mailing list<br>
<a href="mailto:Scummvm-devel@lists.sourceforge.net">Scummvm-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/scummvm-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/scummvm-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">"Experience is the name every one gives to their mistakes" - Oscar Wilde </div>
</div>