Sonic and Sega Retro Message Board: Sonic Heroes Stage Geometry PC. Now Converting. - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Page 1 of 1
    Locked
    Locked Forum

Sonic Heroes Stage Geometry PC. Now Converting. Converting BSP to OBJ!

#1 User is offline Azu 

Posted 30 July 2012 - 06:06 AM

  • I must be stupid.
  • Posts: 1534
  • Joined: 23-February 08
  • Gender:Male
  • Location:Home
Thanks to DCxDemo of Xentax, we can convert Sonic Heroes BSP to OBJ.

--------------------------------------
Ripping Level Gemotry From Sonic Heroes PC
--------------------------------------


Tools
--------------



Stages
--------------
  • s01 - Seaside Hill
  • s02 - Ocean Palace
  • s03 - Grand Metropolis
  • s04 - Power Plant
  • stg05 - Casino Park
  • stg06 - Bingo Highway
  • stg07 - Rail Canyon
  • stg08 - Bullet Station
  • stg09 - Frog Jungle
  • stg10 - Lost Forest
  • s11 - Hung Castle
  • s12 - Mystic Mansion
  • s13 - Egg Fleet
  • s14 - Final Fortress

**The stage file name will be sXX.one or stgX.one. XX represents the stage number.

The textures are in the texture folder (duh). The reflect the same name as the stage they're for. (s01.one - s01.txd, s01_indirect.txd)


1.) First, grab the files your gonna use. I.e s01.one, s01.txd (and the other s01 txd files). One you have that, copy them to a folder where you have the ONE Unpacker and PRS Decompressor.

2.) Drag the ONE file on the ONE unpacker. It should unpack the one files and dump the PRS in the same directory.
Posted Image

3.) Double click the prsdec auto.exe file. It will automatically decompress the PRS files. Once it's done, you may delete the PRS files. You should be left with .BIN files.
Posted Image

4.) If you have installed Bulk Utility Rename right click the folder where the BIN files are and hit "Bulk Rename Here". Select the BIN files and change the extension to BSP.
Posted Image

5.) Open bsp2objv021sonic. Do NOT mess with any of the options. Just select tga as your texture format and browser for the BSP and save it as a OBJ. The BSPs you are looking for is ON and ONS, like "S01_ON_01.bsp and S01_ON_01.bsp". It seems to be two parts of the whole mesh.
Posted Image

6.) Open VCTXDViewer and find the matching texture file(s). (I.e If you using stg01.one, you'd use s01.txd and s01_indirect.txd). Go to Eile>Export> Several Images. Export as TGA. Put all the texture files where the BSPs are. Otherwise, Max will ask you where the files are.
Posted Image

7.) Import your objs as max. First import the ON, then the ONS one. For example, I saved mines as S01_ON_01.obj and S01_ONs_01.obj. I'd import S01_ON_01.obj, then S01_ONS_01.obj. If you did everything right, it should look the image below. Assuming you used Seaside Hill as the test.

Posted Image
Anyway, that's pretty much it. I may do a video tutorial on this as well as importing the DFF files.
This post has been edited by Azu: 09 August 2012 - 01:37 PM

#2 User is offline Irixion 

Posted 08 August 2012 - 10:00 PM

  • Posts: 1516
  • Joined: 30-December 04
  • Gender:Male
  • Location:Ontario, Canada
  • Project:Life
  • Wiki edits:152
Awesome...now go import this into Sonic Generations *runs*

#3 User is offline Azu 

Posted 08 August 2012 - 10:58 PM

  • I must be stupid.
  • Posts: 1534
  • Joined: 23-February 08
  • Gender:Male
  • Location:Home
Yep. I wouldn't mind seeing some stages ported over to generations. Although, you'll have to touch up the textures to make them look nice.
This post has been edited by Azu: 08 August 2012 - 10:58 PM

#4 User is offline crystallize 

Posted 14 August 2012 - 05:21 AM

  • Posts: 110
  • Joined: 22-November 09
  • Gender:Male
  • Location:Russia
I've come here because some noob said "I'm going to bring SH stages into SG!" and I was like "WTF?! We can't even deal with TXD mipmaps yet!". That's awesome, I've tried to mod heroes since, like, 2008 or 2009.
What's up with palmtree leaves?
Is lightmap stored into separate texture? If so, we can probably recalculate it, using radiosity lighting. I've heard 3D max allows that.
UPD
Oh wait, it's not lightmap, just built-in 3D max lighting? Geez...
UPD2
So you mean SH level format is not some crazy shit, but a traditional BSP? Like, say, Quake 3 Arena?
This post has been edited by crystallize: 14 August 2012 - 10:04 AM

#5 User is offline darkspines35 

Posted 14 August 2012 - 11:02 AM

  • It's Easy Actually. No, seriously.
  • Posts: 248
  • Joined: 10-January 09
  • Gender:Male
  • Location:.V.
  • Project:Sanik Adevnt Casters
  • Wiki edits:14

