Welcome to the Shining Force Central Forums!
SFC Forums Index Shining Forums Shining Force II
Register for your free forum account now or Login to remove this advert.

[GitHub] ShiningForceCentral/SF2RE

For collaborative reverse-engineering.

Discussion about this classic Genesis/Mega Drive game.

[GitHub] ShiningForceCentral/SF2RE

Postby Wiz » Tue May 06 2014 7:43pm

Here is project SF2RE : collaborative reverse-engineering of Shining Force II, and source of project SF2DISASM.

The project is hosted on a git repository on GitHub, under the ShiningForceCentral account :


The main purposes of SF2RE are :
- to reverse-engineer Shining Force II with IDA Pro,
- to share disassembly content with IDA Pro IDC scripts,
- and ultimately, to produce a split disassembly which can build back into the original game, while offering as much flexibility as possible for new games, hacks and mods based on Shining Force II.


Original post :
WARNING: SPOILER!
Last edited by Wiz on Sat Aug 22 2015 12:11am, edited 2 times in total.
Wiz

User avatar
Member
Member
 
Posts: 87
Joined: Sun Mar 18 2007 2:43pm

Re: [GitHub] ShiningForceCentral/SF2RE

Postby Stordarth » Thu May 08 2014 1:26am

I'm going to sticky both of these.
Stordarth

User avatar
The L-Block Anomaly
Administrator
 
Posts: 15517
Joined: Thu Sep 16 2004 3:30pm
Location: The Midlands, Staffordshire, England

Re: [GitHub] ShiningForceCentral/SF2RE

Postby Wiz » Fri May 09 2014 9:49pm

Awesome step forward today :
We have been able to produce an ASM file from an IDA Database generated only with IDC files, with no manual interaction on it. (edit : an ASM file that builds back into the original game, I mean !)
This confirms that IDC files can be our working basis for collaborative reverse-engineering.

Now anybody with IDA can make a disassembly with only these simple actions :
- Open original ROM in IDA with processor Motorola 68000
- Apply disasm/sf2.idc
- Apply disasm/ImportGeneratedFunctionComments.idc
- Apply generate/ram-migration.idc
- Apply generate/splits/splits.idc
- Apply generate/fixes/fixes.idc

With this, you have the current state of SF2's disassembly.
You can use IDA to figure out more things in the game, format and label stuff, and then export your discoveries with these actions :
- File > Produce > Dump database to IDC file ... SF2RE/disasm/sf2.idc
You can verify that your modifications still allow the disassembly to be built by getting SF2DISASM's repository content and doing these actions :
- File > Produce > ASM File ... SF2DISASM/disasm/sf2.asm
- Run SF2DISASM/build/build.bat
If it builds a rom file with no problem, and if the game runs like the original, then it's ok !

So as long as the ASM file you produce can still be built in SF2DISASM, then any contribution is welcome ! :)
Wiz

User avatar
Member
Member
 
Posts: 87
Joined: Sun Mar 18 2007 2:43pm

Re: [GitHub] ShiningForceCentral/SF2RE

Postby BigNailCow » Sun May 11 2014 10:55am

Disregard this post, I am a doofus.
BigNailCow

User avatar
Shining Hero
Shining Hero
 
Posts: 811
Joined: Mon Jun 04 2007 1:00am
Location: Dallas, TX

Re: [GitHub] ShiningForceCentral/SF2RE

Postby 68000Fiddler » Wed Apr 08 2015 10:27pm

Downloaded SF2DISASM-master and SF2RE-master, produced an asm with the listed idc scripts. However, and probably daft for asking, I can't get the bat to work, there's no sound/driver folders in disasm, just the folder asmscripts and the separated subroutine asms? I'm confused and hungry
Behold, the creepiest avatar of all
Behold, the creepiest avatar of all
68000Fiddler

User avatar
Shining Member
Shining Member
 
Posts: 102
Joined: Wed Mar 27 2013 11:33pm

Re: [GitHub] ShiningForceCentral/SF2RE

Postby Wiz » Sun Apr 26 2015 11:09pm

Woah ! Sorry for the latency, not been very present lately ... but you're right, something is wrong here !
Let's see ... hmmm. Ah. Hah !
Actually I think you didn't apply SF2DISASM's first step : split the original rom file to get all the non-ASM game assets (graphics, music, map data, etc ...).
This step should create a lot of new directories into "disasm/", including sound/driver/ for build.bat to work.

More detailed instructions to split the rom :
- put the original US rom into "split/", named "sf2.bin".
- run split/split.bat
- erm, that should do the trick. Simple !

Please don't hesitate to ask if you need anything else, glad to see some interest for SF2RE and SF2DISASM !! :)
Wiz

User avatar
Member
Member
 
Posts: 87
Joined: Sun Mar 18 2007 2:43pm

Re: [GitHub] ShiningForceCentral/SF2RE

Postby 68000Fiddler » Sun May 03 2015 11:43pm

Well that's a huge derp for me. Thanks. I'll have another look at it
Behold, the creepiest avatar of all
Behold, the creepiest avatar of all
68000Fiddler

User avatar
Shining Member
Shining Member
 
Posts: 102
Joined: Wed Mar 27 2013 11:33pm


Return to Shining Force II

Who is online

Users viewing this topic: No registered users and 1 guest