[Tools] Etripator

hu, cd, scd, acd, supergrafx discussions.
User avatar
MooZ
Site Admin
Posts: 397
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Fri Sep 04, 2015 8:08 am

I resumed working on it some weeks ago. It's mostly code clean-up.
Anyway, here are the two major features of the next version:
  • Support for mirrored ROMs.
  • Better CD support.
  • Predefined labels : You'll be able to specify in the configuration file a list of name/address. This would be useful for CD-ROM in order to highlight BIOS calls.
edit: Here's the branch for those interested : https://github.com/BlockoS/Etripator/tree/v0.4

User avatar
MooZ
Site Admin
Posts: 397
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Sun Sep 27, 2015 4:44 pm

All of the above is ready to be released.
The label filename is a standard CFG/INI file like the main configuration file. It looks like:

Code: Select all

[cd_boot]
logical=e000
physical=000000

[cd_fade]
logical=e02d
physical=00002d

User avatar
MooZ
Site Admin
Posts: 397
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Sat Oct 10, 2015 4:46 pm

Here's a little work in progress tutorial: https://github.com/BlockoS/Etripator/tr ... r_puroresu

User avatar
MooZ
Site Admin
Posts: 397
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Sun Oct 18, 2015 4:08 pm

Etripator v0.4 released: https://github.com/BlockoS/Etripator/releases
What's new:
  • Labels file : This lets you add a name to a physical/logical address.
  • Examples/tutorials : Examples were added for hucard and cdrom disassembly.
  • Various bugfixes and internal rework.
Only the source code is provided for the moment.

User avatar
freem
Posts: 2
Joined: Tue Mar 11, 2014 6:37 am
Location: Chicago
Contact:

Re: [Tools] Etripator

Post by freem » Sun Oct 18, 2015 7:48 pm

I've compiled a Windows executable version of 0.4 with GCC and such (might require some DLLs which I don't remember off the top of my head).

Visual Studio compilation chokes on line 153 of section.c, since it doesn't know what F_OK is.

User avatar
MooZ
Site Admin
Posts: 397
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Mon Oct 19, 2015 11:52 am

Thanks for the binary and the bug report.

As always I forgot that Visual C++ is not really POSIX compliant. That'll also teach me to compile under Visual C++ even if the code looks portable enough.
Anyway, the remedy would be to do something like this in platform/windows/config_win.h :

Code: Select all

#ifndef R_OK
#define R_OK 0x02
#endif
#ifndef W_OK
#define W_OK 0x04
#endif
// X_OK does not exist on msvc
#ifndef F_OK
#define F_OK 0x00
#endif
I'll fix this this evening.

edit: Fixed!

User avatar
MooZ
Site Admin
Posts: 397
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Sat Dec 23, 2017 10:51 pm

New version!
https://github.com/BlockoS/Etripator/releases/tag/v0.5

Config and label files are now JSON files.
MPRs can be set in config files. This way physical addresses are not needed anymore in label file. The hardware page is used instead.
Startup code and gfx can now be automatically extracted from CDROM data tracks.
Nicer logs, fixed bugs...

User avatar
MooZ
Site Admin
Posts: 397
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Wed Aug 22, 2018 4:52 pm

New release!

https://github.com/BlockoS/Etripator/releases/tag/v0.6
  • Label file format was changed.
  • You can now specify multiple label files to the cli.
  • New formatting options were added to inc_data sections.
  • Labels can now appears inside inc_data sections.

Griever
Posts: 2
Joined: Wed Nov 07, 2018 9:59 am

Re: [Tools] Etripator

Post by Griever » Thu Nov 08, 2018 3:38 pm

Sorry for noob question, but I tried your tool with several *.pce ROMs using this instruction for Monster Puroresu:
"As we are starting from scratch, the first thing to do is to a perform an automatic IRQ vectors extraction. This is done by calling:
./etripator -i rom.pce "
But it gives me nothing in command string, just the empty log file. I use Windows 10 command string.
Do I miss something?

User avatar
MooZ
Site Admin
Posts: 397
Joined: Sun Jun 22, 2008 3:19 pm
Location: Lvl 3
Contact:

Re: [Tools] Etripator

Post by MooZ » Fri Nov 09, 2018 3:29 pm

Weird... I just ran a test with the 0.6 and master on Linux and everything seems to be working fine.
Do you run it from a terminal like cmd or mingw bash?

Post Reply