View Postcrystallize, on 14 August 2012 - 05:21 AM, said:

So you mean SH level format is not some crazy shit, but a traditional BSP? Like, say, Quake 3 Arena?

It's a standard Renderware BSP seeing as how that's the engine they were using at the time to make porting between consoles easier. You can load the PC (and PS2 files IIRC) in the Renderware SDK as well.

#6 User is offline Mr Lange 

Posted 14 August 2012 - 07:31 PM

  • A wise guy eh. I know how to DEAL with wise guys.
  • Posts: 1287
  • Joined: 27-August 10
  • Gender:Male
  • Location:The Land of Waldos
  • Project:Sonic Utopia, Sonic Overture
  • Wiki edits:1
I was looking through the GC version's files recently and if I remember right they are all the same file formats. At least the extensions are the same. Could these be used for the GC version as well?

#7 User is offline Azu 

Posted 15 August 2012 - 06:48 AM

  • I must be stupid.
  • Posts: 1534
  • Joined: 23-February 08
  • Gender:Male
  • Location:Home
Should be possible, but I haven't tired them.

#8 User is offline Faseeh 

Posted 13 August 2013 - 05:31 AM

  • Posts: 183
  • Joined: 29-September 12
  • Gender:Male
  • Location:Singapore
  • Project:Generations modding
This really helped a lot for ripping Frog Forest and Egg Fleet Azu!

Thanks a ton.

Would like to ask something though, do you have any idea where the enemy models or skybox models are located? Would be great and helpful if you could tell 'em.

#9 User is offline Azu 

Posted 13 August 2013 - 10:14 PM

  • I must be stupid.
  • Posts: 1534
  • Joined: 23-February 08
  • Gender:Male
  • Location:Home
I'd have to re-install my game, but pretty sure it's somewhere in the "dvdroot" folder.

#10 User is offline flarn2006 

Posted 15 September 2013 - 12:47 PM

  • Posts: 264
  • Joined: 01-October 05
  • Gender:Not Telling
  • Project:SA2 Cheat Table
  • Wiki edits:19
I'm at least 99% sure it's not the same format, but those Sonic Heroes BSP files wouldn't be usable in the Source engine (hl2, css, gmod, portal, tf2, etc.), right? I'm only asking because Source map files have a .BSP extension.

#11 User is offline Falk 

Posted 15 September 2013 - 01:41 PM

  • Posts: 1569
  • Joined: 03-October 11
They come from the same line of tech originating in Carmack's original quake engine but are so far removed that I doubt it'd be possible without some major conversion tools.

edit: Actually, nevermind that. I'm misremembering.
Heroes uses Renderware which, while using the same -concept- (binary space partitioning) is otherwise unrelated to id tech.
This post has been edited by Falk: 15 September 2013 - 01:43 PM

#12 User is offline Strife 

Posted 20 October 2013 - 10:29 PM

  • Posts: 1844
  • Joined: 19-October 11
  • Gender:Male
  • Location:United States
  • Project:Freedom Planet 2
Since we're on the subject of converting geometry, I figured I might as well post here. I'm interested in extracting Amy's Heroes model since I haven't been able to find it anywhere online. Mr Lange helped me extract something which he thinks are the relevant data files:

https://dl.dropboxus...eroes%20raw.zip

Any idea how to convert these to see if his guess was correct?

#13 User is offline Faseeh 

Posted 21 October 2013 - 12:41 AM

  • Posts: 183
  • Joined: 29-September 12
  • Gender:Male
  • Location:Singapore
  • Project:Generations modding

View PostStrife, on 20 October 2013 - 10:29 PM, said:

Since we're on the subject of converting geometry, I figured I might as well post here. I'm interested in extracting Amy's Heroes model since I haven't been able to find it anywhere online. Mr Lange helped me extract something which he thinks are the relevant data files:

https://dl.dropboxus...eroes%20raw.zip

Any idea how to convert these to see if his guess was correct?


That seems very different from the normal files. From the titles, I can tell two are textures and one is a animation file as far as I know. So it might not be the model.

#14 User is offline total 

Posted 21 October 2013 - 01:11 AM

  • Posts: 67
  • Joined: 17-August 09
  • Gender:Not Telling
  • Wiki edits:1

View PostStrife, on 20 October 2013 - 10:29 PM, said:

I'm interested in extracting Amy's Heroes model since I haven't been able to find it anywhere online.

SH3ds.rar

For the rest, repeat steps one through three (from the first message), then use dff import script (3dsmax) or program called "3d object converter" (pm me if you need it).
Same goes for Shadow the Hedgehog (you'll need another ".one" unpacker though).
This post has been edited by total: 21 October 2013 - 01:18 AM

Page 1 of 1
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users