sverx

Results 97 comments of sverx

> Because unless I misunderstand, it seems to me that what you suggest would be a lot more complex and involves a lot of checks and corners cases to handle,...

Well, you're probably right, and even if I do still believe everything would have worked even without loading the data from the files 'sooner', it is likely that there's no...

> I only tested the :header attribute however, but I see no reason for others to work. LOL! :sweat_smile: I will run a few tests ASAP but I don't expect...

I just realized this part here https://github.com/sverx/devkitSMS/blob/master/assets2banks/src/assets2banks.py#L307 doesn't work correctly with assets with `:format unsigned int` attribute. This part can be either fixed or removed.

Also seems like the compiled output is broken (seems again related to the asset group size). I don't know what's going on, I'm quite sure it was working fine...

Not even the not compiled output is working now. Is my computer going crazy? This doesn't make any sense!

I'm an idiot! :sweat_smile: I had commented the whole block: ``` for ag in AssetGroupList: for a in ag.assets: a.process() if len(a.data) != a.size: print("Fatal: Internal error") sys.exit(1) ``` thus...

commenting only this part now: ``` # ~ if len(a.data) != a.size: # ~ print("Fatal: Internal error") # ~ sys.exit(1) ``` and everything seems fine

this seems to be enough to fix the issue: ``` if (a.style == 0 and len(a.data) != a.size) or (a.style == 1 and len(a.data) != a.size/2): print("Fatal: Internal error") sys.exit(1)...

Commit pushed. Sorry for all this mess of messages :sweat_smile: