Files
audiogame-manager/.install/Dreamland.sh
Hunter Jozwiak 064c77eb9d Add Dreamland support
- Install vcrun2019 and d3dcompiler_47 dependencies for Unity 2021.3
- Clean up malformed {app}\ paths created by innoextract
- Create music directory with readme files for custom music support
- NVDA DLL replacement handled automatically by update_nvda_dlls()
- Game works with default wine start launcher

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 15:12:45 -04:00

151 lines
4.6 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export winVer="win10"
export WINEARCH=win32
export WINEPREFIX="$HOME/.local/wine32"
download https://scwl-1251129685.cos.ap-shanghai.myqcloud.com/dreamland/Win/DreamLandSetup.exe
install_wine_bottle
winetricks -q vcrun2019 d3dcompiler_47
install_with_progress innoextract "Extracting game files..." --output-dir "$WINEPREFIX/drive_c/Program Files/DreamLand" "${cache}/DreamLandSetup.exe"
# Clean up malformed paths with literal {app}\ in filenames created by innoextract
find "$WINEPREFIX/drive_c/Program Files/DreamLand" -name '{app}\*' -type f -delete 2>/dev/null || true
# Create music directory with readme files for custom music support (in game root, not app subdir)
mkdir -p "$WINEPREFIX/drive_c/Program Files/DreamLand/music"
cat > "$WINEPREFIX/drive_c/Program Files/DreamLand/music/readme.txt" << 'EOF'
Placing background music files in this directory can replace some background music played in the game. It supports WAV and OGG formats, and it is recommended to use WAV format for smoother playback.
login = Login interface
fight1 = Fighting state 1
fight2 = Fighting state 2
fight3 = Fighting state 3
linan = Lin'an City
longzangguyuan = Longcang Ancient Plain
xuanjingbingyuan = Xuanjing Ice Field
changjiangshuidao = Yangtze River Waterway
shenxiaotiangong = Shenxiao Heavenly Palace
hemingshan = Heming Mountain
chamagudao = Tea-horse Ancient Passage
dajianlu = Dajianlu
diexueshahai = Bloody Desert
guilinbashu = Bagui Forest
hanquan = Chilly Spring
sizhouyuan = Sizhou Temple
minhai = Min Sea
xueyugaoyuan = Snowy plateau
caiji = Collecting on Snowy plateau
legend = Dreamland Legend
douzhanjing = DouZhanJing
shengsijing = Alive-Dead Land
zhenwuhuanjing = Zhenwu Fairyland
juezhanzhigu = Valley of Decisive battle
wuzhezhidian = The end of martial
shanshuozhiyuan = Shining Abyss
fenzhengshengtan = Altar of Dispute
zhanzhengyaosai = War fortress
luorihuaguang = Sunset Valley - Light
luorianying = Sunset Valley - Shadow
luorihedao = Sunset Valley - River course
luorirongyan = Sunset Valley - Lava Behemoth
luorianmie = Sunset Valley - Dim ancient dragon
taoshadao = Washing Island
taoshadaow = Washing Island - Flood
bangpai = Gang
bangzhan = Gang War
huabingchang = Skating Rink
kuafudating = Cross Server Hall
shilianzhidi = Trial Land
lunhuizhidi = Land of Samsara
suoyaota = Demon Tower
taixuhuanjing = TaiXu HuanJing
yizuchaoxue = Ant Hole
guijingbingtan = Ghost Land
taohuadao = Peach Blossom Island
gaoshanliushui = High Mountain - Flowing Water
beidilangyan = BeiDiLangYan
quanzhenlundao = QuanZhenLunDao
haishangxianke = Sea Guest
wujiya = WuJiYa
ruoshuiyu = RuoShuiYu
ditaifu = DiTaiFu
qiseta = Seven Color Tower
huanlingzhen = Calling Array
shamomigong = Desert Maze
jingchanyuan = JingChanYuan
guajingmiyuan = Divination Mirror
lingyunhuanjing = LingYun Fairyland
chaoyindong = Chaoyin Cave
shengxiaoshiergong = Twelve Palaces of Zodiac
guanxingtai = Star Watching Platform
fushendian = FuShen Hall
EOF
cat > "$WINEPREFIX/drive_c/Program Files/DreamLand/music/说明.txt" << 'EOF'
在此目录下放入背景音乐文件可替换游戏中播放的游戏背景音乐支持wav和ogg格式建议使用wav格式播放更加流畅
login=登录
fight1=战斗1
fight2=战斗2
fight3=战斗3
linan=临安城
longzangguyuan=龙藏古原
xuanjingbingyuan=玄镜冰原
changjiangshuidao=长江水道
shenxiaotiangong=神霄天宫
hemingshan=鹤鸣山
chamagudao=茶马古道
dajianlu=打箭炉
diexueshahai=喋血沙海
guilinbashu=桂林八树
hanquan=寒泉
sizhouyuan=泗州院
minhai=闽海
xueyugaoyuan=雪域高原
caiji=雪域高原自动采集
legend=迷梦传说
douzhanjing=斗战境
shengsijing=生死境
zhenwuhuanjing=真武幻境
juezhanzhigu=决战之谷
wuzhezhidian=武者之巅
shanshuozhiyuan=闪烁之渊
fenzhengshengtan=纷争圣坛
zhanzhengyaosai=战争要塞
luorihuaguang=落日谷华光
luorianying=落日谷暗影
luorihedao=落日谷河道
luorirongyan=落日谷熔岩巨兽
luorianmie=落日谷黯灭古龙
taoshadao=淘沙岛
taoshadaow=淘沙岛水域
bangpai=帮派
bangzhan=帮派战
huabingchang=滑冰场
kuafudating=跨服大厅
shilianzhidi=试炼之地
lunhuizhidi=轮回之地
suoyaota=锁妖塔
taixuhuanjing=太虚幻境
yizuchaoxue=蚁族巢穴
guijingbingtan=鬼境冰潭
taohuadao=桃花岛
gaoshanliushui=高山流水
beidilangyan=北地狼烟
quanzhenlundao=全真论道
haishangxianke=海上仙客
wujiya=无稽崖
ruoshuiyu=弱水域
ditaifu=帝台府
qiseta=七色塔
huanlingzhen=唤灵阵
shamomigong=沙漠迷宫
jingchanyuan=净禅院
guajingmiyuan=卦镜迷渊
lingyunhuanjing=凌云幻境
chaoyindong=潮音洞
shengxiaoshiergong=生肖十二宫
guanxingtai=观星台
fushendian=缚神殿
EOF
add_launcher "c:\Program Files\DreamLand\app\DreamLand.exe"