|
Post by apraxiumrum on Oct 18, 2019 16:55:48 GMT
It's.. kinda embarrassing. But better to be embarrassed than to never try at all. I've been trying dshadoff's Translation patch guide hoping to get some understanding of the ropes here, since about 3 weeks (with Job hours mind you ). Right now I am in the part about finding a disassembler to fiddle with some small PCE games. dshadoff was kind to point to Etripator disassembler. I got it, and tried to follow the tutorial... But I never tried running something consisting of multiple C files! I am feeling lost trying to figure what I should do. Can anyone give me a step-by-step guide to actually run the thing? I'd really appreciate it!
|
|
|
Post by elmer on Oct 18, 2019 21:08:56 GMT
I got it, and tried to follow the tutorial... But I never tried running something consisting of multiple C files! I am feeling lost trying to figure what I should do. Can anyone give me a step-by-step guide to actually run the thing? I'd really appreciate it! No problem, it's a programmer-thing. Dave gave you the link to the Etripator source files, which you can use to build your own copy of Etripator, which you'll need to do if you're running on a Linux or Mac computer, or something like that. If you're using a computer that is running a 64-bit version of Windows, then Mooz has a prebuilt version of Etripator that you can use. You can find it here ... github.com/BlockoS/Etripator/releases/tag/v0.7
|
|
|
Post by apraxiumrum on Oct 19, 2019 7:30:42 GMT
Thanks Great Elmer, I didn't take that into consideration. Though I am but into a bit of a predicament, my personal computer is only 32-bit. I do have 64-bit laptop that belongs to my brother, but it'd feel cumbersome to go back and forth to it. Is there a way to change Mooz's Etripator to work on 32-bit Window 7 from the source code? Edit: Tried installing Cmake for 32bit, and tried building the Etripator 0.7. Too bad I am not out of the woods yet.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 21, 2019 1:16:10 GMT
I don't remember exactly how I've built it but IIRC there were some old deprecated dependencies you needed to download first (might have been changed on the newer version at the github page).
You should try CMake GUI, it will save you a lot of headache if you're not an expert with make and CMake (like I am lol). Should be easy to link your VC++/GNU C compiler, check dependencies and set flags.
|
|
|
Post by elmer on Oct 21, 2019 2:38:14 GMT
Should be easy to link your VC++/GNU C compiler, check dependencies and set flags. I rather suspect that apraxiumrum may not have actually installed a compiler, yet ... which would be his next step in order to be able to build his own 32-bit copy of Etripator. I tried using Etripator at one point for translation-hacking, but I found that it was far-easier to just modify Mednafen to disassemble a memory range to a file on the PC's hard drive. That (for me) makes it easy to add notes to a disassembled text file while you're still running the game in Mednafen.
|
|
mooz
Deep Blooper
Posts: 29
|
Post by mooz on Oct 21, 2019 21:08:53 GMT
|
|
|
Post by apraxiumrum on Oct 22, 2019 18:32:36 GMT
Thanks a bunch MooZ! It actually worked this time! Were it not for you, I would be still downloading from vs_BuildTools.exe the entire content, and still not make it work!! I've uninstalled it, but it stolen 5 GB from my harddisk. It runs now, but I think the next predicament is on me. When I run etripator -i dorabocchan.pce, a "etripator has stopped working" message pops up. I didn't understand the starting part of the Tutorial on Monster Pro Wrestling included in the github page. C:\etripator\bin contains etripator.txt, etripator.exe and dorabocchan.pce only. What should I do to set the working directory corectly??
|
|
mooz
Deep Blooper
Posts: 29
|
Post by mooz on Oct 22, 2019 21:48:52 GMT
|
|
|
Post by apraxiumrum on Oct 23, 2019 10:07:52 GMT
Yes!! It's working now for real! Thanks again Mooz! For making it and helping me with it! Now it's just doing this in such a non-ending loop. Did I do anything wrong? The rom in question here is Makai Prince Dorabocchan (dorabocchan.pce for short). When I applied the steps and method on Monster Pro Wrestling (J).pce, it worked and Finished!! Why didn't that happen for Dorabocchan.pce and as well as, Dragon Slayer 6: Eiyuu Densetsu II?? Both of them looped endlessly!! I suspect the .json file. I applied etripator on monster.pce with monster.json from the tutorial. How do you make it for a different game?
|
|
mooz
Deep Blooper
Posts: 29
|
Post by mooz on Oct 23, 2019 12:28:19 GMT
Are you using the json file for Monster Pro Wrestling on Makai Prince Dorabocchan? If that's the case, it may normal to have such behaviour. Json configuration files are game specific.
|
|
|
Post by apraxiumrum on Oct 23, 2019 13:41:49 GMT
If that's the case, it may normal to have such behaviour. Json configuration files are game specific. I figured as much. How do you "create" a configuration file.json for the game you run Etripator on? The tutorial included Monster Pro Wrestling's json file, but I have no clue how did you make it.
|
|
mooz
Deep Blooper
Posts: 29
|
Post by mooz on Oct 23, 2019 17:07:26 GMT
It all depends on what you are wanting to do. Usualy you run mednafen, open the debugger and set memory red/write breakpoints on some locations (vram, joypad...) and voilà! When it triggers you note the current program location as long as the mpr values and use it for your configuration.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 23, 2019 17:21:13 GMT
It all depends on what you are wanting to do. Usualy you run mednafen, open the debugger and set memory red/write breakpoints on some locations (vram, joypad...) and voilà! When it triggers you note the current program location as long as the mpr values and use it for your configuration. Yeah that's what it ultimately boils down to. If you're doing a HuCard, a decent starting point is to check out the bank that starts mapped in MPR 7 on console boot (I don't remember which though) and just have etripator run off the "reset" pointer. You can then set up a breakpoint to that same address in Mednsfen so you can step through the code.
|
|