Welcome Guest ( Log In | Register )


Help | Search | Members | Calendar
IRC Chat: irc.badnik.net | CGI:IRC
IPB
home | info | forums | svn | irc | podcast | about
118 Pages V  « < 115 116 117 118 >  
Reply to this topicStart new topic
> Basic Questions & Answers thread, NEWBIES: Start here!
 NeKit
post Nov 2 2009, 05:41 PM
Post #1741




Group Icon

Group: Members
Posts: 11
Edits: 52
Joined: 19-September 08
From: Russia




Wiki Restoration Contributor

How to edit a file like this (Hero Story text from SA2)? As far as I know, the first part of file should be pointers, but it looking too strange. Can you explan it structure?
Go to the top of the page
+Quote Post
 MarkeyJester
post Nov 2 2009, 06:33 PM
Post #1742


Jack of all trades... ...Master of fuck all.

Group Icon

Group: Tech Members
Posts: 315
Edits: 1
Joined: 22-July 08




hmm, I'm not gonna jump to any conclusions here because I don't know lol, however I could throw you a few theories:

the first section from 0x00000000 to 0x000001AF looks like it's split into sections of 12 ($C hex) bytes each, this may be pointers and probably could have X and Y positioning in there, also I noticed the ASCII text near the bottom (which you probably already noticed).

*Shrugs*, I'm not sure of it's format tbth and I'm not sure if anyone's already researched this yet.
Go to the top of the page
+Quote Post
 Selbi
post Nov 4 2009, 04:47 PM
Post #1743


Scourge for president!

Group Icon

Group: Members
Posts: 215
Edits: 172
Joined: 12-May 08
From: Germany

Current Project:
S.C.H.ERZ and S1TCG



Hacking Utility ProgrammerWiki Restoration Contributor


So I was screwing with HUD mappings and I think, I did well. However, if you look on the Time counter (named SECS here) you will notice 2 things: It's 177, meaning it's now just counting seconds, rather than minutes. The other one, it's "1 77", not "177". The space is originally the : but I removed it. But how can I move the "77" one tile to left left to make it look like a neat number? In SonMapEd the whole timer is one piece, so I can't move specific parts. It's somewhere in the ASM, but where and how do I do that?
Go to the top of the page
+Quote Post
 Tweaker
post Nov 4 2009, 05:36 PM
Post #1744


A thrilling mystery!

Group Icon

Group: Admins
Posts: 10,935
Edits: 3,205
Joined: 27-June 04
From: Pinellas Park, FL

Current Project:
Sonic Retro, Sonic Megamix, Sonic Boom



4th Annual Hacking Contest - HPZ Winner5th Annual Hacking Contest - HPZ Winner3rd Annual Hacking Contest - Trophy Winner6th Annual Hacking Contest - Trophy WinnerSonic 2 HD Contributor

Just split it into two sprite parts. Not that difficult. ;P
Go to the top of the page
+Quote Post
 Selbi
post Nov 5 2009, 08:51 AM
Post #1745


Scourge for president!

Group Icon

Group: Members
Posts: 215
Edits: 172
Joined: 12-May 08
From: Germany

Current Project:
S.C.H.ERZ and S1TCG



Hacking Utility ProgrammerWiki Restoration Contributor

QUOTE(Tweaker @ Nov 4 2009, 11:36 PM) *
Just split it into two sprite parts. Not that difficult. ;P

Yep, it wasn't that difficult. smile.png
Go to the top of the page
+Quote Post
 Hanoch
post Nov 7 2009, 02:54 AM
Post #1746


Please Insert a custom member title.

Group Icon

Group: Members
Posts: 135
Edits: 3
Joined: 1-June 08
From: Israel

Current Project:
Thinking of a current project.



Hey I followed the guide about DAC samples, and I was about to add the samples, only that I don't have them.
This link is dead so I cant add my favorite samples. Anybody has a back up of the sonic 3 samples?
Go to the top of the page
+Quote Post
 nineko
post Nov 7 2009, 04:25 AM
Post #1747


I am the Holy Cat

Group Icon

Group: Wiki Sysops
Posts: 3,127
Edits: 3,276
Joined: 17-August 06
From: italy

Current Project:
trying to become a better person



Hacking Utility ProgrammerBest Member EverHidden Palace Donator6th Annual Hacking Contest - Trophy WinnerWiki Restoration Contributor

