Author Topic: New application to find files  (Read 4340 times)

0 Members and 1 Guest are viewing this topic.

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
New application to find files
« on: 20:11, 19 May 11 »
Yesterday arnoldemu and me had a crazy idea:
Why not search a folder full of files for every file which contains a special binary code (or string)
So I coded a little tool which does this.
You can use it for example to find all cpc+ games in a folder or in it's subfolders.
Just search for the ASIC unlock code:
ff 77 b3 51 a8 d4 62 39 9c 46 2b 15 8a

It will list all DSK, CPR or other files (BIN etc...) which contain this code sequence.

You can of course also search for a string. Just select "As String" and enter your search string (case sensitive here!)

You at least need the first search field filled.
When you also fill out the 2nd search field, all files are listed, which contain data from searchfield A and from B
When you fill the 3rd search field, too, all results are shown which contain data from A, B and C.

The tool also crawls through ZIP files and lists the sip entries, too...

When you click then on "Export" a txt file is stored in the FileCrawler's directory containing the result list.

Screenshot and download:
« Last Edit: 20:13, 19 May 11 by Devilmarkus »
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: New application to find files
« Reply #1 on: 20:29, 19 May 11 »
Funny result:
I tested the CPCGamesCD for all games which contain the ASIC unlock mechanism.

Then I found this one: "Bumpy's Arcade Fantasy"

Well, it dont use any visible + effect, but it unlocks ASIC... Crazy.
Perhaps someone could find out, why and if it does use + features?

You find the game here: http://www.cpc-power.com/index.php?page=detail&onglet=dsk&num=500
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline fano

  • Supporter
  • 6128 Plus
  • *
  • Posts: 833
  • Country: fr
  • Easter Egg Programmer
    • Easter Egg
  • Liked: 272
  • Likes Given: 606
Re: New application to find files
« Reply #2 on: 22:05, 19 May 11 »
Well, it dont use any visible + effect, but it unlocks ASIC... Crazy.
Perhaps someone could find out, why and if it does use + features?
Maybe because it was planned on + first and some code has not been removed (we can find sometimes some unexpected things in binaries like parts of source code for example)

BTW nice app  ;)
"NOP" is the perfect program : short , fast and (known) bug free

Follow Easter Egg products on Facebook !

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: New application to find files
« Reply #3 on: 23:41, 19 May 11 »
Funny result:
I tested the CPCGamesCD for all games which contain the ASIC unlock mechanism.

Then I found this one: "Bumpy's Arcade Fantasy"

Well, it dont use any visible + effect, but it unlocks ASIC... Crazy.
Perhaps someone could find out, why and if it does use + features?

You find the game here: http://www.cpc-power.com/index.php?page=detail&onglet=dsk&num=500
Nice find.

Yes it does unlock the features, but it doesn't seem to use anything.
I haven't looked at the code in detail just looked at the values in the debugger.
Nice find though.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: New application to find files
« Reply #4 on: 11:43, 20 May 11 »
There is code in there to write to the plus palette, I don't see where it's used yet.
Is there an original version out there?
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline Kris

  • 6128 Plus
  • ******
  • Posts: 554
  • Country: fr
  • Team Impact
  • Liked: 219
  • Likes Given: 822
Re: New application to find files
« Reply #5 on: 00:20, 22 May 11 »
Nice tool !! Very easy to use and funny results as you mention above  :-\

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: New application to find files
« Reply #6 on: 00:38, 22 May 11 »
Nice tool !! Very easy to use and funny results as you mention above  :-\

Thankyou. Yes the results are funny sometimes.

Our idea was to find in all CPC games the code to control the Amstrad SSA-1 speech synthesizer.
We wanted to find all games which use hardware speech.
But we did not find the proper code signature we should search for.
01 EE FB 49 exist in MANY games!!!  ???
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: New application to find files
« Reply #7 on: 11:25, 23 May 11 »
Thankyou. Yes the results are funny sometimes.

Our idea was to find in all CPC games the code to control the Amstrad SSA-1 speech synthesizer.
We wanted to find all games which use hardware speech.
But we did not find the proper code signature we should search for.
01 EE FB 49 exist in MANY games!!!  ???
We discovered the problem. The port is also shared by the PDS system, and it seems it's this code it finds mostly.
But also interesting to know the games developed with such a system.

However, i think the tool is still useful.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: New application to find files
« Reply #8 on: 16:13, 23 May 11 »
I looked at Bumpy's Arcade Fantasy.
I found the unlock sequence.
there seems to be some code for checking if it's plus, and then it sets location 0037 to 1, but it has been removed it seems :(
But if you run the game, poke 0037, then you'll get plus colours. You may have to stop it just after it does the unlock sequence.
@273a should do it.
I don't know if it's a bad crack, or it was deliberately modified.
I see other parts of code which have lots of nops like some code has been removed after the game was built.
the check comes before the unlock sequence, so it must be doing something else to detect plus... (there are other ways without unlocking the features)



