A9VG电玩部落论坛

 找回密码
 注册
搜索
查看: 9130|回复: 17

[求助] [求助]PS3 pkg文件如何打包?

[复制链接]

精华
0
帖子
347
威望
0 点
积分
576 点
种子
5 点
注册时间
2010-5-9
最后登录
2019-7-21
 楼主| 发表于 2010-10-31 17:03  ·  上海 | 显示全部楼层 |阅读模式
PKG文件打包说需要安装MSYS,这个已经装好了,但是说要添加系统变量,那个不会啊,本来搜到一个带教程的,结果给115***掉了。。。 .

精华
0
帖子
347
威望
0 点
积分
576 点
种子
5 点
注册时间
2010-5-9
最后登录
2019-7-21
 楼主| 发表于 2010-10-31 17:03  ·  上海 | 显示全部楼层
是把文件打包成pkg,不是解包pkg

精华
0
帖子
1699
威望
0 点
积分
1730 点
种子
5 点
注册时间
2008-2-12
最后登录
2021-5-14
发表于 2010-10-31 17:06  ·  广东 | 显示全部楼层
msys的安装目录下有英文的安装说明 你稍微复制粘贴到谷歌翻译一下 能看得懂大概的 自己动手丰衣足食

精华
0
帖子
347
威望
0 点
积分
576 点
种子
5 点
注册时间
2010-5-9
最后登录
2019-7-21
 楼主| 发表于 2010-10-31 17:10  ·  上海 | 显示全部楼层
话说,添加系统变量路径是另外一个程序提示的,就是ps3gtb这个软件(还有一些类似的软件)
这个并不是MSYS本身提示的
你说的自己动手丰衣足食,我觉得已经超过一般范畴了,要打命令的说,你会的话就教我一下了

精华
0
帖子
812
威望
0 点
积分
820 点
种子
0 点
注册时间
2007-1-29
最后登录
2014-12-15
发表于 2010-10-31 17:14  ·  香港 | 显示全部楼层

精华
0
帖子
347
威望
0 点
积分
576 点
种子
5 点
注册时间
2010-5-9
最后登录
2019-7-21
 楼主| 发表于 2010-10-31 17:15  ·  上海 | 显示全部楼层
谢4楼,但是我就是看的这个
里面的那个MSYS还挂了的

精华
0
帖子
1699
威望
0 点
积分
1730 点
种子
5 点
注册时间
2008-2-12
最后登录
2021-5-14
发表于 2010-10-31 17:21  ·  广东 | 显示全部楼层
下面是引用babykane于2010-10-31 17:10发表的:
话说,添加系统变量路径是另外一个程序提示的,就是ps3gtb这个软件(还有一些类似的软件)
这个并不是MSYS本身提示的
你说的自己动手丰衣足食,我觉得已经超过一般范畴了,要打命令的说,你会的话就教我一下了


我不记得我的mysy放哪里了 你英文有基础的话 应该看得懂里边的东西的~~~ 配置不难 就看你愿不愿意看~

精华
0
帖子
61
威望
0 点
积分
66 点
种子
0 点
注册时间
2009-11-27
最后登录
2012-6-28
发表于 2010-10-31 17:22  ·  北京 | 显示全部楼层
make_package_npdrm

精华
0
帖子
347
威望
0 点
积分
576 点
种子
5 点
注册时间
2010-5-9
最后登录
2019-7-21
 楼主| 发表于 2010-10-31 17:26  ·  上海 | 显示全部楼层
我有英文基础,可是我没程序命令基础啊,而且专业名词和英语好坏没有关系
File:    README
Copyright (C):    2001, 2002, 2006
  Earnie Boyd  
Distribution:    See MSYS_LICENSE
MSYS Revision:    1.0.11

Preface:
Ok, you have installed msys and now you're reading this to understand how to get started.  However, I must first explain some important facts about Msys.  Msys file system bindings (mounts) are automatic and happens as described in table 1.  These automatic file system bindings are not changable by the user.  User defined file system bindings can be created by specifying them in the /etc/fstab directory as explained in table 2.

TABLE 1 - Automatic file system maps:
+ ---------------------------------------------------------------------------- +
| The automatic mounts are relative to where the msys-1.0.dll (DLL) is located |
| such that the following is true:                              |
|                                                    |
| / - is the parent directory of the directory containing the DLL          |
| /usr - the parent directory of the directory containing the DLL          |
| /tmp - the value of the TMP environment variable                    |
| /c - C:                                              |
| /d - D:                                              |
| . . .                                                |
| /z - Z:                                              |
|                                                    |
+ ---------------------------------------------------------------------------- +

TABLE 2 - /etc/fstab layout:
+ ---------------------------------------------------------------------------- +
| The record format for the /etc/fstab is current a simple one.  I need to    |
| work on the syntax parsing more so that things like embedded spaces work.   |
| If you wish to map a path with spaces you must use the DOS style name.     |
|                                                    |
| The record format is as follows:                              |
| d:/some/foo/path /bar                                      |
|                                                    |
| As you can see this is simply the Win32 path mapped to a mount point.  It is |
| unix practice to have the /bar created as an empty directory before it can  |
| mount the mount point.  Msys doesn't force this but it will be to advantage  |
| if you do.  Some programs, e.g. find, and some operations, e.g. tab       |
| operate better if the physical directory is present for those mount points.  |
|                                                    |
| If you create a /etc/fstab record that maps to an automatic mount point Msys |
| will remove it when it adds the automatic point.  This means that at some   |
| small moment in time your mount point actually exists.  However it doesn't  |
| exist long enough to be of any use to you.                        |
|                                                    |
+ ---------------------------------------------------------------------------- +

