Register - Login
Views: 99791801
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-03-22 04:40:16 AM
Jul - General Game/ROM Hacking - SM64 Fast3D to Zelda F3DEX2 Converter New poll - New thread - New reply
Next newer thread | Next older thread
xdaniel
980
Level: 64


Posts: 26/982
EXP: 2153577
For next: 60520

Since: 12-04-08

Pronouns: he/they
From: Germany

Since last post: 25 days
Last activity: 6 min.

Posted on 02-27-10 07:55:26 PM Link | Quote
SM64 Fast3D to Zelda F3DEX2 Converter
By xdaniel with additions by spinout
Version 0.2.0
Built Feb 27 2010 22:35:44

http://magicstone.de/dzd/random/sm64/SM64toZ64_v020.rar




Prototype:

sm64toz64 <SM64 ROM> <map name> <level ID> <level area> [options]
Where:
<SM64 ROM> is a extended NTSC Mario 64 ROM,
<map name> is the output scene/map name,
<level ID> is the level in SM64 to convert (hex value), and
<level area> is the area of the level you want to convert (usually 0x1)

Options:
-l Log messages to file 'log.txt'
-i ROM SCENE Insert scene/map to OoT Debug ROM. SCENE is decimal
-o ADDRESS Address to insert map/scene at if -i flag is enabled (Hex)
-a, --about Display program information
-h, --help This message


A usage example, list of level IDs and more is inside readme.txt in the archive.

Many thanks to spinout for probably half of the whole code that's now in there, as well as to messiaen/frauber for documentation and advice regarding SM64's data!


____________________
cu xdaniel
messiaen
Catgirl
Level: 68


Posts: 759/1085
EXP: 2596311
For next: 132489

Since: 11-20-07


Since last post: 8.1 years
Last activity: 7.2 years

Posted on 02-27-10 07:59:48 PM Link | Quote
Nice! Is the source available? Also, are you using gbi.h macros to do the converting?
xdaniel
980
Level: 64


Posts: 27/982
EXP: 2153577
For next: 60520

Since: 12-04-08

Pronouns: he/they
From: Germany

Since last post: 25 days
Last activity: 6 min.

Posted on 02-27-10 08:06:43 PM (last edited by xdaniel at 02-27-10 07:10 PM) Link | Quote
The source isn't out yet, mainly because it's still quite a mess. I can't see spinout having anything against that, so I guess you can expect it tomorrow or in a few days

As for the converting, it's actually done "by hand", ex. like this - http://pastebin.com/ALGcN0t1 - for G_SETTIMG. One reason being that I didn't think of looking into the SDK headers or anything, and also because some commands need special treatment anyway, ex. to compensate for differing RAM segments between SM64 and Zelda.

Edit: The most recent source is in spinout's hands now (merging some changes/fixes he did, cleaning the code up) so once he's done, it's gonna be open source


____________________
cu xdaniel
spinout
Random nobody
Level: 6


Posts: 1/4
EXP: 533
For next: 374

Since: 02-28-10


Since last post: 12.1 years
Last activity: 11.9 years

Posted on 02-28-10 08:40:39 AM (last edited by spinout at 02-28-10 05:41 AM) Link | Quote
http://spinout.byethost6.com/sm64toz64src.tar.gz
SchNiVas
Random nobody
Level: 3


Posts: 1/1
EXP: 64
For next: 64

Since: 11-15-10


Since last post: 11.5 years
Last activity: 11.5 years

Posted on 11-15-10 01:20:42 PM Link | Quote
Keep going with this! I Love The Idea!! :-DDD
Lyskar
12210
-The Chaos within trumps the Chaos without-
Level: 192


Posts: 7040/12211
EXP: 99320215
For next: 553356

Since: 07-03-07

From: 52-2-88-7

Since last post: 7.4 years
Last activity: 7.3 years

Posted on 11-17-10 05:00:57 PM Link | Quote
Stats
Time/Date
11-17-10 11:00:57 AM
Posts
7040
Days Here
1233
Level
123
Metal_Man88's Post
Wowza, now that is impressive.

Now I wonder to what extent Zelda geometry could be imported to SM64...

____________________

Eisnaught - SSQ² - Mobius Roleplay - SSS
Rachel Mae

Creature of Chaos
Level: 141


Posts: 3451/5929
EXP: 33603641
For next: 516373

Since: 07-03-07

Pronouns: she/her
From: Foxglen

Since last post: 21 days
Last activity: 11 hours

Posted on 11-18-10 03:10:44 AM Link | Quote
Originally posted by SchNiVas
Keep going with this! I Love The Idea!! :-DDD
Try sending a PM next time instead of bumping a nine-month-old post, okay?

____________________
Next newer thread | Next older thread
Jul - General Game/ROM Hacking - SM64 Fast3D to Zelda F3DEX2 Converter New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

28 database queries.
Query execution time: 0.094280 seconds
Script execution time: 0.014977 seconds
Total render time: 0.109257 seconds