Skip to content

Commit

Permalink
Version 1.3.2
Browse files Browse the repository at this point in the history
New Features:
- support dynamic texture compression(ETC2/PVRTC/lz4/lz4+tlg5/ASTC?)
- support loading graphic format .pvr
- support unicode font name
- render manager texture data passthrough
- XP3 repacker (in progress)
- custom skin support (in progress)
- file manage menu(in progress)
- guide user to patch lib

Refactor:
- using TVP_stat for file info fetch
- TVPDeleteFile/TVPRenameFile using narrow string to pass filename

Bug fix:
- video closed but picture leave in some case
- crash in async graphic loading
- sound mute on deactive but never resume
- filename is full-path when file selector dialog showed
- colorize error when using OpenGL renderer
  • Loading branch information
ZeaS committed Mar 27, 2017
1 parent d4b3792 commit 2081dc0
Show file tree
Hide file tree
Showing 81 changed files with 9,295 additions and 498 deletions.
20 changes: 19 additions & 1 deletion cocos/kr2/Resources/res/locale/en_us.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
<Item id="readonly_storage" text="Read-only external storage detected"/>
<Item id="cannot_create_preference" text="Can not create individual preference file."/>
<Item id="use_internal_path" text="Please copy your game folder into package path to avoid this warning or you may lost your savedata:&#10;%1&#10;&#10;Continue anyway?"/>
<Item id="continue_run" text="Continue"/>
<Item id="get_sdcard_permission" text="Fetch Permission"/>
<Item id="crash_report" text="Crash Report"/>
<Item id="crash_report_msg" text="Crash detected, send data (%d files) to help improving this app?"/>
<Item id="menu_rotate" text="Rotate Screen"/>
Expand All @@ -67,12 +69,13 @@
<Item id="menu_about" text="About"/>
<Item id="menu_help" text="View Help"/>
<Item id="menu_exit" text="Exit"/>
<Item id="about_content" text="Visit our forum for help if you have problems:&#10;https://groups.google.com/forum/#!forum/kirikiroid2"/>
<Item id="about_content" text="可以在github补丁页面寻找补丁:&#10;https://zeas2.github.io/Kirikiroid2_patch/patch&#10;如遇到问题,请反馈到到项目页面:&#10;https://github.com/zeas2/Kirikiroid2/issues&#10;或者到百度贴吧寻找解决方案:&#10;百度Kirikiroid2吧"/>
<Item id="about_content_i" text=""/>
<Item id="sure_to_exit" text="Sure to exit?"/>
<Item id="msgbox_yes" text="Yes"/>
<Item id="msgbox_no" text="No"/>
<Item id="msgbox_ok" text="OK"/>
<Item id="msgbox_nerver_notice" text="Don't Notice Again"/>
<Item id="use_last_path" text="Use last path:"/>

<Item id="err_narrow_to_wide" text="Cannot convert given narrow string to wide string,&#10;Data could be corrupted or encrypted or wrong text encoding.&#10;Maybe you need xp3filter.tjs if data is encrypted,&#10;or use patch.tjs to specify correct encoding if text is not encoded in SHIFT-JIS"/>
Expand All @@ -85,6 +88,21 @@
<Item id="file_operate_menu_title" text="File Operation"/>
<Item id="file_operate_menu_text" text="Please select opreation:"/>
<Item id="ensure_to_delete_file" text="Please ensure to delete:"/>
<Item id="ensure_item_count" text="%d items"/>
<Item id="device_info" text="Device Info"/>
<Item id="supported_opengl_extension" text="OpenGL Extensions(Only usable list):"/>
<Item id="preference_opengl_extension_opt" text="OpenGL Extensions"/>
<Item id="startup_patch_fail" text="Patch fail, please update patch.tjs"/>
<Item id="browse_patch_lib" text="Patch Lib"/>
<Item id="preference_opengl_extension_desc" text="May be usable OpenGL extension list here.&#10;Some features may cause wrong rendering result on some devices."/>
<Item id="preference_android_fetch_sdcard_permission" text="Fetch external sd-card write permission"/>

