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)
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.
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
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.
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.
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
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!
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
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.
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
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.
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
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
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
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?
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
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
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.
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.
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?".
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
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
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
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.
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.
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.
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.
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.
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.
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/Aggravating-Speed459 20d ago
Time to learn Japanese
4
u/josemarcio1 20d ago
Disgaea D2 pls T_T
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/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!
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.
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/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/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.
-9
u/NewSchoolBoxer 20d ago
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.
0
u/[deleted] 20d ago
[deleted] — view deleted comment