游戏开发论坛

 找回密码
 立即注册
搜索
查看: 3058|回复: 5

关于PS2 游戏开发(开发指南,开发工具,仿真器) 下载

[复制链接]

82

主题

147

帖子

171

积分

注册会员

Rank: 2

积分
171
发表于 2003-10-2 01:06:00 | 显示全部楼层 |阅读模式
其中有部分网站,国内的dns无法解析
http://ps2dev.livemedia.com.au/kb/kb.asp?T=690  无法解析
http://pcsx2.ngemu.com/downloads.php 无法解析
那位兄弟能找到,代理服务器,可以帮助连接到这些网站!


Software
Directories
There is no mandatory directory structure. For this document I created c:/ps2 and the following subdirectories:
Cygwin: contains setup.exe for quick upgrades to the Cygwin system
Emu: contains the pcsx2 PS2 emulator
Samples: contains sample source code and executables from the web
Tutorials: found on the web
Libs: support libraries written by many wonderful people
Tools: little helpers
Source: will contain my little projects

Samples
Downlaod and unpack all the sample code and demos that you can find. One great site to start is http://ps2dev.livemedia.com.au/kb/kb.asp?T=690
Definetly get PS2Invaders, final release 'Space1.6.zip' from the above site

Emulator
Even without a PS2 it is possible to get your feet wet in PS2 development. Download the PCSX2 emulator:  PCSX2 v0.042 for win32 from http://pcsx2.ngemu.com/downloads.php
Unzip and install it onto the Emu directory
Configure PCSX2 via [Config->Graphics]. I like to disable FullScreen.
Configure your controller to your liking.

Test a sample .elf file (.elf files are the PS2 executables). How about 'space.elf' that we just downloaded [File->Open ELF File->Space.elf] [Run->Execute].  
Press 'Start' on your Controller/Keyboard. Tadaa, you just ran the very first PS2 game on your PC.

Compilers
Download Cygwin setup.exe from http://www.cygwin.com/ (http://www.cygwin.com/setup.exe) and run it.
Install the default components AND all developer (devel) components.
Run setup.exe again, but this time in the dialog 'Choose a download site', enter http://ps2dev.sf.net and select it
Make sure to install all packages from this site
Open c:/cygwin/home/(yourname)/.bashrc with wordpad and add this line to the end of the file:
source /usr/ps2dev/ps2dev.sh

If you prefer to do it manually, add these lines instead:
export PS2DEV=/cygdrive/c/cygwin/usr/ps2dev
export EE=$PS2DEV/ee
export IOP=$PS2DEV/iop
export PS2LIB=$PS2DEV/ps2lib
export PATH=$PATHPS2DEV/bin/:$EE/bin/:$IOP/bin/

There should be a Cygwin shell Icon on your destop. Start the shell (kind of an MS-DOS window, but much more poweful) and type the command 'ee-gcc'.
if you get 'command not found', you either did not add the lines above, or you did not install all components. Go through the list again.
You should see 'ee-gcc: No input file'. Wooohoo, the compiler works
Type 'iop-gcc'. Got 'iop-gcc: No input file'? The other compiler works, too!
If your compilers don't seem to work, go back and reinstall all Cygwin components.
Libraries
Probably the most important library to install is ps2lib by Gustavo Scotti. It brings at least some 'normal' C feeling back into PS2 life. Fortunatly it comes with the above package.
Find more libraries, download and install them. There is stuff to access the DVD drive, Sound hardware, game controllers, and much much more.

Test
After all this download craze we should really check, if our system works. Unpack the Starsim demo into c:/ps2/samples/starsim .
Open 'Makefile' in 'c:/ps2/samples/starsim' and remove 'nprintf.o' from the 5th line of instructions (nprintf is now part of ps2lib)
Open a shell (double click the Cygwin logo) and type:
cd c:/ps2/samples/starsim
make clean
make

Did the script generate 'starsim.elf'? Start the emulator pcsx2, load starsim.elf and run it. Do you feel dragged into space? Well done! You just compiled and ran your first program for your PS2 without even touching your PS2 (yes, you can burn this onto a CD and run it on the PS2, but that requires some tricks that I will explain later)

Tutorials
Now is the time to download and read all ps2dev tutorials that you can find, i.e.
Dreamtime's PS2DEV tutorial at http://ps2dev.livemedia.com.au/kb/kb.asp?T=714
If you made it to this point, you probably won't have many problems after this! Next, you might want to setup your PS2 and Naplink, but you can also skip this part for now and start writing demos and little games for the emulator.
[em4]

82

主题

147

帖子

171

积分

注册会员

Rank: 2

积分
171
 楼主| 发表于 2003-10-2 01:23:00 | 显示全部楼层

Re: 关于PS2 游戏开发(开发指南,开发工具,仿真器) 下载

这里有仿真器下载
http://www.emucn.net/emu/soft/soft_7155.html [em5]

82

主题

147

帖子

171

积分

注册会员

Rank: 2

积分
171
 楼主| 发表于 2003-10-2 01:28:00 | 显示全部楼层

PS2 sample code

http://playstation2-linux.com/softwaremap/megatree.php?trove_cat_id=346&selected_trove=358

82

主题

147

帖子

171

积分

注册会员

Rank: 2

积分
171
 楼主| 发表于 2003-10-2 01:30:00 | 显示全部楼层

PS2 开发文档

http://playstation2-linux.com/softwaremap/megatree.php?trove_cat_id=346&selected_trove=356#ttop

82

主题

147

帖子

171

积分

注册会员

Rank: 2

积分
171
 楼主| 发表于 2003-10-2 01:34:00 | 显示全部楼层

PS2 Tutorials

http://ps2dev.org/kb/kb.asp?T=691
http://www.pcs.uklinux.net/id19.htm

82

主题

147

帖子

171

积分

注册会员

Rank: 2

积分
171
 楼主| 发表于 2003-10-2 01:52:00 | 显示全部楼层

纠正错误!

所有的链接,都可以
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2024-11-29 09:43

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表