English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 07 March 2024, 19:41   #1
ghosty777
Registered User
 
ghosty777's Avatar
 
Join Date: Jun 2015
Location: Nottingham, UK
Posts: 117
Ira disassembly

Hi all,

I was toying with the idea of translating one of the Diabolik series by Silumondo (2-12 are Italian only, Italian Bad Boys translated the 1st)

I've been through the files (Decrunched them) and tried disassembling with Ira but can't find any text. In fact, nothing's even appearing when viewing in a hex editor either, which is odd) Could anyone explain what the issue might be? (Aside from possibly being encrypted)

What I don't understand is previously if i've viewed a random file (Other software, not Diabolik series) in a hex editor I can see the text but in Ira most of the time nothing shows - Does this mean its not data so I have to convert from hex to ascii and back again?

I'm not a coder if you haven't already guessed lol.

Thanks.
ghosty777 is offline  
Old 07 March 2024, 20:47   #2
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
If you can't see it in an editor, it's not encoded in any regular encoding (e.g. ascii).

Are you sure Ira understands what's code and what's (ascii) data without some help?
hooverphonique is offline  
Old 07 March 2024, 20:53   #3
ghosty777
Registered User
 
ghosty777's Avatar
 
Join Date: Jun 2015
Location: Nottingham, UK
Posts: 117
Quote:
Originally Posted by hooverphonique View Post
If you can't see it in an editor, it's not encoded in any regular encoding (e.g. ascii).

Are you sure Ira understands what's code and what's (ascii) data without some help?
I'm not sure of anything to be honest. I probably thought this would be easier than I imagined.
ghosty777 is offline  
Old 07 March 2024, 20:57   #4
copse
Registered User
 
Join Date: Jul 2009
Location: Lala Land
Posts: 522
If you can't see it with hex editor when decrunched then you won't be able to see it in Ira. Either it's still crunched or it's encoded in some way as hp says. Maybe you're going to have to find the way text is rendered and work it out.
copse is offline  
Old 07 March 2024, 21:15   #5
ghosty777
Registered User
 
ghosty777's Avatar
 
Join Date: Jun 2015
Location: Nottingham, UK
Posts: 117
Thanks copse; This might actually be more trouble than it's worth.
ghosty777 is offline  
Old 07 March 2024, 21:28   #6
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,991
Really easy way is boot up the game with text visible onscreen and then use Action Replay 3 to find the text.

If you use the FR command, if it can find the text, it will tell you the value the text is encoded with.

So you instance you would type:

FR "dylan" and then hit return.

If it finds the text, you can then decode it to find all other text


Or it could be that there is no text, it's pre laidout and drawn text
Galahad/FLT is offline  
Old 07 March 2024, 22:00   #7
SToS
Registered User
 
Join Date: Dec 2023
Location: 3rd Rock From The Sun
Posts: 10
Had a quick look at the second game La Gemma Di Salomone...

Italian text in files under PLA directory.
Although text is visible, it is somewhat structured to a "format".
SToS is offline  
Old 07 March 2024, 22:21   #8
ghosty777
Registered User
 
ghosty777's Avatar
 
Join Date: Jun 2015
Location: Nottingham, UK
Posts: 117
Thanks Galahad & SToS. I'll take another look at this over the weekend.
ghosty777 is offline  
Old 08 March 2024, 11:28   #9
WayneK
Registered User
 
Join Date: May 2004
Location: Somewhere secret
Age: 50
Posts: 365
If they haven't encoded the text as ascii, another way to find a known string is to look for something with the same distances (deltas) between the letters, eg:
"DYLAN" is made of letters at positions 04,25,12,01,14 in the alphabet.
So regardless of the encoding, there is a 99% chance that the second letter "Y" is encoded with a value that is 21 higher than "D" ("Y" is 25, minus "D" which is 04), etc...

A little python script or even a little bit of 68000 to search memory in AR3 should produce some results!
WayneK is offline  
Old 08 March 2024, 20:20   #10
copse
Registered User
 
Join Date: Jul 2009
Location: Lala Land
Posts: 522
Quote:
Originally Posted by WayneK View Post
If they haven't encoded the text as ascii, another way to find a known string is to look for something with the same distances (deltas) between the letters, eg:
"DYLAN" is made of letters at positions 04,25,12,01,14 in the alphabet.
So regardless of the encoding, there is a 99% chance that the second letter "Y" is encoded with a value that is 21 higher than "D" ("Y" is 25, minus "D" which is 04), etc...

