Please login or register.

Login with username, password and session length
Advanced search  


Check out and improve the wiki!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - mojobojo

Pages: [1]
Other games / Re: Star Fox 64 hacking thread
« on: May 11, 2013, 01:53:40 AM »
I am not sure if I installed the libs wrong or the wrong version of the libs but I seem to have an  issue building the latest version.


Programming / Cruis'n World rom decompressor/extractor
« on: May 06, 2011, 09:17:56 AM »
I love this game so I decided to take a look at it. I located a DMA table and wrote an application to extract the files. Most of the files are EDL compressed. I located the function for decompressing them at 80312D40 but was so long I looked it up before I got started on it. I found a decompressor here http://64dd.net/modules/games/index.php?system=n64&type=unreleased&section=downloads&id=4 . I was able to include his c file easily and incorporate it easily. Here is the source code. The guys decompression code is slow, so I am attempting to rewrite it, but it is becoming a challenge because I am having a hard time reading it. Anyway, so far all I see is game textures that are extracted so am looking into parsing texture formats. This was coded under windows, I did my best to make it linux compatible though I do not have a linux distro installed at the moment.

Zelda 64 / Re: Gigantic Octopus in Ocarina of Time
« on: May 02, 2011, 05:28:18 AM »
Wine emulates/translates DirectX. I use Rice's 6.10. http://spinout182.com/ar/nemu64.zip

Wow, I thought I needed opengl. That explains why I could never get it configured right.

Zelda 64 / Re: Gigantic Octopus in Ocarina of Time
« on: May 01, 2011, 10:22:26 PM »
That is amazing considering that is completely from scratch. I guess the next step would be to add some movement and collision to that big guy and make a new baddie. By the way, what opengl plugins are you using for nemu? I can't seem to locate any that work.

Other games / Re: Starfox 64 Hello World
« on: April 29, 2011, 03:48:19 AM »
I noticed that too. For some reason I thought at the time running them like that wouldn't matter.

Other games / Re: Starfox 64 Hello World
« on: April 27, 2011, 10:42:35 AM »
Alright, I am going to reverse the method I originally put it in a bit more. I was copying over a conditional branch which worked, but wasn't good. That function (800B7150), from what I saw may control some of the 2d objects on the screen. I messed with it a bit and some 2d objects from when you finished the level popped up.

Other games / Re: Starfox 64 Hello World
« on: April 27, 2011, 06:45:08 AM »
I am actually having a problem. My code seems to be locking up the game. First I disassembled it and checked to see if it was referencing the data properly it did so then debugged it and found it called the function twice and then no longer calls it, all it dose is play the music. I don't know what the problem is so any help would be great. I used the options I found from spinouts makefiles from his projects.

EDIT: The code hook was in the wrong place. But the text dose not show up so I am still having a problem.

Other games / Re: Starfox 64 Hello World
« on: April 27, 2011, 01:44:16 AM »
Both are actually good for right now. I usually have a dual boot Windows 7 and Fedora. I messed up the fedora install a few days ago and haven't got into restoring it. Thanks, I hope you don't mind I am using your ld script from here, no sense in rewriting it.

Other games / Re: Starfox 64 Hello World
« on: April 26, 2011, 08:57:55 PM »
A very strange thing I am trying to fix. The text is default white, however when a characters text box pops up, the text turns yellow, then when I charge my lasers it turns red.

@ spinout
Can you point me into the direction of the mips toolchain you use. The one I am building is failing when I try to compile "bla <address>". Also it would be alot easier to type into terminal "mips-gcc" other than "mips-unknown-linux-gnu-gcc".

General Discussion / Re: So I am interested
« on: April 26, 2011, 08:45:01 PM »
Try coding something and reading the translated assembly text. Either compile it and run it through a disassembler or do this.

Code: [Select]
gcc -S -c sourcecode.c -o sourceode.s

Other games / Starfox 64 Hello World
« on: April 25, 2011, 01:37:15 PM »
I am quite proud of this, considering I just started. I reversed Starfox 64 and found the string printing function. I did this using the nemu64 debugger and LemAsm. I was not using my MIPS toolchain properly at the time. This can not be applied directly to the rom only manually apply to memory.

Code: [Select]
void sf64_print_string(int x, int y, float x_scale, float y_scale, char *str);

Code: [Select]
code hook jump
Address  : Bytecode : Instruction
800B7BA0 : 0C036400 : JAL   0x800D9000

hook code
Address  : Bytecode : Instruction
800D9000 : 00000000 : NOP
800D9004 : 24040080 : ADDIU A0, R0, 0x0080
800D9008 : 24050020 : ADDIU A1, R0, 0x0020
800D900C : 3C063F80 : LUI   A2, 0x3F80
800D9010 : 3C073F80 : LUI   A3, 0x3F80
800D9014 : 3C0D800E : LUI   T5, 0x800E
800D9018 : 21AD9080 : ADDI  T5, T5, 0x9080
800D901C : AFAD0010 : SW    T5, 0x0010(SP)
800D9020 : 0C027364 : JAL   0x8009CD90
800D9024 : 00000000 : NOP
800D9028 : 0C02DEE9 : JAL   0x800B7BA4

800D9080 : 48454C4C : HELL
800D9084 : 4F20574F : O WO
800D9088 : 524C4400 : RLD\x00

General Discussion / Re: So I am interested
« on: April 25, 2011, 04:05:12 AM »
No active forums I know of.

If you want to create model viewers for something OTHER than Zelda, look here for some information on a handful of games.

I would also recommend learning MIPS assembly if you don't already know it.

Thank you for the link. I took a look at MIPS. It looks similar to powerpc which I know quite a bit of. I am starting to experiment with starfox64 and nemu64s debugger. So far its going good, I managed to make a couple small ASM hacks.

General Discussion / So I am interested
« on: April 24, 2011, 07:35:10 AM »
Well, I have been lurking around the rom hacking scene for quite some time. The OOT stuff I have seen drew me to this site and I decided to post here because this site seems to be filled with knowledgeable people. Now I am not new to coding and reversing. But I am new to the n64 3d stuff. My goal is to sometime be able to understand how to create model viewers and research for map editors, maybe make some friends on the way. I am wondering if there is some good information I can dig my teeth into, and maybe some active forums I can go to for more information.

Pages: [1]