问答文章1 问答文章501 问答文章1001 问答文章1501 问答文章2001 问答文章2501 问答文章3001 问答文章3501 问答文章4001 问答文章4501 问答文章5001 问答文章5501 问答文章6001 问答文章6501 问答文章7001 问答文章7501 问答文章8001 问答文章8501 问答文章9001 问答文章9501

怎样让红旗linux上完WINDOW游戏,就是wine具体怎么安装配置

发布网友 发布时间:2022-04-26 23:56

我来回答

1个回答

热心网友 时间:2022-05-18 16:47

你应该下载.rpm后缀的文件,.tga的需要你自己编译,已经下载的这个别要了,重新下载个.rpm的吧,有管理员权限的话双击就安装了。安装完先要对wine进行配置
正确安装完软件之后,最主要的事情就是配置wine.conf文件.大家主要配置的是指定盘符
和路径我的windows分区有四个,分别为c,d,e,f,所以我在linux的/mnt目录中建立了c,d,e
,f四个目录,这样对应windows中的四个盘。光驱为/mnt/cdrom目录,软驱为/mnt/floppy目
录。所以我的wine.conf配置文件如下:
[Drive A]
Path=/mnt/floppy
Type=floppy
Label=Floppy
Serial=87654321
Device=/dev/fd0

[Drive C]
Path=/mnt/c
Type=hd
Label=MS-DOS
Filesystem=win95

[Drive d]
Path=/mnt/d
Type=hd
Label=MS-DOS
Filesystem=win95

[Drive e]
Path=/mnt/e
Type=hd
Label=MS-DOS
Filesystem=win95

[Drive f]
Path=/mnt/f
Type=hd
Label=MS-DOS
Filesystem=win95

[Drive g]
Path=/mnt/cdrom
Type=cdrom
Label=CD-Rom
Filesystem=win95

[Drive h]
Path=/tmp
Type=hd
Label=Tmp Drive
Filesystem=win95

[Drive i]
Path=${HOME}
Type=network
Label=Home
Filesystem=win95

