Decompiling Lunar 2 for PS1

This board is for general discussion of Lunar. Especially things such as Lunar merchandise, general discussions about the story that span more than one game, etc.
Post Reply
User avatar
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

Post by Erroneous »

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
---
LunarNET Discord: https://discord.gg/yzXgsSa

User avatar
ShugoHanasaki
Black Dragon Wizard
Posts: 428
Joined: Fri Jul 07, 2017 4:53 am
Location: Lavender Falls
Contact:

Re: Decompiling Lunar 2 for PS1

Post by ShugoHanasaki »

Pardon my ignorance... What does de-compiling a game mean?
Lotus Moon Productions
- Podcasts on Independent Music Artists & Wrestling -

https://soundcloud.com/lotusmoonproductions

Mr_conan
Saith Pirate
Posts: 13
Joined: Sat Mar 02, 2019 4:51 pm

Re: Decompiling Lunar 2 for PS1

Post by Mr_conan »

It means that they’re attempting to take the game binary and generate equivalent code in a high level language (C in this case).

User avatar
ShugoHanasaki
Black Dragon Wizard
Posts: 428
Joined: Fri Jul 07, 2017 4:53 am
Location: Lavender Falls
Contact:

Re: Decompiling Lunar 2 for PS1

Post by ShugoHanasaki »

Ah! Gotcha. Neat!
Lotus Moon Productions
- Podcasts on Independent Music Artists & Wrestling -

https://soundcloud.com/lotusmoonproductions

User avatar
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

Post by MagicEmperor »

So de-compiling it does what make the graphics better? game play ? please explain if you can.

User avatar
kazuya
Lyton Singer
Posts: 41
Joined: Sun Jul 21, 2019 4:52 pm

Re: Decompiling Lunar 2 for PS1

Post by kazuya »

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!

User avatar
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

Post by Sonic# »

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").
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

User avatar
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

Post by Kizyr »

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.
~Kizyr
Image

User avatar
DevNall
Blue Dragon Ninja
Posts: 635
Joined: Wed Dec 31, 2003 7:33 am
Location: Unknown

Re: Decompiling Lunar 2 for PS1

Post by DevNall »

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.
Disassembling the MCD/SCD release would be a whole 'nother ballgame.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests