r/Disgaea • • 20d ago

Disgaea 3 Disgaea 3 PC recompilation progress

[deleted] — view deleted post

185 Upvotes

83 comments sorted by

14

u/rote330 20d ago

I found out the hard way that the game crashes on an emulator and my vita is not reading my memory stick or whatever it's name was (not even my SD2vita) so this project is the only way for me to play the game (that or hit the panic bottom and buy the PS3 original)

4

u/ChronieMewX 20d ago

Emulator got fixed a few months back finally

1

u/KatarinaMyCrush 20d ago

It got? So no more random crashes? Wow i can finally play the vita version fr 😭

3

u/Rteybs312 19d ago

The crashes aren't fixed unless you go to the options and change some settings currently. You can make a custom config for the game by right clicking on it on the emulator menu and in the setting go to the advanced section. in advanced switch the "module loading mode" to "Auto % Manual" and in the LLE Moudles list enable all 4 of the liblocation modules.

This fixes the crashes due to the vita version trying to access the gps fuction of the vita for the HQ mechanic, but with liblocation on it gets a zero returned insteead of trying to find something that doesent exist, fixing the crashes.

Ive been playing the game for the last 2 weeks for the first time and am at chapter 6 (18 hours of playtime) without any issues.

1

u/rote330 20d ago

Maybe it's still an issue on Android, game crashed during my first visit to the item world (I was at floor 7)

1

u/OMGCapRat 18d ago

It requires very specific settings to be toggled, but it does work on android.

4

u/Aggravating-Speed459 20d ago

Time to learn Japanese

8

u/vxz-z 20d ago

頑張ってね!

here is a basic list

はい = yes

いいえ = no

はじめから = from the start

つづきから = continue

2

u/Aggravating-Speed459 20d ago

thank you for thisss

4

u/josemarcio1 20d ago

Disgaea D2 pls T_T

2

u/vxz-z 20d ago

I’m working on it rn! I’m still trying to fix one annoying thing the hub world occasionally drops to 50 fps and I can’t figure out why

2

u/josemarcio1 20d ago

OMG GOD BLESS U AND GL!! ♥♥♥♥

2

u/vxz-z 20d ago

Also doing guided fate paradox too it uses the same engine so any improvements made to d2 work in it

2

u/josemarcio1 20d ago

NICE <333333333333333

2

u/Nail-Upset 18d ago

Hello, I’m working on a version of Disgaea D2, and I’ve already released a stable build. Feel free to test the version I’m porting if you’d like. It’s not quite 100% where I want it to be yet, but a good amount of content is already there. https://github.com/LUUKASR1/disgaea-d2-recomp-windows

4

u/mak22online 20d ago

I have a question it's a long shot but hear me out:  I'm trying to create a VitaCheat code for Disgaea 3: Absence of Detention  to force Axel's Mystery Room (for the 'I Had an Axeldent!' trophy) to spawn when entering an Item World Mystery Gate on Floors 61+. Since you've reverse-engineered the game's code, could you share: The RAM address (or base pointer + offset) that stores the active/queued Mystery Room ID? The exact hex value (and data size, like 8-bit or 16-bit) that corresponds to Axel's Room? Whether the room ID gets determined before stepping into the Mystery Gate (on floor load) or as you enter the gate? This is one of two trophies i am currently missing and can't find. I'm playing for two years now.

3

u/TrapFestival 20d ago

If I may make a more practical suggestion, do note that with a little trickery you can force a Mystery Gate to spawn every time you enter the Item World. Clear Floor X8 and X9 without a Mystery Gate spawning in them, and then clear Floor X0. Return to the base, save, and you should be set up to always see a Mystery Gate when you enter an item so that you can push them more efficiently.

1

u/mak22online 19d ago

Thank for the suggestion is there any written guide for this ? Or i need to do anything special? Should i gency out at x0 or x1 ?

1

u/TrapFestival 19d ago

You don't need to Gency, just take the normal exit from clearing X0.

2

u/vxz-z 20d ago

The game isn’t reverse engineered it is a static recompilation which means no game code is modified and still needs firmware and keys, all code remains in tact but every call has an answer ready to go on Windows written in C, I can’t read the games recompiled code normally because it’s not source code but using opus 5.5 it is able to convert all those functions to C which I know and can modify, once it is in c I know how to code on my own, think of it like holding your phone camera with google translate over a different language, this is why it would only work on the specific version of the game because even a single byte difference would break it.

