ZenHAX

Free Game Research Forum - Official QuickBMS support - Twitter @zenhax
It is currently Tue Jan 24, 2017 11:28 pm

All times are UTC




Post new topic  Reply to topic  [ 28 posts ]  Go to page Previous 1 2
Author Message
PostPosted: Wed Sep 21, 2016 9:18 pm 

Joined: Thu Sep 15, 2016 10:17 pm
Posts: 4
thank you aluigi it's work :) :) :) :) :)


Top
   
PostPosted: Sun Nov 27, 2016 10:54 am 

Joined: Sun Nov 27, 2016 10:50 am
Posts: 1
Hi,
I am working on an italian translation of Undertale, still work in progress, but I want to test out the graphical translation. To decrypt the data file from data.win, I used yoyogames.bms script, which worked as expected, but now I can't encrypt them again in a data.win file.
Any suggestions on which script to run? I've tried reimport.bat but I can't comprehend the use of it. Such a noob I am :roll:
Thanks for the great job you're doing.


Top
   
PostPosted: Sun Nov 27, 2016 11:44 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 5397
reimport.bat is very simple and it's explained in section 3 of http://aluigi.org/papers/quickbms.txt

In short you should click on reimport.bat and select the same script, archive (remember to make a backup!), and folder (that now acts as "input") you selected during the extraction.

The following are some rules to increase the chances of a good reimporting:
  • in the folder where you extracted the files, keep there only those you edited and delete the others (this is useful mainly for compressed files)
  • the edited files (for example graphics in your case) must have a size which is smaller or equal than the originals
  • for your translation you are probably going to edit STRG.txt, remember to keep your new strings (each line) shorter/equal than the originals
  • in some rare archive formats it's even necessary to keep the new string with the same length of the original, so filling it with spaces, but this is not the case of Undertale probably

If you have other doubts do a search on google with the following keywords because other people had success in modding Undertale and made videos and tutorials:
Code:
undertale quickbms reimport


Top
   
PostPosted: Thu Jan 12, 2017 11:21 pm 

Joined: Thu Jan 12, 2017 11:18 pm
Posts: 3
Hello

I try to edit some staff in alpine ski racing 2007 game. Sometimes re-importing works, sometimes not. Edit I tried is really simple. For example, I only exchanged one number for another or something like that.
When re-importing is not working, mostly, I got this message:

Last script line before the error or that produced error:
26 clog NAME OFFSET ZSIZE SIZE



Please, any ideas how to solve this?
Thank you so much


Top
   
PostPosted: Fri Jan 13, 2017 4:57 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 5397
That script (49games.bms) is not valid for reimporting because the re-compression algorithm is not available.


Top
   
PostPosted: Fri Jan 13, 2017 5:20 pm 

Joined: Thu Jan 12, 2017 11:18 pm
Posts: 3
aluigi wrote:
That script (49games.bms) is not valid for reimporting because the re-compression algorithm is not available.


Thank you for answer.
Is there available any scrip that has this algorithm? If not, is there any chance for this algorithm to be added there?
Btw, despite this fact, I even succeeded in re-importing some files.
Please help, I play this game every ski season for more 10 years now (because there is never new ski game... :cry: :cry: :cry: ) so if I could make at least slight editing to feel it more enjoyable. Thank you so much for your help. :)


Last edited by skiracing on Fri Jan 13, 2017 5:40 pm, edited 1 time in total.

Top
   
PostPosted: Fri Jan 13, 2017 5:33 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 5397
No, the only solution would be to check if the game works with the extracted files and without the original archive (probably doesn't work or requires specific folders).
Writing a rebuilder (with compression disabled) may be an option but you have to do it by yourself or finding someone who wants to do it.
You can also try some hacks on the archive with a hex editor like disabling the compression for that file, appending the content of the new file to the archive and editing the offset, size and crc field (and the method as already said).
Unfortunately with edited files the options are ever quite limited and I offer no support on this stuff, sorry.


Top
   
PostPosted: Fri Jan 13, 2017 5:49 pm 

Joined: Thu Jan 12, 2017 11:18 pm
Posts: 3
Ohh..thank you for explanation.

I'm totally dumb on hacking and stuff like that and even do not understand anything about those methods that you are telling. Oh well, it is only hope maybe sometimes in future it will be possible to re-import edited files in the game. For now, at least I know there is no sense to trying more. Thanks anyway.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 28 posts ]  Go to page Previous 1 2

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited