Steven's Gas Machine

Release and comment on game extractors and other tools here.

Moderators: Dazzy, semory

User avatar
semory
Site Admin
Posts: 7755
Joined: Sat Aug 04, 2012 7:38 pm
Custom Rank: Kitty pu tu tu lay!
Location: Torrance, CA

Re: Steven's Gas Machine

Post by semory »

Maybe a couple months. I've got a lot of work to do and am kind of swamped at the moment. The fact that it uses the same pain in the ass game engine as Rise of Incarnates doesn't help matters too. Support for Dragon Quest Heroes II is coming next since it's fairly easy.
blaze2198
Posts: 4
Joined: Sat Jan 14, 2017 4:00 am

Re: Steven's Gas Machine

Post by blaze2198 »

឵឵ ឵឵
Last edited by blaze2198 on Sat Dec 04, 2021 3:15 am, edited 2 times in total.
User avatar
rballad
Posts: 323
Joined: Sat Dec 08, 2012 5:35 am
Custom Rank: Om Donal

Re: Steven's Gas Machine

Post by rballad »

@semory. Gas machine already supports dragon quest heroes 2
acara
Posts: 3
Joined: Mon Jan 30, 2017 7:18 am

Re: Steven's Gas Machine

Post by acara »

Dear lord semory

me your humble servant have problem

after extracting KOEI based game for pc (kiwami) , many texture looks like utter garbage and trash

this will affect your public figure

me came with some solution

Code: Select all

$fname = 'E:/game/ps3/ex/pc.kiwami/LINKDATA0/4007_t/005.dds';
echo $fname."\t".fixdxt5pc($fname);

function fixdxt5pc($fname){
  
  $ret = 0;
  $sm = nread($fname);
  
  # find 0C 00 00 00
  $h1=chr(12).chr(0).chr(0).chr(0);
  $h2=chr(0).chr(0).chr(0).chr(0);
  
  # detect dxt5 header
  if(substr($sm,84,4)=="DXT5"){
    if(strcmp(substr($sm,128,4),$h1)==0){
      $sm = substr_replace($sm, $h2, 128, 0);
      $ret = 1;
    }
  }
  
  if($ret==1){
    nwrite($fname,$sm);
  }
  return $ret;
}

function nread($fname){
  $ret='';
  $fh=fopen($fname,'rb');
  $ret=fread($fh,filesize($fname));
  fclose($fh);
  return $ret;
}
function nwrite($fname,$data,$opt='w'){
  $fh=fopen($fname,$opt);
  fwrite($fh,$data);
  fclose($fh);
}
as the rumor says great extractor come with great texture

this will greatly affect your follower loyalty
User avatar
semory
Site Admin
Posts: 7755
Joined: Sat Aug 04, 2012 7:38 pm
Custom Rank: Kitty pu tu tu lay!
Location: Torrance, CA

Re: Steven's Gas Machine

Post by semory »

lmao i will check it out thanks for the report. unfortunately, everytime i make changes to the code when a new DW game comes out, i risk breaking older games. i can't retest every game, and thus i must rely on great trustworthy people like you to make sure things get fixed hahahaha.
User avatar
semory
Site Admin
Posts: 7755
Joined: Sat Aug 04, 2012 7:38 pm
Custom Rank: Kitty pu tu tu lay!
Location: Torrance, CA

Re: Steven's Gas Machine

Post by semory »

rballad wrote:@semory. Gas machine already supports dragon quest heroes 2
it does lol? i ran it on the ps3 data and it wouldn't run, some kind of new archive format that i haven't supported yet.
User avatar
semory
Site Admin
Posts: 7755
Joined: Sat Aug 04, 2012 7:38 pm
Custom Rank: Kitty pu tu tu lay!
Location: Torrance, CA

Re: Steven's Gas Machine

Post by semory »

BTW, speaking of Toukiden Kiwami, does anybody own the DLC and can share the DLC files with me :LOL: ?
User avatar
rballad
Posts: 323
Joined: Sat Dec 08, 2012 5:35 am
Custom Rank: Om Donal

Re: Steven's Gas Machine

Post by rballad »

semory wrote:
rballad wrote:@semory. Gas machine already supports dragon quest heroes 2
it does lol? i ran it on the ps3 data and it wouldn't run, some kind of new archive format that i haven't supported yet.
Yep, I used (ps3) dragon quest hero 1 in the october 2016 gas machine.

Opori is the first to report this a few months ago. although he said "almost good", which probably meant there was some issues
User avatar
semory
Site Admin
Posts: 7755
Joined: Sat Aug 04, 2012 7:38 pm
Custom Rank: Kitty pu tu tu lay!
Location: Torrance, CA

Re: Steven's Gas Machine

Post by semory »

cool thanks, i'll check it out.

btw, yes indeed, when i added support for berserk musou it messed up textures for some of the previous games. it will take me a day or so to fix. you can download an older version of the program and just say Yes to Process G1Ts? only.

It's this part of the code that I added to support Berserk Musou that didn't work so I had changed to a more heuristic method.

Code: Select all

/*
     // header is extended depending on s4 by 0x0C bytes
     bool extended = ((s4 & 0x10) > 0);
     if(s1 == 0x11 && s2 == 0x11 && s3 == 0x12 && s4 == 0x01) extended = true;
     else if(s1 == 0x00 && s2 == 0x01 && s3 == 0x12 && s4 == 0x01) extended = true;
     if(extended) {
        uint32 v1 = bs.read_uint32(); // 0x0C
        uint32 v2 = bs.read_uint32(); // 0
        uint32 v3 = bs.read_uint32(); // 0x00 or 0x01
        if(bs.fail()) return error("Stream read failure.");
       }
*/
The v3 can also be 0x01000000 as well. Should be an easy fix.
User avatar
Kurokairaku
Posts: 35
Joined: Fri Feb 10, 2017 9:29 am
Custom Rank: Graphics and 3D Expert

Re: Steven's Gas Machine

Post by Kurokairaku »

Nothing made me remember how much I hate blender than that stupid SMC code. I really hate to say but it took me like 6 hours just to figure out how to use the thing, but I still can't seem to get the rigging in.

I import all SMC, bones are there, but they do not move with the models. It kinda getting fusterating because everyone else acts as if it does. Besides, the moment I get the rigging working im exporting it into 3DS Max. Am I perhaps doing something wrong. I just want to delete blender by this point but if I can get the rigging, it might have some use out of it. If anyone is kind enough to go through in detail how to import the rig as well (and maybe export it properly into 3DS max as well) I'd be quite grateful.
Post Reply