A little python script or even a little bit of 68000 to search memory in AR3 should produce some results!
Best to avoid these kinds of fishing expeditions IMO.
copse is offline  
Old 09 March 2024, 19:57   #11
ghosty777
Registered User
 
ghosty777's Avatar
 
Join Date: Jun 2015
Location: Nottingham, UK
Posts: 117
Update: The Italian Bad Boys translation of Diabolik 01 is a bad crack. I've been playing it this afternoon & part way through the game it prints "ILLEGAL COPY" and your character falls through the screen* It appears the 2nd game in the series was cracked by Skid Row (Only version available), so i'm not getting my hopes up it's been cracked 100%, lol. Another update to follow..

*Obviously this means the current WHD version of Diabolik 01 isn't 100% either. Maybe some accomplished cracker cares to fix this. I'll upload a savestate for WinUAE; My current savestate was created on FSUAE on Linux (With the illegal copy message) & doesn't appear to be compatible with WinUAE.

Thanks & regards,
ghosty777

Last edited by ghosty777; 09 March 2024 at 20:14.
ghosty777 is offline  
Old 09 March 2024, 20:35   #12
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,624
You could try suggesting it over here: https://eab.abime.net/showthread.php?t=116023
hooverphonique is offline  
Old 09 March 2024, 21:16   #13
ghosty777
Registered User
 
ghosty777's Avatar
 
Join Date: Jun 2015
Location: Nottingham, UK
Posts: 117
,..,

Last edited by ghosty777; 16 March 2024 at 20:41. Reason: ....
ghosty777 is offline  
Old 09 March 2024, 21:18   #14
SToS
Registered User
 
Join Date: Dec 2023
Location: 3rd Rock From The Sun
Posts: 10
Quote:
Originally Posted by ghosty777 View Post
*Obviously this means the current WHD version of Diabolik 01 isn't 100% either. Maybe some accomplished cracker cares to fix this.

Probably not until a "virgin" untouched SPS appears one day.
SToS is offline  
Old 16 March 2024, 20:30   #15
ghosty777
Registered User
 
ghosty777's Avatar
 
Join Date: Jun 2015
Location: Nottingham, UK
Posts: 117
Update: I used the following TOSEC version:-

Diabolik 01 - Untouchable Criminal (1993)(Simulmondo)(It)[cr IBB][m Mini-Nuke][t +1 Heresy].zip

..But it's bad.. It appears someone has bolted the Heresy cracktro/trainer onto the genuine IBB crack (IBB announce they cracked it in the actual game) which throws up an illegal copy message mid-game.

I can't recreate the issue in the vanilla IBB crack, so this appears to be a bad version.

Intrigued as to what triggered the message, but one to put to bed!

Thanks to Galahad for offering to look into it - Sorry for wasting your time.
ghosty777 is offline  
Old 16 March 2024, 23:45   #16
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,991
Quote:
Originally Posted by ghosty777 View Post
Update: I used the following TOSEC version:-

Diabolik 01 - Untouchable Criminal (1993)(Simulmondo)(It)[cr IBB][m Mini-Nuke][t +1 Heresy].zip

..But it's bad.. It appears someone has bolted the Heresy cracktro/trainer onto the genuine IBB crack (IBB announce they cracked it in the actual game) which throws up an illegal copy message mid-game.

I can't recreate the issue in the vanilla IBB crack, so this appears to be a bad version.

Intrigued as to what triggered the message, but one to put to bed!

Thanks to Galahad for offering to look into it - Sorry for wasting your time.
Its all good, if it means we tick another one off the non-working list, i'm all for it.

IBB cracked it and translated it.

Heresy also cracked it and didn't translate it.

At some point, either Heresy or someone else took the files from the IBB version that had all the converted texts and overwrote the Heresy version, and I think here is where someone screwed it up.
Galahad/FLT 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
Small IRA Tutorial phx Coders. Tutorials 120 15 April 2024 17:14
ira for Windows jotd Coders. General 63 12 December 2023 10:53
correct option to re assemble code resourced by IRA kamelito Coders. Asm / Hardware 3 22 January 2023 22:16
68020 to 68000 code convertion using Ira and PhxAss gulliver Coders. Asm / Hardware 18 12 April 2014 01:09
Looking for IRA v1.07 or newer :-) voxel request.Apps 7 30 July 2008 01:39

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 21:07.

Top

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