That being said once it is in c you can do anything at all to the code as it is your own version, all vita sound and video are replaced with windows native applications built in, for steam deck I had to ship the extra replacements for Linux because they don’t come built in that’s why if you saw the sizes Linux was higher, to answer your question about the trophy yes it is possible to fix that, my pipeline has trophies support built in so you could just change when the requirement is met.

Sorry for all this yapping I’m just trying to explain what a static recompilation is compared to recomps and emulation and reverse engineering, tldr Claude opus can read the messy compiled code and turn it into code humans and computers read and it is not modifying the existing code or game files at all but it still needs them to match 1:1, regarding your question about ram it’s possible to find it but to get it to trigger on a vita with a cheat I’m not too sure

3

u/Rude_Wrongdoer8034 16d ago

Hey I found this reddit looking for Disgaea 3 on Steam and sure enough found the reddit post! So cheers! I hope you recomplie it! Please consider Legasista!

2

u/deadmastershiro 20d ago

Bro incredibly good job

2

u/Vileh3art 20d ago

Thanks OP o7

2

u/Aryuto 20d ago

Looks good! Now for clarity, the game supports English and Japanese right? You're just playing in Japanese? Or am I misunderstanding?

I like the QOL updates, and having a more accessible version of 3 will be nice!

1

u/vxz-z 20d ago

This is a static recompilation which means all bytes have to match 1:1 so using the us English version won’t work unless I specifically add the check for the changed bytes inside the builder

2

u/Aryuto 20d ago

Oh, so it is japanese only?

1

u/vxz-z 20d ago

I only own a Japanese copy of the game unfortunately

3

u/Aryuto 20d ago

Yeah that's entirely fair. Sorry, I don't want to sound like a whiny bitch, I just assumed this was for all versions of the game. Might want to clarify japanese-only in the OP unless you can add support for others.

1

u/vxz-z 19d ago edited 19d ago

It’s okay dw, other game technically might work but i have no way of testing it since im using my own copy

2

u/DoubleJumps 20d ago

fantastic, I'd love to test this out when you're ready to share!

2

u/Tkoroshi 16d ago

Found this and wanted to send cheers. Please add or consider Legasista too.

1

u/vxz-z 16d ago

ooh thats a good idea, ill go check my nearest bookoff and 駿河屋 to see if they have it for cheap, currently i am working on kamisama to unmei kakusei no kurosuteze (guided fate 2) and trinity universe!! i also have arcadias no ikusa hime in my backlog - sorry im not too sure of the english names of the games

2

u/Tkoroshi 16d ago

Meikyū Tōro Legasista -- https://en.wikipedia.org/wiki/Legasista
Please and thank you.

Edit: I swear I feel like the only person who actually loved Legasista. Well that OP was a bop.

2

u/dawnbomb 13d ago

Me and my friend are offering to test this if you would like.
I make mods for games, and am plenty savvy with dealing with technical issues playing untranslated games on emulators and stuff. My friend is a semi-casual and a disgaea fan.

I've done well organized feedback reports for game projects plenty of times before.

:)

1

u/vxz-z 13d ago

its ready and totally playable start to finish already i already got someone to confirm it works on the us version

2

u/Nostradamus0000 13d ago

Release version when?

1

u/vxz-z 13d ago

testing is live now for japanese but eng is almost done

1

u/Nostradamus0000 12d ago

Awaiting anxiously. Link or github on release?

1

u/lowlevelfiend 20d ago

Fantastic news. Please keep up the amazing work.

1

u/NekoKatMyaw 16d ago

D5 Complete with touch screen support when

1

u/vxz-z 16d ago

You already can go download steamlink app and run it off your pc

2

u/NekoKatMyaw 16d ago

I use artemis specifically.. but i meant a local app you can run in your mobile like the other recompilations.

Goodluck with your Project my dude!

1

u/vxz-z 16d ago

Oh I see, well this d3 recomp is vita so it’s touch enabled by default

1

u/funnychunguskeanu 16d ago

Will the link go back up when its in English 

1

u/SalistraAuthor 12d ago

You mean AI is working on.

Please be honest.

1

u/vxz-z 12d ago

No problem, I’ll be honest I used Claude to convert the ARM binary calls and vita system into native windows replacements and then the code into C++, once it was in c++ I worked on it manually for a large majority of optimizing it and for auto heal, auto save, speed up, load times and 60fps, the only thing I did use ai for besides that was for looking at my pc copy of disgaea 4 and converting that camera system to c++ so I could manually add that in replacement of the d3 one, hope this helps clear things up, if you have any questions please feel free to ask

1

u/vxz-z 12d ago