<Item id="filemgr_unselect" text="Cancel"/>
<Item id="filemgr_browse" text="View"/>
<Item id="filemgr_delete" text="Delete"/>
<Item id="filemgr_copy" text="Copy"/>
<Item id="filemgr_cut" text="Cut"/>
<Item id="filemgr_paste" text="Paste to here"/>
<Item id="filemgr_sendto" text="Send to..."/>
<Item id="file_operate_failed" text="File operation fail:"/>
</Locale>
19 changes: 17 additions & 2 deletions cocos/kr2/Resources/res/locale/ja_jp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<Item id="menu_about" text="バージョン情報"/>
<Item id="menu_help" text="ヘルプ"/>
<Item id="menu_exit" text="終了"/>
<Item id="about_content" text="質問がある場合は、掲示板をご覧ください:&#10;https://groups.google.com/forum/#!forum/kirikiroid2(英語)"/>
<Item id="about_content" text="Find patch here:&#10https://zeas2.github.io/Kirikiroid2_patch/patch&#10Report bugs to here:&#10;https://github.com/zeas2/Kirikiroid2/issues"/>
<Item id="about_content_i" text=""/>
<Item id="sure_to_exit" text="終了しますか?"/>
<Item id="msgbox_yes" text="はい"/>
Expand All @@ -84,7 +84,22 @@
<Item id="delete" text="削除"/>
<Item id="file_operate_menu_title" text="ファイル管理"/>
<Item id="file_operate_menu_text" text="操作を選択してください"/>
<Item id="ensure_to_delete_file" text="このファイルを削除しますか:"/>
<Item id="ensure_to_delete_file" text="削除しますか:"/>
<Item id="ensure_item_count" text="%d アイテム"/>
<Item id="device_info" text="デバイス情報"/>
<Item id="supported_opengl_extension" text="OpenGL拡張(利用可能なもの):"/>
<Item id="preference_opengl_extension_opt" text="OpenGL拡張"/>
<Item id="startup_patch_fail" text="パッチ失敗しました。patch.tjsを更新してください。"/>
<Item id="browse_patch_lib" text="パッチ庫"/>
<Item id="preference_opengl_extension_desc" text="レンダリング効率を改善するために利用することができるOpenGL拡張のリストです。&#10;いくつかの機能がオンになったら、デバイスに応じて、レンダリングエラーが発生することがあります。"/>
<Item id="preference_android_fetch_sdcard_permission" text="外部記憶の書き込みの権限を取得する"/>

<Item id="filemgr_unselect" text="キャンセル"/>
<Item id="filemgr_browse" text="ビュー"/>
<Item id="filemgr_delete" text="削除"/>
<Item id="filemgr_copy" text="コピー"/>
<Item id="filemgr_cut" text="カット"/>
<Item id="filemgr_paste" text="ここに貼り付ける"/>
<Item id="filemgr_sendto" text="Send to..."/>
<Item id="file_operate_failed" text="ファイル操作が失敗しました:"/>
</Locale>
22 changes: 20 additions & 2 deletions cocos/kr2/Resources/res/locale/zh_cn.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
<Item id="readonly_storage" text="发现只读的外部存储器"/>
<Item id="cannot_create_preference" text="无法创建配置"/>
<Item id="use_internal_path" text="为避免弹出这个提示以及可能出现的存档丢失,请移动您的游戏路径到这里:&#10;%1&#10;&#10;仍然使用当前路径运行?"/>
<Item id="continue_run" text="仍然继续"/>
<Item id="get_sdcard_permission" text="获取写入权限"/>
<Item id="crash_report" text="崩溃报告"/>
<Item id="crash_report_msg" text="发现崩溃数据,发送数据(%d个文件)到服务器以助我们改进这个应用?"/>
<Item id="menu_rotate" text="旋转屏幕"/>
Expand All @@ -67,12 +69,13 @@
<Item id="menu_about" text="关于"/>
<Item id="menu_exit" text="退出"/>
<Item id="menu_help" text="查看帮助"/>
<Item id="about_content" text="如遇到问题,请访问我们的论坛&#10;https://groups.google.com/forum/#!forum/kirikiroid2 (英文)&#10;或者到百度贴吧寻找解决方案:&#10;百度Kirikiroid2吧"/>
<Item id="about_content" text="可以在github补丁页面寻找补丁:&#10;https://zeas2.github.io/Kirikiroid2_patch/patch&#10;如遇到问题,请反馈到到项目页面&#10;https://github.com/zeas2/Kirikiroid2/issues&#10;或者到百度贴吧寻找解决方案:&#10;百度Kirikiroid2吧"/>
<Item id="about_content_i" text=""/>
<Item id="sure_to_exit" text="确定退出吗?"/>
<Item id="msgbox_yes" text=""/>
<Item id="msgbox_no" text=""/>
<Item id="msgbox_ok" text="确定"/>
<Item id="msgbox_nerver_notice" text="不再提示"/>
<Item id="use_last_path" text="使用最近启动的路径:"/>

