elizagamedev / wolftrans

Translation tool for Wolf RPG Editor games
Mozilla Public License 2.0
47 stars 9 forks source link

I got a error that i don't even know what's happening #9

Open Zax-Axel opened 7 years ago

Zax-Axel commented 7 years ago

image

Zax-Axel commented 7 years ago

Oh yea i forogt to say that with the game i'm using, it doesn't have data.wolf in it. it's treasure hunter claire.

magnusjjj commented 7 years ago

Same here :)

galtgendo commented 7 years ago

A rough guess (as I don't know enough about ruby to be sure): AFAICT this program expects certain file layout in unpacked data (maps in MapData, most of project database files in BasicData). If instead it's flat (all files in one dir), it fails to find those files resulting in certain vars not getting initialized.

What likely needs to be done is probably more unless clauses, like with game.dat, but enforcing the expected layout might work too (well, it will most likely work wrt. extracting, but might fail on the way back - if not, restoring initial layout afterwards would likely be required).