[wine]
Windows=c:\windows
System=c:\windows\system
Temp=h:\
Path=c:\windows;c:\windows\system;e:\;e:\test;f:\
SymbolTableFile=./wine.sym
其中[Drive h][Drive i]为wine.conf文件中的默认临时文件,只需改动盘符即可。
在wine.conf中需改动的地方还有:
[Tweak.Layout]
;; WineLook=xxx (supported styles are 'Win31'(default), 'Win95', 'Win98')
;WineLook=Win95
把WineLook=Win95前面的;号去掉即可。现在wine.conf的配置就大功告成了。现在给出我的
wine.conf文件的配置给大家参考:
;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; Path=xxx (Unix path for drive root)
;; Type=xxx (supported types are 'floppy', 'hd', 'cdrom' and 'network')
;; Label=xxx (drive label, at most 11 characters)
;; Serial=xxx (serial number, 8 characters hexadecimal number)
;; Filesystem=xxx (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'uni
x')
;; This is the FS Wine is supposed to emulate on a certain
;; directory structure.
;; Recommended:
;; - "win95" for ext2fs, VFAT and FAT32
;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;; DON'T use "unix" unless you intend to port programs using Winelib !
;; Device=/dev/xx (only if you want to allow raw device access)
;;
[Drive A]
Path=/mnt/floppy
Type=floppy
Label=Floppy
Serial=87654321
Device=/dev/fd0

[Drive C]
Path=/mnt/c
Type=hd
Label=MS-DOS
Filesystem=win95

[Drive d]
Path=/mnt/d
Type=hd
Label=MS-DOS
Filesystem=win95

[Drive e]
Path=/mnt/e
Type=hd
Label=MS-DOS
Filesystem=win95

[Drive f]
Path=/mnt/f
Type=hd
Label=MS-DOS
Filesystem=win95

[Drive g]
Path=/mnt/cdrom
Type=cdrom
Label=CD-Rom
Filesystem=win95

[Drive h]
Path=/tmp
Type=hd
Label=Tmp Drive
Filesystem=win95

[Drive i]
Path=${HOME}
Type=network
Label=Home
Filesystem=win95

[wine]
Windows=c:\windows
System=c:\windows\system
Temp=h:\
Path=c:\windows;c:\windows\system;e:\;e:\test;f:\
SymbolTableFile=./wine.sym

# <wineconf>

[DllDefaults]
EXTRA_LD_LIBRARY_PATH=${HOME}/wine/cvs/lib
DefaultLoadOrder = native, elfdll, so, builtin

[DllPairs]
krnl386 = kernel32
gdi = gdi32
user = user32
commdlg = comdlg32
commctrl= comctl32
ver = version
shell = shell32
lzexpand= lz32
mmsystem= winmm
msvideo = msvfw32
winsock = wsock32

[DllOverrides]
kernel32, gdi32, user32 = builtin
krnl386, gdi, user = builtin
toolhelp = builtin
comdlg32, commdlg = elfdll, builtin, native
version, ver = elfdll, builtin, native
shell32, shell = builtin, native
lz32, lzexpand = builtin, native
commctrl, comctl32 = builtin, native
wsock32, winsock = builtin
advapi32, crtdll, ntdll = builtin, native
mpr, winspool.drv = builtin, native
ddraw, dinput, dsound = builtin, native
winmm, mmsystem = builtin
msvideo, msvfw32 = builtin, native
mcicda.drv, mciseq.drv = builtin, native
mciwave.drv = builtin, native
mciavi.drv, mcianim.drv = native, builtin
msacm.drv, midimap.drv = builtin, native
w32skrnl = builtin
wnaspi32, wow32 = builtin
system, display, wprocs = builtin
wineps = builtin
icmp = builtin

[options]
AllocSystemColors=100

[fonts]
;Read documentation/fonts before adding aliases
Resolution = 96
Default = -adobe-times-

[serialports]
Com1=/dev/ttyS0
Com2=/dev/ttyS1
Com3=/dev/modem,38400
Com4=/dev/modem

[parallelports]
Lpt1=/dev/lp0

[spooler]
LPT1:=|lpr
LPT2:=|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -
LPT3:=/dev/lp3

[ports]
;read=0x779,0x379,0x280-0x2a0
;write=0x779,0x379,0x280-0x2a0

[spy]
Exclude=WM_SIZE;WM_TIMER;

[registry]
; Paths must be given in /dir/dir/file.reg format.
; Wine will not understand dos file names here...

; alternate registry file name: HKCU
AltCurrentUserFile=
; alternate registry file name: HKU
AltUserFile=
; alternate registry file name: HKLM
AltLocalMachineFile=
;These are all booleans. Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home and Alt
;Note: it is pointless to specify alt files and neither load nor write to them.
; Global registries (stored in /etc)
LoadGlobalRegistryFiles=Y
; Home registries (stored in ~user/.wine/)
LoadHomeRegistryFiles=Y
; Windows registries in windows path, above
LoadWindowsRegistryFiles=Y
; Load above registries.
LoadAltRegistryFiles=Y
; TRY to write all changes to home registries
WritetoHomeRegistryFiles=Y
; TRY to write all changes to alt registries
WritetoAltRegistryFiles=Y

[Tweak.Layout]
;; WineLook=xxx (supported styles are 'Win31'(default), 'Win95', 'Win98')
WineLook=Win95

[programs]
Default=
Startup=

[Console]
;XtermProg=nxterm
;InitialRows=25
;InitialColumns=80
;TerminalType=nxterm

[Clipboard]
ClearAllSelections=0
PersistentSelection=1

# </wineconf>

我的星际争霸装在E盘的blood目录中,C盘为windows 系统盘,分别把c,e盘mount到/mnt
/c 和/mnt/e中。星际争霸是一个256色的游戏,所以下一步是重新设定显示器的分辨率为64
0*480*8bit,8bit为256色。重新进X-WINDOWS,
如果是rpm格式文件可以直接在windows终端下执行:wine /mnt/e/blood/starcraft.exe 硬
盘一阵狂响之后就可以见到熟悉的星际争霸画面了,就可以HAPPY了!!
声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com
李卓彬工作简历 林少明工作简历 广东工业职业技术学院怎么样 郑德涛任职简历 唐新桂个人简历 土地入股的定义 ups快递客服电话24小时 贷款记录在征信保留几年? 安徽徽商城有限公司公司简介 安徽省徽商集团新能源股份有限公司基本情况 天津市红桥区都有哪些主要小区? VMWare ESX Server对硬件的要求有哪些,是不是普通PC和普通服务器都可以装吗? 天津河东区小区名字问题:河东有条街上面“天津音乐街”请问那个小区是叫丰盈园,还是叫丰盛园? 给个穆大叔的资料? 用VMware做集群虚拟化时,ESX虚拟机对硬件有什么样的要求? 都说少女时代做了很多不好的事,这是真的吗? 帮忙查天津市南开区所有小区,及小区物业电话 笔记本电脑要求配置:独立显卡、内存大、价位4-5千内。品牌好。 内存大、稳定性好、显卡好的笔记本电脑有哪些 esxi 虚拟机性能问题? 天津市芥园道先春园附近都有什么居住区?环境怎样? 安装vmware esxi 5.5 需要什么样配置的机器 五星红旗有什么意义? 明华里怎么样?好不好?值不值得买? 介绍款内存大,cpu好,带独立显卡,散热功能好,性能强,不卡,的笔记本电脑。价格7000以内 本人想买台笔记本电脑,配置要好点,内存与显卡要大些,5000左右,请各位高人推荐几款 推荐一款显卡好的笔记本电脑 内存大性价比高的笔记本电脑 耳朵里面掏出来很大一块黑色 学设计的需要内存大、运算快请问那种笔记本电脑好? 请大侠推荐一下笔记本电脑6000-8000元之间配置,特别是显卡和内存较好的,多谢 安装vmware esxi 5.5需要什么操作系统 夜场dj自我介绍。。。??? vmware esxi是什么? 有谁知道红桥区住房公积金管理中心的详细地址?谢谢! 红旗飘飘军号响的歌词 VMware vSphere Hypervisor 硬件要求 天津市浩达物业管理有限公司怎么样? 我的世界亡灵生物有哪些 vmware esxi 5.5怎样配置客户机 “少女时代”曾经骂过中国人吗? 去英国读金融管理专业怎么样?? 我安装vmware esxi 5.0 的时候,也提示网卡不支持,是不是驱动一下或者怎么弄下就可以安装成功? 英国金融专业回来就业怎么样? vmware esxi 最多 怎么 32 核心 想去英国留学,选择什么专业更有利于就业呢? 学习Vsphere 需要一个什么样的硬件平台? vmware esxi 安装到硬盘后,拿这个硬盘到其它机器上安装,是否可以正常运行,两台机器的硬件配置都不同。 VMware ESXi一定要支持虚拟化的硬件才可以应用么? 请问如何在VMware Workstation 中安装Vmware ESXi,宿主机是ThinkPad R61,Windows XP Pro系统?