Decompiling Lunar 2 for PS1
- Erroneous
- Legendary Hero
- Posts: 1205
- jedwabna poszewka na poduszkę 70x80
- Joined: Mon Jan 13, 2003 3:08 am
- Location: Washington, USA
- Contact:
Decompiling Lunar 2 for PS1
Been watching this new twitter thread of someone who is decompiling Lunar 2 Eternal Blue for the PS1.
https://twitter.com/ZackmonX/status/1502904361709707273
There's a GitHub repository in development now.
https://github.com/Zackmon/lunar2-psx-decomp
https://twitter.com/ZackmonX/status/1502904361709707273
There's a GitHub repository in development now.
https://github.com/Zackmon/lunar2-psx-decomp
---
LunarNET Discord: https://discord.gg/yzXgsSa
LunarNET Discord: https://discord.gg/yzXgsSa
- ShugoHanasaki
- Black Dragon Wizard
- Posts: 428
- Joined: Fri Jul 07, 2017 4:53 am
- Location: Lavender Falls
- Contact:
Re: Decompiling Lunar 2 for PS1
Pardon my ignorance... What does de-compiling a game mean?
Lotus Moon Productions
- Podcasts on Independent Music Artists & Wrestling -
https://soundcloud.com/lotusmoonproductions
- Podcasts on Independent Music Artists & Wrestling -
https://soundcloud.com/lotusmoonproductions
Re: Decompiling Lunar 2 for PS1
It means that they’re attempting to take the game binary and generate equivalent code in a high level language (C in this case).
- ShugoHanasaki
- Black Dragon Wizard
- Posts: 428
- Joined: Fri Jul 07, 2017 4:53 am
- Location: Lavender Falls
- Contact:
Re: Decompiling Lunar 2 for PS1
Ah! Gotcha. Neat!
Lotus Moon Productions
- Podcasts on Independent Music Artists & Wrestling -
https://soundcloud.com/lotusmoonproductions
- Podcasts on Independent Music Artists & Wrestling -
https://soundcloud.com/lotusmoonproductions
- MagicEmperor
- Student of Vane
- Posts: 86
- Joined: Thu Nov 03, 2005 2:23 am
- Location: Beyond this World
- Contact:
Re: Decompiling Lunar 2 for PS1
So de-compiling it does what make the graphics better? game play ? please explain if you can.
Re: Decompiling Lunar 2 for PS1
makes it awesome and open source
Darkness beyond twilight
Crimson beyond blood that flows
Buried in the stream of time is where your power grows
I pledge myself to conquer all the foes who stand
before the mighty gift bestowed in my unworthy hand
Let the fools who stand before me be destroyed
by the power you and I possess...
DRAGON SLAVE!
Crimson beyond blood that flows
Buried in the stream of time is where your power grows
I pledge myself to conquer all the foes who stand
before the mighty gift bestowed in my unworthy hand
Let the fools who stand before me be destroyed
by the power you and I possess...
DRAGON SLAVE!
- Sonic#
- Pao Tribe Chieftain
- Posts: 4653
- Joined: Thu Dec 26, 2002 3:27 am
- Location: Here, there, everywhere
- Contact:
Re: Decompiling Lunar 2 for PS1
A layman's explanation - when someone is making a program, they usually use a higher-level coding language, tools made for programmers to use to build that program. They do that because the actual instructions machines use (commands that directly tell the CPU what to do) are so tedious to do manually; these tools automate more complex tasks in a more accessible way.
When programming in that coding language is finished, the program is then compiled back into the instructions machines actually use. In other words, a compiler takes the complex code and rewrites it as machine instructions that tell the CPU what to do. Games are released in these forms.
Decompiling a game is a difficult process. Compilers are only made to work one way, and there could be many ways to write valid higher-level code that executes the same machine instructions. Frequently a decompiler will generate goofy code that doesn't correspond to the original programming but would bring about the same result.
So decompiling efforts are reconstructions that try to figure out how the original game worked prior to compiling. That can provide lots of insights into how the game and its mechanics work and makes the game easily modifiable ("open source").
When programming in that coding language is finished, the program is then compiled back into the instructions machines actually use. In other words, a compiler takes the complex code and rewrites it as machine instructions that tell the CPU what to do. Games are released in these forms.
Decompiling a game is a difficult process. Compilers are only made to work one way, and there could be many ways to write valid higher-level code that executes the same machine instructions. Frequently a decompiler will generate goofy code that doesn't correspond to the original programming but would bring about the same result.
So decompiling efforts are reconstructions that try to figure out how the original game worked prior to compiling. That can provide lots of insights into how the game and its mechanics work and makes the game easily modifiable ("open source").
Sonic#
"Than seyde Merlion, "Whethir lyke ye bettir the swerde othir the scawberde?" "I lyke bettir the swerde," seyde Arthure. "Ye ar the more unwyse, for the scawberde ys worth ten of the swerde; for whyles ye have the scawberde uppon you, ye shall lose no blood, be ye never so sore wounded. Therefore kepe well the scawberde allweyes with you." --- Le Morte Darthur, Sir Thomas Malory
"Just as you touch the energy of every life form you meet, so, too, will will their energy strengthen you. Fail to live up to your potential, and you will never win. " --- The Old Man at the End of Time
"Than seyde Merlion, "Whethir lyke ye bettir the swerde othir the scawberde?" "I lyke bettir the swerde," seyde Arthure. "Ye ar the more unwyse, for the scawberde ys worth ten of the swerde; for whyles ye have the scawberde uppon you, ye shall lose no blood, be ye never so sore wounded. Therefore kepe well the scawberde allweyes with you." --- Le Morte Darthur, Sir Thomas Malory
"Just as you touch the energy of every life form you meet, so, too, will will their energy strengthen you. Fail to live up to your potential, and you will never win. " --- The Old Man at the End of Time
- Kizyr
- Keeper of Knowledge (probationary)
- Posts: 8280
- Joined: Wed Dec 25, 2002 7:36 am
- Location: Marius Zone
- Contact:
Re: Decompiling Lunar 2 for PS1
Another thing decompiling can do is make it a lot clearer things that were originally removed, hidden, or otherwise obscured in the game. Certain stat behavior, character/enemy behavior, items or spells, etc..
Which means we should finally be able to find the Dark Scimitar for real this time.
Which means we should finally be able to find the Dark Scimitar for real this time.
~Kizyr


Re: Decompiling Lunar 2 for PS1
Disassembling the MCD/SCD release would be a whole 'nother ballgame.Kizyr wrote: ↑Thu Jan 12, 2023 12:26 am Another thing decompiling can do is make it a lot clearer things that were originally removed, hidden, or otherwise obscured in the game. Certain stat behavior, character/enemy behavior, items or spells, etc..
Which means we should finally be able to find the Dark Scimitar for real this time.
Who is online
Users browsing this forum: No registered users and 9 guests