S2DSDK

From DingooWiki

Jump to: navigation, search
S2DSDK
Platform(s): Native Firmware
Download(s): See Downloads
Developer(s):  ?
Version:  ?
Status: Released
Homepage: S2DSDK Thread


Contents

[edit] Required Files

DSOUND LIB
CYGWIN-Related files
S2DSDK-Related files
Microsoft Visual C++ 2008 Express Edition
Helloworldpixel (thanks to http://blog.tipesoft.com/)

[edit] Installation

[edit] Initilize

1a) Extract 20091214224673499.rar to C:\ (so the files within the archive are extracted to C:\cygwin\)

2a) Extract 200811281249773499.rar to C:\s2dsdk

3a) Extract 200918035573499.rar to C:\s2dsdk

4a) Install the Microsoft Visual C++ 2008 Express Edition (if you haven't already)

5a) Apply these Environment Variables:
MIPSLIB
c:/cygwin/mipseltools/lib

MIPSTOOLS
c:/cygwin/mipseltools/include

S2DINC
c:/s2dsdk/inc

S2DLIB
c:/s2dsdk/lib

path
c:\cygwin\bin;c:\cygwin\mipseltools\bin;c:\windows\system32\;

(Thanks to Sience for this bug fix, this will stop you from getting that odd error asking for cmd.exe)

To apply these variables, head to 'My Computer', right-click and select 'Properties'. Click the 'Advanced', then click 'Environment Variables'. Click 'New' and add the variables one-by-one.

6a) Extract 2009161852273499.rar to C:\s2dsdk\lib (so the file will be located at C:\s2dsdk\lib\dsound.lib)

7a) Extract helloworldpixel.zip to any location, as the location will not matter. I would highly recommend you extract the archive to C:\s2dsdk, simply so you can keep track of the documents.

8a) Run the registry file 'C:\cygwin\cygwin.reg'

[edit] Process

1b) Load up Microsoft Visual C++ 2008 Express Edition.

2b) Select 'Open' and locate the folder where you extracted helloworldpixel.zip. Navigate to the win32 VS2008 folder, and select main.sln.

3b) Now that Microsoft Visual C++ 2008 Express Edition has loaded the file, you will need to compile the project. Select the green arrow (the > symbol) or simply press F5.

4b) If all things were successful, the helloworldpixel example, will compile and you will see the rare and fabled s2dsdk window. Yay! You have done it!

4.1b) If all things weren't successful, the helloworldpixel example, will not compile, and you will see an error. If you receive a:

Error: 1>Project : error PRJ0003 : Error spawning 'cmd.exe'.
Fix: Navigate to C:\WINDOWS\system32\ and find the file called 'cmd.exe'. Copy this file to the win32 VS2008 folder where the project is. Recompile the project, and hopefully, everything will work.

[edit] EXTRA NOTES

If the project compiles with some 'warnings', simply recompile the project, and those should be gone. I have no reason why they disappear when you just recompile.

I hope this guide will help someone. It took me some time, so if you would mind linking to this topic, rather then cutting and pasting the text else, that would be great. Thanks!

Thanks also goes to cdesign30 for suggesting the use of the win32 VS2008 rather then the win32 VS2005, which was converted to a later version.

Personal tools