And to be honest I find it easier to do that stuff manually it’s easier for me to edit values in VS rather then constantly asking the ai to fix it, tbh ai is slower at that then me doing it by hand and I’m on the cheapest Claude plan so I don’t want to burn tokens on something I can easily do myself

-1

u/SalistraAuthor 12d ago

As an actual software engineer with educational background, it's annoying that people are breaking so many rules when it comes to ethics. It's fine to use AI, but you need to be responsible.

I develop vs I used AI to create are completely different.

Also just letting you know, these types of projects will land you in legal trouble because it breaks DMCA. Normally people do this on throwaway accounts with emails that don't link directly to them.

If you didn't lmfao, oh boy you're going to love what's coming next. Sent the company your github

1

u/vxz-z 12d ago edited 12d ago

I also program, if your asking if I vibe coded no I didn’t I used it as a tool and understand what I’m actually doing and writing - it is a static recompilation so as a professional software engineer that means you know what that is so there is zero original game data but you already know that the method of static recompilation is not the original code and requires the users own so its legal, but your an expert on static recompilation right?

Please be honest. :)

1

u/vxz-z 12d ago edited 12d ago

Actually you know what this is the third time I tried to do this, I have been working on this for weeks and finally made it fully playable and then i get annoying people like this so I’m kinda done someone else do it, I’ll just play it myself, if anyone wants the game ask the software engineer SalistraAuthor to do it instead he’s the expert

1

u/SalistraAuthor 12d ago

You're a 5 year old dude lol

1

u/vxz-z 12d ago

I’m a 26 year old girl

0

u/SalistraAuthor 12d ago

I'm an expert on computers in general lol. And I have taken classes involving laws with software development and the ethics behind them.

This project is completely unethical and I'm telling you now, you will likely get a lawsuit.

2

u/Vivid-Hovercraft6126 12d ago

''iM An expErt on compUters" 🤓🤓🤓

0

u/SalistraAuthor 12d ago

Idiocracy spreads wide on reddit it seems

1

u/vxz-z 12d ago

Ok you do it on your local machine without distributing and show me you can do it

1

u/SalistraAuthor 12d ago

If I had enough time, sure.

1

u/vxz-z 12d ago

Look I know your malding over ai because it will replace your job dw I hate ai too, neither you or I can or should read the games compiled code, using ai is used as a clean room implementation for converting those functions to another language (in this case C++ because that’s what I am best with) so none of the original data is modified at all and I only manually edit that version of the code which is not illegal, sorry I got annoyed before I was frustrated because I put so many manual hours working on it and wanted to allow people to play a game they legally have to own on a modern platform because nis refuses to do it

1

u/SalistraAuthor 12d ago

I work in AI lol. And no AI won't replace engineers. The first jobs to go first will likely be customer service jobs, my guy.

But yea sure.

-9

u/NewSchoolBoxer 20d ago

i would like to mention i did use claude opus 5.5 for a majority of this port but also did a lot of manual work too

I think you Claude Coded everything. You single handedly ported one PSP game to PC, added new features, are 3/4 the way for another and show no progress like entry level homebrew games.

You have no legal defense against Nippon Ichi Software. You reverse engineered the full game. The 83 MB and 239 MB downloads are derivative works using their IP.

6

u/nightmare-b 20d ago

vita game not psp

9

u/TrapFestival 20d ago

You'll have to excuse me if I don't have much sympathy for the company who refused to build a PC release for the game themselves when they could've done exactly this, sold it for thirty bucks on Steam, and made basically free money.

1

u/[deleted] 20d ago

With the insane prices they've been giving it'd probably be 40 at least.

1

u/TrapFestival 20d ago

Six or one, if the bar is so low that individuals can do it without any guff, NIS has no excuse. The only reasonable reservation comes from the fact that people will whine about it, but it always circles back to "Do you want it or not?".

6

u/Stunning-Drawer-4288 20d ago

Leave the multi million dollar company alone 😡

4

u/Shidarai 20d ago

At this point, with NISAs financials and game sales lately. Theyre more like a hundred thousand dollar company LOL

3

u/vxz-z 20d ago edited 20d ago

its gone now :), no i didnt reverse the game it is a static recompilation totally different, i was wanting to allow fans who own the game but want to play it on something other then the vita to play it, nis still hasnt ported disgaea 3 or d2 to pc and now its finally possible to do it ourselves using our own legal copies

2

u/Klutzy_Worker2696 19d ago

What’s the difference between a decomp/recomp and a static recomp?

2

u/vxz-z 19d ago edited 19d ago

