English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   request.Apps (https://eab.abime.net/forumdisplay.php?f=12)
-   -   Adf Sector editor under Windows (https://eab.abime.net/showthread.php?t=93771)

Giants 12 August 2018 21:15

Adf Sector editor under Windows
 
Hi !

I don't know if this tool already exist

I would like to see/edit the contens of adf file (in Hexa/texte) under windows
But, I would like to navigate on this adf file as I were in deksid on Amiga.

So :
- Load a ADF file
- See the content in hexa/text (like any hexa editeur)
- And navigate in this adf file with Cylinder, sector and Size

Maybe it's already exist ?!

jarre 13 August 2018 08:45

i'm using: HxD - Freeware Hex Editor and Disk Editor, https://mh-nexus.de/en/hxd/

except the navigate, i'lkl thing this is a great editor

Steffest 13 August 2018 08:56

I made a browser based version of such a tool some time ago to quickly inspect an ADF and extract some files:

http://stef.be/adfviewer/

Just drop your adf on the page and you're good to go.
Let me know if you're missing some features.

It doesn't write to Adf. Read only.

Giants 13 August 2018 09:50

Thks but... It's Not m'y question :)
I also use hxd under Windows but as you say, no navigation in 'cylinder', sector, side.
It's just.... An hexa editor Like Others.

Your adf viewer is good but I would Like a standalone application.
I can also code à Web-interface to 'surf' in à adf but, Not the goal.
It's will already browser used.

So, it's Not exist?
Because it's a bit boring to start winuae and use a deksid just to navigat in adf.

chip 13 August 2018 10:01

I guess it doesn't exist :agree

Giants 13 August 2018 14:59

Well, I think too.

Maybe it's a good projet for learning Gui on C with windows, never do this.
maybe another language is better ?

chip 13 August 2018 16:19

I'm not an expert of programming languages to know what particular language is preferable for a certain project

The last i learned was C, made some standard exercises and just a little of "serious" development (no GUI at all)

I found it not so amazing, sincerely

It's probably powerful, but i will not call it user-friendly

I guess to make a Windows application there are better options than C ;)

heavy 13 August 2018 17:59

why not use an Amiga Tool for that ? adf is a amiga disk image
try Disk X for example (block/track/sector/head in hex/ascii
http://aminet.net/package/disk/misc/DiskX

for Windows, I only know an old tool by Alpha One : ADF Magic
you can view hex/ascii/disassemble/text
but not select track/sector/head, only hex offset

heavy 13 August 2018 18:38

Quote:

Originally Posted by Steffest (Post 1260678)
I made a browser based version of such a tool some time ago to quickly inspect an ADF and extract some files:

http://stef.be/adfviewer/

Just drop your adf on the page and you're good to go.
Let me know if you're missing some features.

It doesn't write to Adf. Read only.

great

off topic:
is it possible to add a writeFile function ? (copy selected files to an existing template adf) ? I don't know well the adf api

Steffest 13 August 2018 19:21

Quote:

Originally Posted by heavy (Post 1260801)
great

off topic:
is it possible to add a writeFile function ? (copy selected files to an existing template adf) ? I don't know well the adf api

Sure, a 2 window view à la Directory Opus is still on the TODO list.
Up to now I was too lazy to figure out the checksum calculations needed for writing to a sector :-)

idrougge 13 August 2018 21:48

The closest thing I can think of is TSXBIN, a Japanese hex editor. It has a C-like template language for file types and even comes with one such template for editing D88 disk images. Making an ADF template should be much simpler than the D88 template.
http://www.net3-tv.net/~m-tsuchy/tsuchy/tsxbin.htm

Giants 14 August 2018 11:56

The goal is Not to editing adf, it's surf in the adf with cylinder sector, Head button.
Editing adf already exist and we can do it with some software.

I find à hexa source with gui, I will going to see that.

heavy 14 August 2018 12:11

what?? if you can edit, you can "surf" ... ?!?

Giants 15 August 2018 11:52

Surf with sector, cylinder and Head Not surf in hexa position.
Need work just Like deksid on amiga.

jotd 22 December 2019 18:29

is there's a possibility to write files to a blank .adf file from outside Winuae (native windows)?

Or create a bootable disk with a given set of files on it (clobbering the existing data on the .adf if any).

This would be super-useful to create distributable floppies from windows for my games, since all data is created on Windows

chip 22 December 2019 18:39

I don't know if this can help


http://www.pouet.net/prod.php?which=66640

jotd 22 December 2019 21:01

yes, exe2adf is close enough. But it doesn't allow to customize startup sequence (for instance to add a call to "stack"). And the source isn't provided...

I could hack the .adf output though by changing stuff in the original startup sequence. I'll try that


All times are GMT +2. The time now is 19:46.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04672 seconds with 11 queries