My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: New application to find files
« Reply #9 on: 16:23, 23 May 11 »
Ok I think I found the patch:

271b should be: cd d4 bc
or also known as "KL FIND COMMAND".
Well I am sure this is what was in original.

before this is a LD HL,&2ABE which points to the text "GAM","E"+&80
so the code searches for the |GAME RSX (to be found in system rom), then if it's found, it then sets the flag and + mode will work.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: New application to find files
« Reply #10 on: 16:38, 23 May 11 »
Thanks to Kevin I tested the game with CPC+ palettes.
Sadly JavaCPC cannot show the hall of fame, but I used WinApe here for the last screenshot.

Well, a possibility is, that CHANY disabled the Plus-Features of this nice game, because his CRAPPY intro does not work on CRTC type 3.
We cannot approve this until we don't find a original dump of the game... :(

But here are my screenshots:
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: New application to find files
« Reply #11 on: 16:56, 23 May 11 »
The titlescreen looks almost like the DOS version:
http://retropower.eu/dos.php?file=bumpy&boot=b
Cool...
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline CPCLER

  • CPC664
  • ***
  • Posts: 104
  • Country: dk
  • Pecunia non olet
  • Liked: 3
  • Likes Given: 37
Re: New application to find files
« Reply #12 on: 18:02, 23 May 11 »
Great find  ;D

/CPCLER

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: New application to find files
« Reply #13 on: 23:35, 23 May 11 »
Indeed!
Chany fucked up the game!
We managed to get a working dump of the original disk! (GAP protection)
This disk also has the + features!!!  ???

The original game uses 2 sides.

Edit: Attachments removed. The original dump is bad...
Dlfrsilver is working on it...
« Last Edit: 23:43, 23 May 11 by Devilmarkus »
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline redbox

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.751
  • Country: gb
    • redbox
  • Liked: 326
  • Likes Given: 267
Re: New application to find files
« Reply #14 on: 11:44, 24 May 11 »
That's a seriously cool discovery, well done Devilmarkus and arnoldemu.


So I take it you have all the software images available on your HDD?  And that there are no further hidden Plus finds...?

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: New application to find files
« Reply #15 on: 11:46, 24 May 11 »
Well I just checked all games on the CPCGamesCD.
Perhaps there exist more games and maybe 1 or 2 of them use + code...
Don't know...
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline Kukulcan

  • CPC464
  • **
  • Posts: 16
  • Country: 00
    • cpc-power
  • Liked: 19
  • Likes Given: 1
Re: New application to find files
« Reply #16 on: 13:12, 25 May 11 »
Sadly for  Bumpy's Arcade Fantasy don't work fine.
Title screen, menu, hi-score is perfect, but only start game = black screen.
I hope than other original dumped and run correctly  :D  is funny to see CPC+ version.

Offline Kukulcan

  • CPC464
  • **
  • Posts: 16
  • Country: 00
    • cpc-power
  • Liked: 19
  • Likes Given: 1
Re: New application to find files
« Reply #17 on: 12:09, 28 May 11 »

Bumpy's - Arcade Fantasy [CPC CPC+]


With the original dump, the memory is bad after choice of Platform Number


Need to poke this value for playing :


poke &8000, &C3
poke &8001, &03
poke &8002, &81
poke &8015, &42
poke &8016, &4A
poke &8018, &2F
poke &8029, &2F


but surely a problem of read protection ?

Offline RockRiver

  • CPC664
  • ***
  • Posts: 115
  • Country: aq
  • Liked: 18
  • Likes Given: 52
Re: New application to find files
« Reply #18 on: 16:45, 30 May 11 »
Do you think that this application could help us to find and extract z80 code for AY to make (and later play) *.AY files easer way than CPCSNIP or AYMakeR ?Sadly I'm a "traditional" score musician (only MIDI user) not coder... I want to compose on MIDI and then go to YM and AY to 8bit computers. I have to learn Z80 assembler?????





Offline AMSDOS

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.764
  • Country: au
    • index.php?action=treasury
    • Programs for Turbo Pascal 3
  • Liked: 1011
  • Likes Given: 1723
Re: New application to find files
« Reply #19 on: 09:42, 04 June 11 »
Sounds useful for looking up which games use firmware (not that very many would  :-[ ). Does this application support wildcards or will there be any plans to incorporate wildcards?
* Using the old Amstrad Languages :D   * with the Firmware :P
* I also like to problem solve code in BASIC :)   * And type-in Type-Ins! :D

Home Computing Weekly Programs
Popular Computing Weekly Programs
Your Computer Programs
Updated Other Program Links on Profile Page (Update April 16/15 phew!)
Programs for Turbo Pascal 3

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
  • Liked: 1012
  • Likes Given: 926
Re: New application to find files
« Reply #20 on: 00:13, 10 December 11 »
Edit: Attachments removed. The original dump is bad...
Dlfrsilver is working on it...

Any news here?
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release