I do, but I saved only the archive with the samples in WAV format. Which means that you have to convert them to raw format by yourself (e.g. remove the first 44 (decimal) bytes from the file if you don't have a wave editor).
http://digilander.iol.it/projectchaos/s3sampswav.rar

Note that I won't keep this file uploaded forever, I will delete it in 24 hours so get them now.
Go to the top of the page
+Quote Post
 Hanoch
post Nov 7 2009, 04:52 AM
Post #1748


Please Insert a custom member title.

Group Icon

Group: Members
Posts: 135
Edits: 3
Joined: 1-June 08
From: Israel

Current Project:
Thinking of a current project.



QUOTE(nineko @ Nov 7 2009, 09:25 AM) *
I do, but I saved only the archive with the samples in WAV format. Which means that you have to convert them to raw format by yourself (e.g. remove the first 44 (decimal) bytes from the file if you don't have a wave editor).
http://digilander.iol.it/projectchaos/s3sampswav.rar

Note that I won't keep this file uploaded forever, I will delete it in 24 hours so get them now.



The first $2C bytes are the header of every dac sample? And I should delete those bytes?
Go to the top of the page
+Quote Post
 nineko
post Nov 7 2009, 04:55 AM
Post #1749


I am the Holy Cat

Group Icon

Group: Wiki Sysops
Posts: 3,127
Edits: 3,276
Joined: 17-August 06
From: italy

Current Project:
trying to become a better person



Hacking Utility ProgrammerBest Member EverHidden Palace Donator6th Annual Hacking Contest - Trophy WinnerWiki Restoration Contributor

Basically, the Genesis uses RAW samples, but I don't have that archive. I saved this one which has the samples in WAV format instead. The two formats are internally identical, but WAV files have a header of $2C bytes which must be removed. Yes, you have to remove those $2C bytes from every sample you want to use.

Or wait until someone mirrors the archive with the RAW samples, maybe someone saved it.
Go to the top of the page
+Quote Post
 Hanoch
post Nov 7 2009, 05:05 AM
Post #1750


Please Insert a custom member title.

Group Icon

Group: Members
Posts: 135
Edits: 3
Joined: 1-June 08
From: Israel

Current Project:
Thinking of a current project.



The samples wont play correctly. Anybody knows how to get to the real value of the sample size? I remember its the size of the sample/2 or 20 and then byteswapping but I need someone to confirm this.

Edit: BTW, im not using jman's sound driver. Im using MarkeyTheJester's NEW_KOSZ80 since jman's link is broken.

This post has been edited by Hanoch: Nov 7 2009, 05:07 AM
Go to the top of the page
+Quote Post
 DalekSam
post Nov 7 2009, 10:11 AM
Post #1751


JUMP JUMP SLIDE SLIDE

Group Icon

Group: Members
Posts: 628
Edits: 120
Joined: 19-February 08
From: why the fuck do you care

Current Project:
Sonic Thrash, Sonic Yellow, some other shit



Righto, I'll mirror over what I hope to be the RAW samples.
Here you go.
Go to the top of the page
+Quote Post
 HighFrictionZone
post Nov 10 2009, 04:10 AM
Post #1752


Hi.

Group Icon

Group: Members
Posts: 607
Edits: 7
Joined: 27-February 08
From: Katy, Texas

Current Project:
Nothing



Wiki Restoration Contributor

Quick question: any idea how I could use Sonic 65's PCM music driver in the Sonic 1 svn disassembly? If not, I'm sure I can dig up an older disasembly and port what little changes I've done over to that. I really only need it for one song, but having it opens it up to further use, right?
Go to the top of the page
+Quote Post
 Tidbit
post Nov 14 2009, 09:41 AM
Post #1753




Group Icon

Group: Trial Members
Posts: 5
Joined: 4-November 09
From: Maryland




Hi, I was wondering to put custom levels into the sonic 2 level rotation? I understand pretty much every thing about SonED2, but I am sure this would invlove some ASM.
Go to the top of the page
+Quote Post
 Qtheman
post Nov 14 2009, 01:40 PM
Post #1754


*can't think of a witty custom title*

Group Icon

Group: Members
Posts: 16
Joined: 11-November 09
From: Canada

Current Project:
Learning ASM/trying to find what routine in Sonic 1 switches levels



Alright. To go along with the S Monitor hack I made, I tried making the unused Goggles monitor act like the random ring monitors in Sonic Adventure, just giving you effects other than rings.

The game checks if you have x amount of rings, and if you do, it performs y action. I don't know if the monitor sequence works fine or not, because upon building I get these errors:

CODE

bne.s Obj2E_NoMusic ; if yes, branch
s1comb.asm(13865) : Error 06054 : Branch offset (0xffffff20) out of range
bcs.s Obj2E_RingSound
s1comb.asm(13873) : Error 06054 : Branch offset (0xffffff3a) out of range
bcs.s Obj2E_RingSound
s1comb.asm(13877) : Error 06054 : Branch offset (0xffffff28) out of range
bcs.s Obj2E_RingSound
s1comb.asm(13895) : Error 06054 : Branch offset (0xfffffeec) out of range
bcs.s Obj2E_RingSound
s1comb.asm(13899) : Error 06054 : Branch offset (0xfffffeda) out of range
bsr.w MvSonicOnPtfm
s1comb.asm(21923) : Error 06054 : Branch offset (0xffff7fd6) out of range
bsr.w MvSonicOnPtfm
s1comb.asm(21953) : Error 06054 : Branch offset (0xffff7f90) out of range


I know that these bottom two have to do with the amount of space a bsr.w can jump, but I'm hopelessly lost on the rest of them. psyduck.png

What would I go about replacing the bcs.s and bne.s with? Thanks in advance. smile.png
Go to the top of the page
+Quote Post
 Tweaker
post Nov 14 2009, 01:41 PM
Post #1755


A thrilling mystery!

Group Icon

Group: Admins
Posts: 10,935
Edits: 3,205
Joined: 27-June 04
From: Pinellas Park, FL

Current Project:
Sonic Retro, Sonic Megamix, Sonic Boom



4th Annual Hacking Contest - HPZ Winner5th Annual Hacking Contest - HPZ Winner3rd Annual Hacking Contest - Trophy Winner6th Annual Hacking Contest - Trophy WinnerSonic 2 HD Contributor

Change the .s on each of those to .w. That should solve the problem.

You can change the bsrs to jsrs as well.
Go to the top of the page
+Quote Post

118 Pages V  « < 115 116 117 118 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 21st November 2009 - 05:45 AM
Bridged By IpbWiki: Integration Of Invision Power Board and MediaWiki © GlobalSoft