<Item id="err_narrow_to_wide" text="无法转换字节字符为宽字符,可能数据被加密或损坏,也可能是使用了错误的文本编码。&#10;如果数据被加密,您可能需要xp3filter.tjs&#10;如果文本不是以SHIFT_JIS编码,需要用patch.tjs指定正确的编码格式。"/>
Expand All @@ -84,7 +87,22 @@
<Item id="delete" text="删除"/>
<Item id="file_operate_menu_title" text="文件管理"/>
<Item id="file_operate_menu_text" text="请选择操作"/>
<Item id="ensure_to_delete_file" text="确定要删除该文件吗:"/>
<Item id="ensure_to_delete_file" text="确定要删除吗:"/>
<Item id="ensure_item_count" text="%d 个项目"/>
<Item id="device_info" text="设备信息"/>
<Item id="supported_opengl_extension" text="OpenGL扩展特性(仅列出当前可用的扩展):"/>
<Item id="preference_opengl_extension_opt" text="OpenGL扩展"/>
<Item id="startup_patch_fail" text="补丁失败,请更新patch.tjs"/>
<Item id="browse_patch_lib" text="浏览补丁库"/>
<Item id="preference_opengl_extension_desc" text="这里是可能利用的OpenGL扩展列表,用于提高渲染的效率。&#10;视设备的不同,部分特性开启后可能会出现渲染错误。"/>
<Item id="preference_android_fetch_sdcard_permission" text="获取外部存储卡写入权限"/>

<Item id="filemgr_unselect" text="取消"/>
<Item id="filemgr_browse" text="浏览"/>
<Item id="filemgr_delete" text="删除"/>
<Item id="filemgr_copy" text="复制"/>
<Item id="filemgr_cut" text="剪切"/>
<Item id="filemgr_paste" text="粘贴到这里"/>
<Item id="filemgr_sendto" text="发送到"/>
<Item id="file_operate_failed" text="文件操作失败:"/>
</Locale>
108 changes: 108 additions & 0 deletions cocos/kr2/Resources/res/locale/zh_tw.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-8"?>
<Locale lang="en_us">
<Item id="preference_title" text="全局设置"/>
<Item id="preference_title_individual" text="独立设置"/>
<Item id="preference_output_log" text="打印日志"/>
<Item id="preference_select_renderer" text="图形渲染器"/>
<Item id="preference_opengl" text="OpenGL(试验性)"/>
<Item id="preference_software" text="软件渲染器"/>
<Item id="preference_renderer_opt" text="渲染器高级选项"/>
<Item id="preference_soft_renderer_opt" text="软件渲染器选项"/>
<Item id="preference_opengl_renderer_opt" text="OpenGL渲染器选项"/>
<Item id="preference_multi_draw_thread" text="渲染线程数"/>
<Item id="preference_draw_thread_auto" text="自动"/>
<Item id="preference_draw_thread_1" text="1"/>
<Item id="preference_draw_thread_2" text="2"/>
<Item id="preference_draw_thread_3" text="3"/>
<Item id="preference_draw_thread_4" text="4"/>
<Item id="preference_draw_thread_5" text="5"/>
<Item id="preference_draw_thread_6" text="6"/>
<Item id="preference_draw_thread_7" text="7"/>
<Item id="preference_draw_thread_8" text="8"/>
<Item id="preference_software_compress_tex" text="纹理压缩"/>
<Item id="preference_soft_compress_tex_none" text="无压缩"/>
<Item id="preference_soft_compress_tex_halfline" text="半线压缩"/>
<Item id="preference_ogl_compress_tex" text="纹理压缩"/>
<Item id="preference_ogl_compress_tex_none" text="无压缩"/>
<Item id="preference_ogl_compress_tex_half" text="质量减半"/>
<Item id="preference_remember_last_path" text="记住最后使用的路径"/>
<Item id="preference_keep_screen_alive" text="保持屏幕常亮"/>
<Item id="preference_custom_option" text="自定义选项"/>
<Item id="preference_opengl_dup_target" text="复制目标纹理"/>
<Item id="preference_ogl_accurate_render" text="精确渲染模式"/>
<Item id="preference_ogl_max_texsize" text="最大纹理尺寸"/>
<Item id="preference_ogl_texsize_auto" text="自动"/>
<Item id="preference_ogl_texsize_1024" text="1024"/>
<Item id="preference_ogl_texsize_2048" text="2048"/>
<Item id="preference_ogl_texsize_4096" text="4096"/>
<Item id="preference_ogl_texsize_8192" text="8192"/>
<Item id="preference_ogl_texsize_16384" text="16384"/>
<Item id="preference_mem_limit" text="限制内存用量(视具体游戏)"/>
<Item id="preference_mem_unlimited" text="不限"/>
<Item id="preference_mem_high" text="高占用(<300MB)"/>
<Item id="preference_mem_medium" text="中等占用(<200MB)"/>
<Item id="preference_mem_low" text="低占用(<100MB)"/>
<Item id="preference_show_fps" text="显示 FPS"/>
<Item id="preference_hide_loading_ad" text="加载时不显示广告"/>
<Item id="preference_rotate_screen_180" text="反转游戏屏幕"/>
<Item id="preference_virtual_cursor_scale" text="虚拟鼠标缩放比"/>
<Item id="preference_menu_handler_opacity" text="菜单按钮不透明度"/>
<Item id="preference_reset" text="重置"/>
<Item id="preference_hide_android_sys_btn" text="隐藏系统键(需重启软件)"/>
<Item id="preference_default_font" text="默认字体(留空使用内置字体)"/>
<Item id="ok" text="OK"/>
<Item id="cancel" text="取消"/>
<Item id="retry" text="重试"/>
<Item id="reactive" text="重新激活"/>
<Item id="ensure_to_override_file" text="确认要覆盖吗:"/>
<Item id="readonly_storage" text="发现只读的外部存储器"/>
<Item id="cannot_create_preference" text="无法创建配置"/>
<Item id="use_internal_path" text="为避免弹出这个提示以及可能出现的存档丢失,请移动您的游戏路径到这里:&#10;%1&#10;&#10;仍然使用当前路径运行?"/>
<Item id="continue_run" text="仍然继续"/>
<Item id="get_sdcard_permission" text="获取写入权限"/>
<Item id="crash_report" text="崩溃报告"/>
<Item id="crash_report_msg" text="发现崩溃数据,发送数据(%d个文件)到服务器以助我们改进这个应用?"/>
<Item id="menu_rotate" text="旋转屏幕"/>
<Item id="menu_global_preference" text="全局设置"/>
<Item id="menu_new_local_pref" text="新建独立设置"/>
<Item id="menu_local_pref" text="独立设置"/>
<Item id="menu_about" text="关于"/>
<Item id="menu_exit" text="退出"/>
<Item id="menu_help" text="查看幫助"/>
<Item id="about_content" text="如遇到问题,请反馈到到项目:&#10;https://github.com/zeas2/Kirikiroid2/issues&#10;或者到百度贴吧寻找解决方案:&#10;百度Kirikiroid2吧"/>
<Item id="about_content_i" text=""/>
<Item id="sure_to_exit" text="确定退出吗?"/>
<Item id="msgbox_yes" text=""/>
<Item id="msgbox_no" text=""/>
<Item id="msgbox_ok" text="确定"/>
<Item id="msgbox_nerver_notice" text="不再提示"/>
<Item id="use_last_path" text="使用最近启动的路径:"/>

