- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
美好的一天!
假设我有一个名为 test 的目录。它包含几个目录和文件。(dir_1:file_1,file_2;dir_2:file_1,file_2;...;dir_5:file_1,file_2;)
我愿意 jobb -d ./test -k key -o data.obb -pn com.example.obbtest -pv 1
得到
Slop: 0 Directory Overhead: 0
Slop: 37185 Directory Overhead: 2880
Partial Sector [32] writing to sector: 199
Partial Sector [32] writing to sector: 199
Partial Sector [32] writing to sector: 199
Partial Sector [96] writing to sector: 231
Alignment off writing to sector: 231
Partial Sector [96] writing to sector: 231
Alignment off writing to sector: 231
Partial Sector [96] writing to sector: 199
Partial Sector [96] writing to sector: 235
Alignment off writing to sector: 235
Partial Sector [96] writing to sector: 235
Alignment off writing to sector: 235
Partial Sector [160] writing to sector: 231
Alignment off writing to sector: 231
Partial Sector [307] writing to sector: 8911
Partial Sector [176] writing to sector: 17075
Partial Sector [96] writing to sector: 17079
Alignment off writing to sector: 17079
Partial Sector [320] writing to sector: 235
Alignment off writing to sector: 235
Partial Sector [96] writing to sector: 17079
Alignment off writing to sector: 17079
Partial Sector [224] writing to sector: 231
Alignment off writing to sector: 231
Partial Sector [307] writing to sector: 25755
Partial Sector [191] writing to sector: 33919
Partial Sector [96] writing to sector: 33923
Alignment off writing to sector: 33923
Partial Sector [320] writing to sector: 235
Alignment off writing to sector: 235
Partial Sector [320] writing to sector: 17079
Alignment off writing to sector: 17079
//and so on
文件已准备就绪。比,如
http://developer.android.com/tools/help/jobb.html
我愿意
jobb -d ./dotest/ -o data.obb -k key -pn com.example.obbtest -pv 1
并得到:
Slop: 0 Directory Overhead: 0
Slop: 0 Directory Overhead: 0
Java.io.IOException: boot sector says there are 0 sectors per FAT
at de.waldheinz.fs.fat.Fat.<init>(Fat.java:112)
at de.waldheinz.fs.fat.Fat.create(Fat.java:96)
at de.waldheinz.fs.fat.SuperFloppyFormatter.format(SuperFloppyFormatter.java:236)
at com.android.jobb.Main.main(Main.java:414)
我想这意味着我没有包装错误。我该如何解决?
更新
我愿意 jobb -d ./test/-o my-app-assets.obb -pn com.examlpe.obbtest -pv 1 -k 11111111
很好
比 jobb -dump my-app-assets.obb -d ./undo/-k 11111111
然后我得到了我的文件。但是 - 它们都小于 1 mb。如果我添加大于 1 mb 的文件,我会得到
Package Name: com.example.obbtest
Package Version: 1
SALT: -5c0a03daa17137e2
6fbd61c113679c5258231a5439459dd5
LFN = file1 (3rd copy).jpg / SFN = ShortName [?
|/ifl -- 12 3f b 16 18 7c 10 2f 69 66 6c ]
Partial read from sector: 179
Exception in thread "main" java.nio.BufferOverflowException
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:189)
at java.nio.ByteBuffer.put(ByteBuffer.java:859)
at com.android.jobb.EncryptedBlockFile$
EncryptedBlockFileChannel.readDecryptedSector(EncryptedBlockFile.java:292)
at com.android.jobb.EncryptedBlockFile$EncryptedBlockFileChannel.
read(EncryptedBlockFile.java:142)
at de.waldheinz.fs.util.FileDisk.read(FileDisk.java:118)
at de.waldheinz.fs.fat.ClusterChain.readData(ClusterChain.java:225)
at de.waldheinz.fs.fat.FatFile.read(FatFile.java:126)
at com.android.jobb.Main.dumpDirectory(Main.java:137)
at com.android.jobb.Main.main(Main.java:315)
最佳答案
我不能说出你所有的错误,但知道相对路径导致 boot sector says there are 0 sectors per FAT
对我来说。使用 C:\fullpath\dotest\
有效。
关于java - 打包和解包 *.obb 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27638969/
我看过几个关于找到两个 OBB 之间的交点的线程。我仍然不明白如何找到最小穿透轴。我需要找到最小穿透轴,我相信它在 David Eberly 的论文中也被称为最后一个分离轴,以确定我应该使用表格的哪一
所以我遇到的问题非常简单,我似乎无法弄清楚。当我将扩展文件或 .obb 文件 main.2.com.example.project.obb 放入 obb 目录时,如下所示: /storage/emul
我正在尝试按照此处的指南在 Android 中测试扩展包文件 (OBB): http://developer.android.com/google/play/expansion-files.html
我正在为“扩展文件”开发 obb 集成。我通过复制设备 (4.1) 的 sdcard 上的 .obb 文件使其在本地工作,但在我的 4.2 设备上它不再工作了。 1) 在 4.1 平板电脑上:运行良好
我需要一些关于 obb 旋转的帮助: 首先,我检查 3d 模型的每个顶点并获取最小值和最大值以找到 obb 最小/最大点。 void obb::checkVertex(vector3f& vertex
嗨,我正在尝试使用 lwjgl 将 OBB 构建到我的 3d java 游戏中。目前我只是尝试使用matrix4f 旋转OBB 并通过渲染点来测试它。因此,当我渲染它时,它的 xyx=0,0,0 且
给定多条曲线,包括线段和圆弧,如何计算所有曲线的总OBB? 似乎各个曲线的每个 OBB 的并集都不对,这不是最小覆盖。 查看这张图,红框是怎么计算的? 最佳答案 您还应该以矢量形式添加输入,以便我们可
我正在创建一个 2D 游戏并想测试 OBB(定向边界框)和圆之间的碰撞。我不确定执行此操作的数学和代码。我正在用 C++ 和 OpenGL 创建游戏。 最佳答案 因为你的两个形状都是凸的,你可以使用
我在项目中使用文件扩展来访问 obb 文件夹中的音频、视频和图像文件。我的Obb文件的形式是:main.1.com.example.sample--->包含三个名为Images、Video和Audio
美好的一天! 假设我有一个名为 test 的目录。它包含几个目录和文件。(dir_1:file_1,file_2;dir_2:file_1,file_2;...;dir_5:file_1,file_2
我手动放置了 OBB 文件,这样我就可以检查是否一切正常。当我将文件放在 Android/obb 文件夹中时,在第一次构建时无法识别它。我注意到,如果我将 OBB 文件放入 obb 文件夹后重新启动手
给定形成 OBB 的中心点、宽度、高度和角度,如何确定给定点 P 是否在 OBB 内? 谢谢 最佳答案 我认为你的问题中的皱纹是边界框可以旋转?如果是这样,对我来说最简单的解决方案似乎是在以边界框中心
我正在关注所有官方扩展文件指南,但我找不到它。我无法访问我需要的包含的 obb 文件。 我需要 6 个音频文件 (80Mb),我将它们“存储”(未压缩)在一个 zip 文件中并重命名为“main.20
在我的应用程序中,我在 Android->obb->packagename->main.1.packagename.obb 下载了扩展文件。有人可以向我解释,即使有示例代码如何从中提取我的文件吗? 我
通过将 .obb 文件扩展到另一个目录以读取各个部分,我们已经在我们的应用程序中成功使用 APK 扩展文件技术一段时间了。我们最终决定尝试通过使用 StorageManager 挂载 bob 来直接读
我能够上传和下载可扩展文件在我的谷歌播放应用程序上。按照o[官方教程][1] 将obb文件保存到/Android/Obb/main.2.myappname.obb 我假设这个 obb 文件将被提取到
我正在尝试挂载一个 obb 文件,但是 std::fstream test("/storage/emulated/0/Android/obb/com.bixense.jngl_test/main.1.
我已经在我的游戏应用程序上开发了 obb 函数。简单解释一下obb函数的逻辑, 制作一个包含 Assets 的 zip 文件并重命名为 .obb。 使用 apk 将其上传到 Play 商店。然后它会自
我正在尝试编写一个刚体模拟器,在模拟过程中,我不仅对发现两个物体是否发生碰撞感兴趣,而且还对碰撞的点和法线感兴趣。我找到了很多资源,这些资源实际上说明了两个 OBB 是否正在使用分离轴定理发生碰撞。我
我在处理 APK 扩展时遇到问题。在 Java 端,我可以设置我应该设置的所有内容,但似乎我无法在 C++ 端正确修改代码。 CCFileUtilsAndroid::getFileData 函数内部:
我是一名优秀的程序员,十分优秀!