Having trouble logging in? Password not accepted? Recently some bad apples caused a bit of a ruckus around here and a few accounts had to be reset.
Please, drop Toshiba, Errol or n3wton a line and they'll sort you right out! We apologise for any inconvenience this may cause :(


Trying to figure out how (Android Carmageddon)
User avatar
Deep_Blue created Trying to figure out how (Android Carmageddon) on Sun Dec 14, 2014 5:09 pm
Post
..to be able to look inside the .obb file.

I have WadEdit. I have Flummery, I have Noesis. I have a hex editor.
What I have No idea of is how to get started looking at the data.

Attachment:
Screenshot_2014-12-14-11-08-54.png
Screenshot_2014-12-14-11-08-54.png [ 143.16 KiB | Viewed 3397 times ]


Does anybody?
***When I die may I be surrounded by scattered chrome and burning gasoline***
User avatar
coffeycup on Sun Dec 14, 2014 6:20 pm
Post
Don't look at me! :lol:
MacCarpocalypse | coffey.polygonized.com | CoffeyCup's Gallery
User avatar
Deep_Blue on Sun Dec 14, 2014 7:22 pm
Post
Ya, I remember ya sayin' ya din't have an android. I'm hoping Tosh or somebody who's maybe took a look at it at least can point me in the right direction.
Then again, mebbe I'll just start screwin' stuff up and watch what changes.

:lol:

Attachment:
science.jpg
science.jpg [ 37.87 KiB | Viewed 3392 times ]
***When I die may I be surrounded by scattered chrome and burning gasoline***
User avatar
coffeycup on Sun Dec 14, 2014 7:36 pm
Post
Even if I did have an android I don't know anything about hex code. :oops:
MacCarpocalypse | coffey.polygonized.com | CoffeyCup's Gallery
User avatar
Deep_Blue on Sun Dec 14, 2014 11:46 pm
Post
I don't either. Never did. I just look for filenames I can add/substitute/change. My problem is getting the .obb open. Some folks say it has regular PK header and should work if renamed from .obb to .zip. Tried that. No go. None of the C:R tools I have will open an .obb file. Gotta find another way. Time to start studying how those things are put together.
***When I die may I be surrounded by scattered chrome and burning gasoline***
User avatar
Errol on Sat Jan 17, 2015 12:44 am
Post
So... OBB. Looks to be an Android thing that can be decompressed using JOBB. Once you've got that open I think you'll want to focus on DATA_ANDROID.WAD The WAD file has been used by Stainless before (some more info here). I assume that once you're in the WAD everything will be the same as the iOS version.

I must admit to not having done anything to test any of this. I could always add Flummery support for this if the call is great. I'm simultaneously letting down the modding communities of C1 (no functional CrushData editor), C2 (no simple way of making new skeletons and skeletal animations), TDR (no export for custom maps) and C:R (basically everything) at the moment. I see no reason not to add Android to the list of wishes unfulfilled.
User avatar
Deep_Blue on Fri Jan 30, 2015 4:53 pm
Post
LOL Errol. :grin:
Nicely put.
***When I die may I be surrounded by scattered chrome and burning gasoline***
User avatar
QTZ on Tue Sep 29, 2015 11:40 pm
Post
I made a tool to extract the wad from obb - I call it FOBB. Basically it copy wad from obb (just drop the header). And then can rebuild the obb which can be copied back to android device (obb must be renamed manually). I have tested it only with Carma Free, but looking at the hex dump above (thank you Deep_Blue :)) I think I have guessed the meaning of each values correctly (at least when one file is stored in obb), so it should work with full version too. Looking at the dump here full version is only about 11 MB bigger (the cutscenes and audio tracks are stored in apk, so it size is unknown looking at this dump).

To extract wad - extract DotP Tools (more info and source) to directory where FOBB is extracted (bin subdir), also put the obb file to that dir where fobb.exe is. (Older version of DotP Tools are also included with WADEdit, so it can be copied over WADEDit files). Then extract wad from obb using FOBB and use created batch to extract files from wad, edit files then use second batch to rebuild wad (do not rename wad - it name will be stored in obb!), then use FOBB again to build obb from new wad. Then copy the new obb file to Android over original file (make backup!).

Use at your own risk!

I have tested this method before I made a FOBB, just once to see if it work and replace Eagle with Ivan which is included in Carma Free, but not in play. (It's simple switch, so indicator and other elements are from Eagle).
Image
Image

PS: It looks like Noesis extracting the wad with errors, so do not use it to extract files from wad.

Edit: FOBB updated:
- headers detection and many other checks added
- more help-info
- interface simplified - two main buttons (it look like cmdln tool, but cmdln is not yet supported)
- now it start immediately after file selection

I have also unlocked all 7 cars present in free version, switch to more interesting track on this city area, set unused Ivan car for cops and replace some random peds with moo (cow), which made a free version much more interesting, unfortunately car crash rule for this game is so stupid and ruin game play anyway... (this is also possible to enable part shop and more..., however for free version car list is closed and rank increase is probably not possible).

Textures are in different format than in iOS version. IMAGEMAP in opposite to previous format look like compressed non raw data, some files are bigger, some smaller than previous (probably because of compression), so I think those textures may be even better than those for iOS.
User avatar
Deep_Blue on Mon Feb 01, 2016 12:25 am
Post
Whoa! Nice, QTZ! I'm glad *you* know what you're looking at. Soon as I get some time- I have to dig back into this.. :thumbsup:
***When I die may I be surrounded by scattered chrome and burning gasoline***
User avatar
Deep_Blue on Mon Jul 04, 2016 1:03 am
Post
Ok.. I have some modding/experimenting time now that I'm on vacation.
I have spent some time getting acquainted with apk files, but haven't had a chance to mess with the .OBB yet.

I will attempt to follow QTZ's instructions above....
***When I die may I be surrounded by scattered chrome and burning gasoline***
Pages: 1



cron
Extra information
It is currently Tue Jan 23, 2018 5:44 pm,

Please Register a username.
In total there are 6 users online :: 0 registered, 0 hidden and 6 guests
Users browsing this forum: No registered users and 6 guests
Moderator: coffeycup

Powered by phpBB :: Hosted by n3wton :: Molested by goats
CWA Links
Facebook