Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3 from 2938137849/人物介绍修改
Browse files Browse the repository at this point in the history
人物介绍修改
  • Loading branch information
bin-tenkuu authored Feb 5, 2019
2 parents 98f2bed + 59ce3c3 commit bb9fc7b
Show file tree
Hide file tree
Showing 141 changed files with 39 additions and 54 deletions.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/act_chi.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/act_kan.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/act_pon.MP3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/act_rich.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/act_ron.mp3
Binary file not shown.
Binary file added files/0/v0.4.1.w/audio/sound/yiji/fan_duanyao.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/fan_lingshang.mp3
Binary file not shown.
Binary file added files/0/v0.4.1.w/audio/sound/yiji/fan_pinghu.mp3
Binary file not shown.
Binary file added files/0/v0.4.1.w/audio/sound/yiji/fan_sianke.mp3
Binary file not shown.
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/gameend_tiaoman.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_gift.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_gift_favor.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_levelmax.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_levelup1.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_levelup2.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_levelup3.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_normal1.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_normal2.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_normal3.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_normal4.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_normal5.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_normalmax1.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_normalmax2.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_normalmax3.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_playerlogin.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_playerlogin_max.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/audio/sound/yiji/lobby_selfintro.mp3
Binary file not shown.
Binary file modified files/0/v0.4.1.w/extendRes/charactor/yiji/bighead.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified files/0/v0.4.1.w/extendRes/charactor/yiji/smallhead.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified files/0/v0.4.1.w/extendRes/charactor/yiji_0/smallhead.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed files/0/v0.4.1.w/extendRes/emo/e200002/0.png
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/emo/e200002/1.png
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/emo/e200002/2.png
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/emo/e200002/3.png
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/emo/e200002/4.png
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/emo/e200002/5.png
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/emo/e200002/6.png
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/emo/e200002/7.png
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/emo/e200002/8.png
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/art2.jpg
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/biscuit2.jpg
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/console1.jpg
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/coupon.jpg
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/coupon_0.png
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/diamond2.jpg
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/dress1.jpg
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/dress2.jpg
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/fudai_guiren.jpg
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/fudai_xianren.jpg
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/gold0.png
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/gold1.png
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/jade_bright.jpg
Binary file not shown.
Binary file removed files/0/v0.4.1.w/extendRes/items/jade_hope.jpg
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/items/jade_knowledge.jpg
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/items/jade_pure.jpg
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/items/jade_tender.jpg
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/items/jade_will.jpg
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/items/stardust.jpg
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/items/stardust_0.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/items/starstone.jpg
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/items/starstone_0.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/items/toy2.jpg
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/items/wishstone.jpg
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/items/wishstone_0.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/level/fish.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/level/huntian.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/level/quehao.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/level/quejie.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/level/quesheng.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/level/queshi.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/extendRes/title/notitle.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/myres/star_up/bang_heart.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/myres/star_up/bg.jpg
Diff not rendered.
Binary file removed files/0/v0.4.1.w/myres/star_up/levelup.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/res/atlas/myres/lobby.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/res/atlas/myres/mjdesktop.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed files/0/v0.4.1.w/res/atlas/tanfang.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/res/atlas/tanfang1.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/res/atlas/tanfang2.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/res/atlas/tanfang3.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/res/atlas/tanfang4.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/res/atlas/tanfang5.png
Diff not rendered.
Binary file removed files/0/v0.4.1.w/res/atlas/tanfang6.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed files/0/v0.4.191.w/res/atlas/myres/mjdesktop2.png
Diff not rendered.
1 change: 0 additions & 1 deletion files/0/v0.4.244.w/d3_prefab.json

This file was deleted.

