游戏开发论坛

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

[讨论] ps2(仿真器,开发工具,开发指南)资源下载

[复制链接]

82

主题

147

帖子

171

积分

注册会员

Rank: 2

积分
171
发表于 2003-10-2 01:17: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]

14

主题

61

帖子

61

积分

注册会员

Rank: 2

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

Re:ps2(仿真器,开发工具,开发指南)资源下载

这个PS2开发工具不是官方的!!是一些外国游戏狂人自己做的!!!!!!
你英文厉害的话 可以看看!!
我可以访问他的网站!不需要代理!!哈哈~~~~~~~~~~~~~

25

主题

234

帖子

262

积分

中级会员

Rank: 3Rank: 3

积分
262
发表于 2003-10-10 10:22:00 | 显示全部楼层

Re:ps2(仿真器,开发工具,开发指南)资源下载

我第一个地址可以访问,第二个访问不了,上面写的部份工具我下载下来了,

2

主题

62

帖子

64

积分

注册会员

Rank: 2

积分
64
发表于 2003-10-14 16:22:00 | 显示全部楼层

Re:ps2(仿真器,开发工具,开发指南)资源下载

我也是第一个可以访问,第二个不行。但是咱的的英文不太好。

0

主题

1

帖子

0

积分

新手上路

Rank: 1

积分
0
发表于 2007-3-7 09:57:00 | 显示全部楼层

PS2开发工具说明和参考

●   其实 PS2 开发环境本身只是一套编译器而已,编译工具本身也提供源码编译自身(使用类UNIX系统进行编译),上面提到的那个老外,是利用 Cygwin 提供一个 类UNIX (或叫 UNIX LIKE)的编译环境,把那个编译工具(好像是叫EE的)从源码开始,直到编译好生成一个可用的开发环境而已。
●   在 Windows 上编译生成可以在 PS2 上运行的 .ELF 文件的过程,有个专业术语叫做交叉编译 (我记得是从 bbs.a9vg.com 上学来的,大家可参考上面很多相关文章)。
●   如果大家不想自己从来开始来编译,这里也有一个地址是已经编译好的打包,
  "http://www.npc6.com/softdown/list.asp?id=228"   (√下载后解压记得要输入密码:www.npc6.com )
(或 "http://www.npc6.com/softdown/soft/res/ps2DevEnvironment.rar" )
●   另外,PS2 的运行环境也是 UNIX Like 的系统,所以建议大家还是在 Cygwin 里面编译可能会好一些(听说也有部分人选择在Linux下生成 .ELF 文件);当然,如果说要阅读和编辑源码,我建议使用 SourceInsight 来用比较好一点。据说在 "华为" 里面编辑源程序都建议使用该编辑工具(少数人只用Vi,汗!)。
`

20

主题

182

帖子

182

积分

注册会员

Rank: 2

积分
182
发表于 2007-3-7 10:10:00 | 显示全部楼层

Re:ps2(仿真器,开发工具,开发指南)资源下载

一些PS2等单机游戏开发商也用这工具不?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-7-9 15:58

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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