For any executable not dependent on msys-1.0.dll, MSYS will convert POSIX paths that are used as arguments to Win32 paths.  (Prior to MSYS version 1.0.11, an executable was determined to be msys-1.0.dll if it resided in /bin or /usr/bin directories.)  This means that you now have a POSIX environment that will automagically do the right thing w.r.t. changing the paths passed as arguments.  Arguments beginning with a // are considered to be Win32 style switches and will be passed to the program with // converted to / to allow for the command.com/cmd.exe (Win32) style switch.  An example of a Win32 style switch is `write //p /mydocs/msys-rocks.'  In this example write (a.k.a. WordPad) exists in the c:winntsystem32 path on my system.  The //p becomes /p which tells write to print the document.  And mydocs/msys-rocks converts to c:msys1.0mydocsmsys-rocks so that write can find it.  


STARTING Msys:
Starting Msys should just be a matter of clicking on the MSYS icon on your desktop or Start menu.  If you have the File Manager window open, you may now click on it and have it start also.  Doing these presents you with a console window within which you may enter commands.

Working with MinGW:
If you already have MinGW installed then simply bind the path to MinGW to the /mingw mount point in the /etc/fstab as described above.  If you don't have MinGW installed already then simply unarchive the MinGW tar.gz file in the /mingw directory.  With versions of MSYS prior to 1.0.11, DO NOT unarchive the MinGW tar.gz file in the / directory.  I find it advantageous to now put MinGW and MSYS binaries in the same /bin directory.  It provides one less confusion with where to install your products.

Working with other products:
I find that the easiest thing for working with other products, such as Microsoft Office, is to create a script pointing to the executable.  An example of a script for Microsoft Word on my system looks like the example in Table 3.  I have this stored in my /usr/local/bin directory with a filename of word.  Now all I need to do to edit a word document is `word /mydoc/proposal.doc' and voila up pops a Microsoft Word window with my document in it.

Table 3 - Script to execute MS Word from the command line:
+ ---------------------------------------------------------------------------- +
+ #!/bin/sh                                              +
+ start '/c/Program Files/Microsoft Office/Office/WINWORD' "$@"           +
+ ---------------------------------------------------------------------------- +

This is also advantageous if you find that your program isn’t working with RXVT correctly.  RXVT uses PTY emulation and it is often the case that controlling the stdio of a native program isn’t functional.  There is no known cure for this PTY issue and I have stopped looking for one.  The above script method is the way you start the processes that don’t flush their buffers or cause I/O blocking on the standard I/O channels.

Other documentation:
Be sure to read the MSYS_ series.  I have tried to document how I'm changing the cygwin code to allow us to use it with MSYS.  These can be found in the /doc/msys directory, or you can find them in the /usr/doc/msys directory.  You will also find HOWTO documentation at http://www.mingw.org/wiki/MinGWiki/ so please read it.

Using binaries with different runtimes:
You can't use Cygwin binaries at all and if you try you'll most likely just cause the processes to "hang".  You can use Win32 native binaries but you should put them into the /mingw/bin or your /usr/local/bin directory tree.  If you wish to replace an MSYS binary with a native win32 version then delete or rename the /bin version.


Effective use of the clipboard:
You may use the clipboard with MSYS.  When using rxvt as the terminal, just selecting with data with click and drag of the mouse, copies the data to the clipboard.  To paste the clipboard data in the rxvt terminal you can Shift and Left Click or press both mouse buttons if 3 button mouse emulation is on or press the mouse wheel.  To copy the highlighted data to your favorite windows email client the you use the paste options for that program, typically Ctrl-V.  You can also use interesting bash shell commands such as `cat /dev/clipboard > /tmp/foo' or `less -f /dev/clipboard'.  Data entered into the clipboard by non-MSYS programs can also be used by MSYS programs and vice versa.

Bug Reports:
See http://www.mingw.org/bugs.shtml

User Posts:
MinGW-msys@lists.sf.net

Disclaimer:
Products mentioned in this and other documents are solely owned by their trademark owners.  We claim no rights to those trademarks and any mention of those products are for example only.  Your uses of those products are your responsibility and no endorsement of any mentioned product is being given.

我用WORD文档查找variable
TABLE 1 - Automatic file system maps:
+ ---------------------------------------------------------------------------- +
| The automatic mounts are relative to where the msys-1.0.dll (DLL) is located |
| such that the following is true:                              |
|                                                    |
| / - is the parent directory of the directory containing the DLL          |
| /usr - the parent directory of the directory containing the DLL          |
| /tmp - the value of the TMP environment variable                    |
| /c - C:                                              |
| /d - D:                                              |
| . . .                                                |
| /z - Z:                                              |
|                                                    |

就找到这个东西,和配置有啥关系呢?path路径的范例都没有

精华
0
帖子
1699
威望
0 点
积分
1730 点
种子
5 点
注册时间
2008-2-12
最后登录
2021-5-14
发表于 2010-10-31 17:36  ·  广东 | 显示全部楼层
知道你的意思了 截了个图 自己谷歌系统变量添加之类的相关词吧 不想什么都帮完 授之以鱼不如授之以渔




您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|A9VG电玩部落 川公网安备 51019002005286号

GMT+8, 2024-11-30 14:51 , Processed in 0.192448 second(s), 13 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

返回顶部