Diff not rendered.
Binary file removed files/0/v0.4.244.w/shader/outline/outline.ps
Binary file not shown.
Binary file modified preview.png
92 changes: 39 additions & 53 deletions script.js
Original file line number Diff line number Diff line change
@@ -1,70 +1,41 @@
// Hack 开启报番型,作者 aoarashi1988,Handle修改
// 修改一姬语音台词以及人物简介
if (game) {
game.Tools.get_chara_audio = function(e, t) {
if (t && '' != t) {
var charid = e.charid,
chara = cfg.item_definition.character.get(charid)
if (!chara) return null
for (
var a = 6, r = cfg.voice.sound.findGroup(chara.sound), o = [], s = 0;
s < r.length;
s++
)
r[s].type == t && r[s].level_limit <= a && o.push(s)
if (0 == o.length) return null
var h = o[Math.floor(Math.random() * o.length)]
return {
path: r[h].path,
volume: chara.sound_volume,
time_length: r[h].time_length
}
}
}
view.AudioMgr.PlayCharactorSound = function(e, t, i) {
var n = e.charid,
a = cfg.item_definition.character.get(n)
if (!a) return null
for (
var r = /* e.level */ 6,
o = cfg.voice.sound.findGroup(a.sound),
s = [],
h = 0;
h < o.length;
h++
)
o[h].type == t && o[h].level_limit <= r && s.push(h)
if (0 == s.length) return null
var l = s[Math.floor(Math.random() * s.length)]
return {
words: o[l].words,
sound: this.PlaySound(o[l].path, a.sound_volume, i)
}
}

requestAnimationFrame(function autoRun() {
try {
const arrBackup = cfg.voice.sound.groups_
if (!arrBackup || arrBackup.length === 0) {
throw new Error()
}
console.log('Hacked所有语音')
console.log('Hacked语音')
Object.entries(cfg.voice.sound.groups_).forEach(([soundID, soundGroup]) => {
if (soundID == 1) {
const changeMap = {
: {
words: '弃哒'
},
: {
words: '康!'
},
: {
words: '婆nya!'
},
获得语音: {
words: '你好,我很可爱~'
},
登录语音普通: {
words: '你好,我很可爱.'
words: '你好,我很可爱~'
},
登录语音满羁绊: {
words: '你好,我很可爱.'
words: '你好,我很可爱~'
},
大厅交互语音1: {
words: '你好,我很可爱.'
words: '你好,我很可爱~'
},
大厅交互语音2: {
words: '早上好'
},
大厅交互语音3: {
words: '你好,我很可爱.'
words: '你好,我很可爱~'
},
大厅交互语音4: {
words: 'money~~money~~money~~'
Expand All @@ -86,22 +57,37 @@ if (game) {
},
送礼物语音喜好: {
words: '请给我钱'
},
好感度升级语音1: {
words: '喂,你对我有什么意见吗,有的话就快说啊!'
},
好感度升级语音2: {
words: '喂,你对我有什么意见吗,有的话就快说啊!'
},
好感度升级语音3: {
words: '喂,你对我有什么意见吗,有的话就快说啊!'
},
好感度升级语音4: {
words: '喂,你对我有什么意见吗,有的话就快说啊!'
}
}
const keyArray = Object.keys(changeMap)
soundGroup.forEach((soundObject, index) => {
soundObject.level_limit = 0
if (keyArray.includes(soundObject.name)) {
soundGroup[index] = {
...soundObject,
...changeMap[soundObject.name]
}
}
})
}
})
} catch (error) {
raf = requestAnimationFrame(autoRun)
}
}
})
//console.log('Hacked简介暂时未完成')
//这个就是改不了
//cfg.item_definition.character.map_[200001].desc = '出现在paryi project的最初的VTB其中一人,现任异常的懒,虽然是杂鱼体力,但很坚定的声称自己是女仆。对于她而言,没有什么事情比摸鱼和上厕所更为重要。'
//cfg.item_definition.character.map_[200001].name = '神楽めあ'
} catch (error) {
raf = requestAnimationFrame(autoRun)
}
})
}

0 comments on commit bb9fc7b

Please sign in to comment.