koukdw / Aquarium_tools

10 stars 0 forks source link

Improving portability #5

Open minirop opened 4 weeks ago

minirop commented 4 weeks ago

On Linux, unsigned long are 8 bytes, not 4, so datu8_dump doesn't work. I had to force standard size with '=L'.

koukdw commented 4 weeks ago

Thanks i'll change that when i have time. I've noticed 2 people starring my repo recently. Is there a translation project with nexas engine ? I can provide some research i've slowly done over a year. (All opcodes, and functions name/signature for some games, but it change slightly for every game since they add/change functions, also file layout for both bin/binu8 and dat/datu8 (not complete for the dat it's pretty much up to the game developer to add a new one but i know the layout of most common ones))

I kinda wanted to make a disassembler/decompiler for that engine, but i lack the skills so it's taking some time.

minirop commented 4 weeks ago

I stumbled on your repo by looking for tools to work with the NEXAS engine since I bought several VN on Switch that use it (but yes, I'm interested in rev eng it at last to some extend)

koukdw commented 3 weeks ago

I'll try to write some stuff, the info is mostly in my head currently.

I'll just say that nexas on switch is an absolute pain to work with until Deep One release, because until then the executable was inlined alot.

Which make everything break in IDA, you kinda have to work with the graph view since the decompiler won't work(too many blocks, doesn't matter if you increase the limit) and there's a tons of jump everywhere which make reading linear assembly impossible.

So i suggest you to RE some pc version or games that launched after Deep One because they have much cleaner assembly.

I was mostly interested with file formats and the bytecode/built-ins functions so that's what i reversed Anyway i'll go work on that stuff.

koukdw commented 3 weeks ago

I stumbled on your repo by looking for tools to work with the NEXAS engine since I bought several VN on Switch that use it (but yes, I'm interested in rev eng it at last to some extend)

Pushed some research files. I still know a lot more but it's kinda hard to write everything. Just ask question when you end up trying to reverse i might have the answer

minirop commented 3 weeks ago

nice, thanks. also, would discussions be better outside of some github issue? (discord being the obvious choice)

koukdw commented 3 weeks ago

Yeah sure you can add me my username is koukdw