Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
(10-20-2016, 01:48 PM)rickomax Wrote: [ -> ] (10-20-2016, 01:42 PM)SmashFan127 Wrote: [ -> ]My curiosity may be getting the better of me here, but is it possible to do this with savestates?
I didn't understand. What do you mean?
Like, making a savestate for ePSXe, then using the extraction method generally used for PSX sprites, only instead, you scan the file inside the savestate for models and textures.
(10-20-2016, 02:02 PM)SmashFan127 Wrote: [ -> ] (10-20-2016, 01:48 PM)rickomax Wrote: [ -> ] (10-20-2016, 01:42 PM)SmashFan127 Wrote: [ -> ]My curiosity may be getting the better of me here, but is it possible to do this with savestates?
I didn't understand. What do you mean?
Like, making a savestate for ePSXe, then using the extraction method generally used for PSX sprites, only instead, you scan the file inside the savestate for models and textures.
Yes, the scan cache.
You'll scan a file once, then the application will know where the stuff is, so you won´t need to scan it again.
But when one new version come out and if the file parsers have changed, the cache may be invalidated, so you'll have to scan the files again.
Scan cache will be avaliable at a future release (maybe the next, dunno yet).
Scan cache will work only at full scanned files (when you didn´t quit the application before it finish).
I can't get PSXPrev to scan files on a mounted disc image.
Here's the log that repeats for every file, even when I run PsxPrevLauncher.exe as an administrator.
System.UnauthorizedAccessException: Access to the path 'F:\DAT\CLEAR.BIN' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at PSXPrev.FileReader.OpenFile(String filename)
at PSXPrev.Program.ScanFiles(List`1 allEntities, List`1 allTextures, String path, String filter, Boolean checkTmd, Boolean checkPmd, Boolean checkTim, Boolean checkAll, Boolean reTIM)
(10-21-2016, 08:03 AM)torridgristle Wrote: [ -> ]I can't get PSXPrev to scan files on a mounted disc image.
Here's the log that repeats for every file, even when I run PsxPrevLauncher.exe as an administrator.
System.UnauthorizedAccessException: Access to the path 'F:\DAT\CLEAR.BIN' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at PSXPrev.FileReader.OpenFile(String filename)
at PSXPrev.Program.ScanFiles(List`1 allEntities, List`1 allTextures, String path, String filter, Boolean checkTmd, Boolean checkPmd, Boolean checkTim, Boolean checkAll, Boolean reTIM)
That's weird, gonna try to simulate that.
Being the machine administrator, you should not have this problem.
Hi all, there's a long time.
I don't have time to update the tool lately.
The tool source is now avaliable at:
https://github.com/rickomax/psxprev
You are free to change and collaborate with the code, but please cite my work if you use the code externally.
The
messy code at the repository is using OpenTK instead of the buggy SharpGL.
As I was learning OpenTK at that time, some major improvements can be made.
Something I want to do at the future, with a full code refactoring.
An executable build will be avaliable soon.
Thank you,
Rick.
Something I feel like is worth noting, even though it's probably not a bug or anything like that: I scanned Chrono Cross's 1st Disc, it found tons of TIMs but as soon as it finished scanning it just crashed.
I haven't tried it with the second disc, but I will after I post this.
(01-20-2017, 05:59 PM)eureka Wrote: [ -> ]Something I feel like is worth noting, even though it's probably not a bug or anything like that: I scanned Chrono Cross's 1st Disc, it found tons of TIMs but as soon as it finished scanning it just crashed.
I haven't tried it with the second disc, but I will after I post this.
PsxPrev is not "memory friendly", all the files are kind of converted to an internal format while the tool still scanning, this increases the memory usage, which can cause crashing. A more conservative approach would be needed, the file offsets should be stored and the tool would load these files on-demand. That´s something I could do when I have a free-time to refatorate the tool. For now, you could try to scan folders/files separately, to not overfill the memory.
Quote:That´s something I could do when I have a free-time to refatorate the tool. For now, you could try to scan folders/files separately, to not overfill the memory.
That is a good idea, Although in CC's case, the disc is obfuscated, meaning I can't really mount it and scan the files separately.
Also, I did actually scan the 2nd disc, but seeing as it was before your explanation it crashed again. Hrm.
EDIT: There's a program that can dump the discs. get it here, so you can extract it first:
http://chronofan.com/Black/Other/RY_Dumper.zip
EDIT2: There's also a file listing for the model stuff, so here's that:
https://www.chronocompendium.com/Term/MI..._Misc.html
Should note this will only work with the first disc, the second disc doesn't work for whatever reason.
EDIT3:
Okay, I just tried scanning a much smaller folder with TIM images and got thrown this error:
Quote:Scan End 01/20/2017 21:40:24
Found 0 Models
Found 104 Textures
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'OpenTK, Version=1.1.0.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at PSXPrev.PreviewForm.SetupControls()
at PSXPrev.PreviewForm..ctor()
at PSXPrev.Program.<Main>b__0()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
(01-20-2017, 07:56 PM)eureka Wrote: [ -> ]Quote:That´s something I could do when I have a free-time to refatorate the tool. For now, you could try to scan folders/files separately, to not overfill the memory.
That is a good idea, Although in CC's case, the disc is obfuscated, meaning I can't really mount it and scan the files separately.
Also, I did actually scan the 2nd disc, but seeing as it was before your explanation it crashed again. Hrm.
EDIT: There's a program that can dump the discs. get it here, so you can extract it first:
http://chronofan.com/Black/Other/RY_Dumper.zip
EDIT2: There's also a file listing for the model stuff, so here's that:
https://www.chronocompendium.com/Term/MI..._Misc.html
Should note this will only work with the first disc, the second disc doesn't work for whatever reason.
EDIT3:
Okay, I just tried scanning a much smaller folder with TIM images and got thrown this error:
Quote:Scan End 01/20/2017 21:40:24
Found 0 Models
Found 104 Textures
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'OpenTK, Version=1.1.0.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
at PSXPrev.PreviewForm.SetupControls()
at PSXPrev.PreviewForm..ctor()
at PSXPrev.Program.<Main>b__0()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Sorry, please download the tool again. Forgot to put a config file at the zip.
(01-21-2017, 06:44 PM)rickomax Wrote: [ -> ]Sorry, please download the tool again. Forgot to put a config file at the zip.
I got this now:
Quote:Scan End 01/21/2017 19:42:15
Found 0 Models
Found 30 Textures
Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at OpenTK.Graphics.OpenGL4.GL.ClearDepth(Single d)
at PSXPrev.Classes.Scene.Scene.SetupGl()
at PSXPrev.Classes.Scene.Scene.Initialise(Single width, Single height)
at PSXPrev.PreviewForm.SetupScene()
at PSXPrev.PreviewForm.openTKControl_Load(Object sender, EventArgs e)
at System.Windows.Forms.UserControl.OnLoad(EventArgs e)
at System.Windows.Forms.UserControl.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.TabPage.set_Visible(Boolean value)
at System.Windows.Forms.TabControl.UpdateTabSelection(Boolean updateFocus)
at System.Windows.Forms.TabControl.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.TabControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
PSXPrev crashes when I try to view triangles in the submodel dropdown after scanning for TMD, TIM, and PMD with Debug Triangles on.
http://pastebin.com/zFvw5EBh
With Debug Triangles off it doesn't crash, but it also doesn't show models it used to display in the 2016 version. It will still export an OBJ though.
Hello.
So I downloaded the tool, as I wanted to use this tool to rip assets from LSD Dream Emulator. But it appears it's not working at all, if I even was doing it right.
I did what I thought was correct. Checked in the boxes in for the files to scan, then set the folder for the same one as the game files. It opened up command prompt for a second, then it just exited.
Am I doing something wrong?
I've been using this program to do stuff. Got the "models" for Pepsiman to load, and it was all garbage vertexes and corrupt triangles. Textures worked decently. Some loaded, but there was some that were corrupt.
Been trying LSD Dream Emulator, but it scans, and after sometime later, it always stops when loading content for an unknown reason.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16