thats a good question its a bit confusing but i would explain it like decomp = reverse engineered into source code 1:1, recomp = uses that decompiled source code to modify and repackage it, static recomp = none of those, game stays untouched you dont need to decompile it, everything is translated to a language your computer can read c, c++ or rust and then 1 you can modify it and 2 it means it runs natively, up until now static recomps werent as much of a thing because claude opus is able to read the random jumbled mess of arm cpu calls and translate that all to c instantly, but once its in c humans can read it and modify it as they like, its kinda interesting, you get way better performance because its native your not translating on the fly like emulation(jit) its already translated ahead of time, the only limitation is you will notice most require launchers, this is because you actually build the game yourself on your computer into an exe file so you supply the game and firmware and it packages that into a runnable exe version for you (takes about 2-5 mins to build depending on pc), oh and one other limitation the static recomps only work on that specific version of the game because even if one single value is different it wont work and will need to be re translated to c from that version, if you own a steamdeck its just like proton but for other game systems

0

u/[deleted] 20d ago

[deleted] — view deleted comment

12

u/vxz-z 20d ago

no assets are being shared, it uses your own files, i would love NIS to release a proper port i have bought every single game its my favourite game series, i live in japan so there is a lot of risk but it requires an owned copy of the game to play

3

u/KaleidoArachnid 20d ago

This looks great so far.

-2

u/TheMostToastedOne 20d ago

Unfortunately NIS stated that it's not going to happen because of how unique the architecture was for the PS3 and how god-awful it was to even make the game for the PS3.

They have stated over and over again that the resources and money needed to Port over the game to PC or any other console for that matter would be the same as just starting from scratch and would require redevelopment.

The PS3 is a black sheep system when it comes to porting games, if a game developers didn't port it to xbox and was only on ps3 then the game was pretty much dead after that console if the developer didn't have the funds for redevelopment into porting..... And that's why mainly only major Sony backed titles are ported to PS4/PC from PS3.

Sony's PS3 cell processor was just such a radical piece of hardware and it's why the PS3 had such a rocky start and tons of crashes and software issues when the console first launched.

2

u/LolcatP 20d ago

It's literally on vita and they ported d4 from vita too

-1

u/TheMostToastedOne 20d ago

I'm talking to other non Sony consoles, D4 has been ported to PC because the PS4 shares a similar architecture to the x86 architecture that PCs use.

D3 will never be ported and NIS has stated as such when it was asked why D3 was the only game not to get a PC port.

2

u/LolcatP 20d ago

D3 and 4 were in the same situation

1

u/TheMostToastedOne 20d ago

D3 was released in 2008 and D4 was released in 2011 literally 2 years before the end of the PS3 cycle and PS4 release, NIS did a poll and D4 supposedly won the poll and port devolvement went into effect well they were still making new titles.

That said a real port wasn't released till 2018....it took that long to optimize the game from the cell processor to x86 architecture by NIS themselves, as for the VITA, Sony helped tons on that to push that failure of a handheld so they could have a decent game library which didn't help the VITA in the end.

Only now do the vitas kinda shine as emulator's that are made from actual gaming systems, but aftermarket emu rigs have far outpaced that dated hardware.

1

u/rote330 20d ago

The vita and PSP are great system, but my ayn Thor is much powerful and the hardiis newer so...

I'm guessing the best shot we have at getting a D3 rerelease is a remaster that reuses D5~D7 engine and assets.

1

u/TheMostToastedOne 20d ago

Would be the best bet but that's far above my paygrade, for now I'm good with a psp emulator and D2 if I'm on the go with a 8bitdo micro controller and my phone.

1

u/rote330 20d ago

Neat, I just installed the PC version on my phone with gamehub

2

u/TrapFestival 20d ago

One, if they were going to do it then it'd be the Vita version, not the PS3 version.

Two, they could literally just do this themselves and sell it for thirty bucks. If it's so easy some rando on Reddit can do it, then no shit a company that makes games from scratch could do it. Ditto with DD2.

3

u/Moist-Shallot-5148 20d ago

I don’t get the issue. As long as you don’t make money from it they generally don’t take action and as long as you supply your own files it’s all good. In the worst case if they want to take action they’ll send a dmca first and then op can just take down the offending files, it doesn’t instantly go to lawsuit.

0

u/SpunkMcKullins 20d ago

They can't, or at least probably shouldn't be the ones to try. If anyone will try to crack down on recompilations, it'll be a large, litigious company that has already been affected, such as Adobe. NIS isn't financially in a position to try and headline a landmark fair use trial, and even if they were, there is precedent in Sony v. Bleem that reverse engineering software is perfectly legal as long as copyrighted assets are not distributed with it.