解决 win7 下 allegro 16.3 stroke editor 不能使用

[复制链接]
查看5134 | 回复1 | 2012-5-3 20:28:25 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区

您需要 登录 才可以下载或查看,没有账号?立即注册

×
*解决 win7 下 allegro 16.3 stroke editor 不能使用

a、查看HOME变量的值
我的电脑右键 > 更改设置 > 高级 > ??用户的变量 > HOME变量 > 值(例如:D:\SPB_Data)
b、把《allegro.strokes》和《allegro.ilinit》文件放在HOME变量的值的路径下的pcbenv文件夹中(例如:D:\SPB_Data\pcbenv)
c、导入.strokes 文件
Tool > Utilities > Stroke Editor > open 导入D:\SPB_Data\pcbenv中的.strokes 文件:
d、设置SETUP > User Preferences... > UI > input > 勾选no_drapopup这项就可以了.

《allegro.ilinit》文件内容为:(下面红字部分为Allegro16.3比16.2增添的内容)
;
  ; This example file shows how to load Skill files (those with the
  ; extension ".il" in the current directory.
  ; To use copy to allegro.ilinit if to be used by all Allegro based programs
  ; or .ilinit if intended for only one program
  ;
  ; Setting Allegro environment variable, LoadSkillFilesDebug will turn
  ; on printing the name of each file as it is loaded.
  unless(boundp('LoadSkillFilesDebug)
  LoadSkillFilesDebug = axlGetVariable("LoadSkillFilesDebug"))
  when(LoadSkillFilesDebug printf("\n"))
  (foreach file (rexMatchList "\\.il$" (getDirFiles "."))
  when(LoadSkillFilesDebug printf("Loading Skill file: %s\n" file))
  (load strcat("./" file))
  )
  ; Load any ini files (containing axlCmdRegister)
  (foreach file (rexMatchList "\\.ini$" (getDirFiles "."))
  when(LoadSkillFilesDebug printf("Loading Skill file: %s\n" file))
  (load strcat("./" file))
  )
  when(LoadSkillFilesDebug printf("\n"))
   procedure(stroke_fix_163(t_open)

  axlShell("strokefile allegro")
  axlMsgPut("Strokes now enabled in Allegro 16.3 base release") )
  axlTriggerSet('open 'stroke_fix_163)
回复

使用道具 举报

ww645133040 | 2021-8-8 09:03:50 | 显示全部楼层
回复

使用道具 举报

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

本版积分规则