<Item id="err_narrow_to_wide" text="无法转换字节字符为宽字符,可能数据被加密或损坏,也可能是使用了错误的文本编码。&#10;如果数据被加密,您可能需要xp3filter.tjs&#10;如果文本不是以SHIFT_JIS编码,需要用patch.tjs指定正确的编码格式。"/>
<Item id="err_no_memory" text="内存不足(若经常出现此问题,可以试着在选项里限制内存用量)"/>
<Item id="err_occured" text="发生错误"/>
<Item id="err_read_error" text="读取错误,数据或已损坏"/>
<Item id="err_not_xp3_archive" text="%1 不是有效的XP3包。数据或已损坏。"/>
<Item id="err_cannot_suggest_graph_ext" text="%1 无法加载此图片,可能是数据不完整或脚本错误"/>
<Item id="delete" text="删除"/>
<Item id="file_operate_menu_title" text="文件管理"/>
<Item id="file_operate_menu_text" text="请选择操作"/>
<Item id="ensure_to_delete_file" text="确定要删除吗:"/>
<Item id="ensure_item_count" text="%d 个项目"/>
<Item id="device_info" text="设备信息"/>
<Item id="supported_opengl_extension" text="OpenGL扩展特性(仅列出当前可用的扩展):"/>
<Item id="preference_opengl_extension_opt" text="OpenGL扩展"/>
<Item id="startup_patch_fail" text="补丁失败,请更新patch.tjs"/>
<Item id="browse_patch_lib" text="浏览补丁库"/>
<Item id="preference_opengl_extension_desc" text="这里是可能利用的OpenGL扩展列表,用于提高渲染的效率。&#10;视设备的不同,部分特性开启后可能会出现渲染错误。"/>
<Item id="preference_android_fetch_sdcard_permission" text="获取外部存储卡写入权限"/>

<Item id="filemgr_unselect" text="取消"/>
<Item id="filemgr_browse" text="浏览"/>
<Item id="filemgr_delete" text="删除"/>
<Item id="filemgr_copy" text="复制"/>
<Item id="filemgr_cut" text="剪切"/>
<Item id="filemgr_paste" text="粘贴到这里"/>
<Item id="filemgr_sendto" text="发送到"/>
<Item id="file_operate_failed" text="文件操作失败:"/>
</Locale>
Binary file added cocos/kr2/cocosstudio/img/back_icon.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 added cocos/kr2/cocosstudio/img/right_triangle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2081dc0

Please sign in to comment.