• R/O
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

カルネージハートエクサのチームデータ編集ツール JAVAベース


Commit MetaInfo

修訂8 (tree)
時間2015-06-03 01:55:32
作者manjihq

Log Message

マッチデータが正常にエクサで読み込めないのを修正

Change Summary

差異

--- chexaFormation/trunk/src/chexaformation/cheFile.java (revision 7)
+++ chexaFormation/trunk/src/chexaformation/cheFile.java (revision 8)
@@ -206,6 +206,8 @@
206206 wk_buffer[nofs++] = (byte) (checksum >> 24);
207207 } else {
208208 System.arraycopy(match_data, 0, wk_buffer, 0x00000018, 336);
209+ System.arraycopy(match_data, 0, wk_buffer, 0x00000168, 36);
210+ System.arraycopy(match_data, 36, wk_buffer, 0x00040e8c, 336 - 36);
209211 nofs = 0x00000034;
210212 wk_buffer[nofs++] = (byte) (real_team_count & 0xff);
211213 wk_buffer[nofs++] = (byte) (real_team_count >> 8);
@@ -479,7 +481,7 @@
479481 if (ncpy > 28) {
480482 ncpy = 28;
481483 }
482- Arrays.fill(match_data, 0, 27, (byte) 0);
484+ Arrays.fill(match_data, 0, 28, (byte) 0);
483485 System.arraycopy(work, 0, match_data, 0, ncpy);
484486 } catch (UnsupportedEncodingException ex) {
485487 Logger.getLogger(cheFile.class.getName()).log(Level.SEVERE,