English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 10 February 2016, 21:38   #1
SkulleateR
Registered User
 
SkulleateR's Avatar
 
Join Date: Jan 2016
Location: Germany
Posts: 334
iff/ilbm on NDOS disk ????

hi guys

I´m reactivating a kind of translation project I began some years ago and here is a problem ...

I can easily translate in game text but the game got some screens displayed as intro and in game sequences that loads as iff/ilbm screens ...

Is there a way/tool to locate them on a NDOS Disk and replace it ?
SkulleateR is offline  
Old 10 February 2016, 21:42   #2
s2325
Zone Friend
 
s2325's Avatar
 
Join Date: Jun 2006
Location: Gargore
Age: 43
Posts: 17,789
How can you be sure these are iff/ilbm if you can't see files?
s2325 is offline  
Old 10 February 2016, 21:46   #3
SkulleateR
Registered User
 
SkulleateR's Avatar
 
Join Date: Jan 2016
Location: Germany
Posts: 334
Quote:
Originally Posted by s2325 View Post
How can you be sure these are iff/ilbm if you can't see files?
These can be ripped out of memory as iff screen ... so I´m pretty sure about it
SkulleateR is offline  
Old 10 February 2016, 21:59   #4
Predseda
Puttymoon inhabitant
 
Predseda's Avatar
 
Join Date: Mar 2007
Location: Tromaville
Age: 46
Posts: 7,546
Send a message via ICQ to Predseda
I am afraid your approach is just wrong and it is not possible this way.
Predseda is offline  
Old 10 February 2016, 22:01   #5
prowler
Global Moderator
 
prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Try Maptapper.

It's a very capable and flexible kind of Graphics ripper which should do the job.
prowler is offline  
Old 10 February 2016, 22:01   #6
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,782
If you can find them in memory as ilbm why not search the disk for the exact same file or parts of it ,it might be packed.
Retro1234 is offline  
Old 10 February 2016, 22:06   #7
SkulleateR
Registered User
 
SkulleateR's Avatar
 
Join Date: Jan 2016
Location: Germany
Posts: 334
well, ripping is not the problem ... replacing is the magic word

If I know the data (in hex or whatever) of the iff, is there a prog to locate that on the NDOS disk ? and if I find it ... can it be replaced in any way ?

@Predseda

So you know a better way ?? Tell me about it
SkulleateR is offline  
Old 10 February 2016, 22:08   #8
Retro1234
Phone Homer
 
Retro1234's Avatar
 
Join Date: Jun 2006
Location: 5150
Posts: 5,782
Your be limited to the same file size (probably) - just cut and paste
Can you say what game it is?

Last edited by Retro1234; 10 February 2016 at 22:14.
Retro1234 is offline  
Old 11 February 2016, 08:12   #9
Predseda
Puttymoon inhabitant
 
Predseda's Avatar
 
Join Date: Mar 2007
Location: Tromaville
Age: 46
Posts: 7,546
Send a message via ICQ to Predseda
Quote:
Originally Posted by SkulleateR View Post
well, ripping is not the problem ... replacing is the magic word

If I know the data (in hex or whatever) of the iff, is there a prog to locate that on the NDOS disk ? and if I find it ... can it be replaced in any way ?

@Predseda

So you know a better way ?? Tell me about it
You already answered yourself. Replacing a text in a code can be easy, if the final file size is unaltered. But if you want to replace parts of the graphics in once compiled program, it will bring you software failures because of invalid checksums etc. Maybe if you would fine a way how to decompile it, dissasemble, put a new elements and compile again, it would work. I remember myself trying to do some translation job in Arkanoid (which is one file DOS game). Everything seemed to be fine until i used the letter 'B' in the text. I always crashed then. So I had to work out how to translate it without one very common letter and the final translation was... weird
Predseda is offline  
Old 11 February 2016, 10:34   #10
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Quote:
Originally Posted by Predseda View Post
You already answered yourself. Replacing a text in a code can be easy, if the final file size is unaltered. But if you want to replace parts of the graphics in once compiled program, it will bring you software failures because of invalid checksums etc. Maybe if you would fine a way how to decompile it, dissasemble, put a new elements and compile again, it would work. I remember myself trying to do some translation job in Arkanoid (which is one file DOS game). Everything seemed to be fine until i used the letter 'B' in the text. I always crashed then. So I had to work out how to translate it without one very common letter and the final translation was... weird
This isn't necessarily the case. Some games will use checksums, some games wont. The only way to know is to try.

There are issues here that have been picked up, but the reasons they might not worked explained properly.
  • How do you know the images are iff/ilbm? They could easily be stored as a raw file with separate palette info (the image will still show in memory).
  • The image could be compressed on disk. If this is the case you will need to take this into account when replacing the file. You will have a couple of options 1. Repack the new image with exactly the same packer as the original, and replace. 2. Replace the image and bypass the unpacking routine. (This will have added complications - see next point!)
  • If the new image is bigger than the original image (Iff/Ilbm) then you will need to relocate all the files on the disk, and then adjust the loading routine to accomodate. (If it is a raw image, and the dimensions/bitplanes are the same then it should remain the same size exactly)
  • If it is a raw image, you will then have to find and adjust the palette info for your new image (assuming you make adjustments)
  • as Preseda has mentioned.. There could be checksums, which will need patching if you make adjustments

Without knowing more about this, the advice will always be generic..

Last edited by BippyM; 11 February 2016 at 10:43.
BippyM is offline  
Old 11 February 2016, 18:47   #11
SkulleateR
Registered User
 
SkulleateR's Avatar
 
Join Date: Jan 2016
Location: Germany
Posts: 334
Thx for all your advice

I´ve got some really nice tools suggested to try out, I´ll post back if I get some result in any way
SkulleateR is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
OS X Quick Look plugin for IFF ILBM images dalton News 17 01 September 2021 22:24
converting pc pictures to iff or ilbm files locksmith Amiga scene 12 14 September 2015 15:54
Slide show Pictures Question - IFF ILBM Peter support.Apps 20 04 December 2012 05:41
How to un ndos a disk Dr. Dude request.Other 10 10 April 2007 20:03
IFF/ILBM structures .... freddix Coders. General 7 18 September 2006 09:54

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:21.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08898 seconds with 15 queries