Post new topic    
Page «  1, 2
Metal King Slime
Send private message
 
 PostThu May 31, 2012 4:43 am
Send private message Reply with quote
Huh, came across an error when I was exporting attacks.

Code:
  File "./tabulate.py", line 305, in <module>
    lump = rpg.data(lumpnames[lumpid])
  File "/home/lakan/Games/OHRRPGCE/nohrio-tmc/3rdparty/nohrio/rpg2.py", line 351, in data
    self.mmaps[lump] = self._load_data (lump, dtype = dtype, offset = offset, type = type, **kwargs)
  File "/home/lakan/Games/OHRRPGCE/nohrio-tmc/3rdparty/nohrio/rpg2.py", line 320, in _load_data
    return AttackData(self.data('dt6'), self.data('attack.bin', dtype = [('attack.bin', np.uint8, self.binsize.attack)]), dt['attack.full'])
  File "/home/lakan/Games/OHRRPGCE/nohrio-tmc/3rdparty/nohrio/rpg2.py", line 351, in data
    self.mmaps[lump] = self._load_data (lump, dtype = dtype, offset = offset, type = type, **kwargs)
  File "/home/lakan/Games/OHRRPGCE/nohrio-tmc/3rdparty/nohrio/rpg2.py", line 330, in _load_data
    return type (filename, mode = self.mode, dtype = dtype, offset = offset, **kwargs)
  File "/usr/lib/python2.6/dist-packages/numpy/core/memmap.py", line 194, in __new__
    descr = dtypedescr(dtype)
ValueError: mismatch in size of old and new data-descriptor


Items export and import just fine though. And attacks exported just fine the last time I tried to export them. Any ideas? Thanks!
Being from the third world, I reserve the right to speak in the third person.

Using Editor version wip 20170527 gfx_sdl+fb music_sdl
Metal King Slime
Send private message
 
 PostThu May 31, 2012 12:14 pm
Send private message Reply with quote
Exporting from the same game from which you successfully exported previously? I actually forgot to push the new version to gitorious, so nothing's changed. I've done that now (do "git pull origin"). I can't understand how that error could happen, but could you try with the new version? Failing that I might have to look at the game.
Display posts from previous:
Page «  1, 2