Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ONScripter Multi Converter PSP: Difference between revisions

From GameBrew
No edit summary
No edit summary
Line 3: Line 3:
|title=ONScripter Multi Converter
|title=ONScripter Multi Converter
|image=onscriptermulticonverter.png
|image=onscriptermulticonverter.png
|description=Image, audio and scenario converter for ONSforPSP.
|description=Image, audio and scenario converter for ONScripter.
|author=Prince-of-sea, PC-CNT
|author=Prince-of-sea, PC-CNT
|lastupdated=2025/02/02
|lastupdated=2025/02/08
|type=File Operation
|type=File Operation
|format=
|format=
|version=2.1.2
|version=2.2.1
|license=MIT
|license=MIT
|download=https://dlhb.gamebrew.org/psphomebrew/onscriptermulticonverter.7z
|download=https://dlhb.gamebrew.org/psphomebrew/onscriptermulticonverter.7z
Line 14: Line 14:
|source=https://github.com/Prince-of-sea/ONScripter_Multi_Converter
|source=https://github.com/Prince-of-sea/ONScripter_Multi_Converter
}}
}}
A Python tool for converting asset files for use with [[ONScripter for PSP]]. It is designed as a successor to the C&D Tools Win GUI.
A Python tool for converting asset files for use with ONScripter, including:
*PSP: [[ONScripter for PSP|onscripter-20110111_psp]]
*PSVITA: [[ONScripterJH Vita|ONScripter-jh-PSVita (yuri) v0.5.1.3]]
*Brain: onscripter-20100510-424x318 / onscripter-20100510-qvga
*Android: ONScripter v20240906


This only works with games made with NScripter, [https://github.com/Prince-of-sea/ONScripter_Multi_Converter/blob/main/TITLELIST.md see list of tested games]
It is designed as a successor to the C&D Tools Win GUI.


== Installation ==
== User guide ==
[https://github.com/Prince-of-sea/ONScripter_Multi_Converter/blob/main/README.md Follow the readme] and download the required files.
[https://github.com/Prince-of-sea/ONScripter_Multi_Converter/blob/main/README.md Follow the readme] and download the required files.
<!--Requirement:
* [https://github.com/Prince-of-sea/ONScripter_Multi_Converter/releases/latest ONScripter_Multi_Converter]
* [http://web.archive.org/web/20130203074100/http://www.geocities.jp/stm_torm/ons/smjpeg4.zip smjpeg_encode.exe (by すとーむ様)]
* [https://web.archive.org/web/20130328141650/http://www.geocities.jp/stm_torm/nsaed2.zip nsaed.exe (by すとーむ様)]
* [https://drive.google.com/file/d/1gH9nNRxaz8GexN0B1hWyUc3o692bkWXX/view GARBro.Console (by 게지네様)]
* [https://pngquant.org/ pngquant]
* [https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full.7z FFmpeg]
* Games made with NScripter, [https://github.com/Prince-of-sea/ONScripter_Multi_Converter/blob/main/TITLELIST.md see list of tested games]-->


Extract and move the downloaded files to the appropriate locations.
Extract and move the downloaded files to the appropriate locations.


In a directory with path access:
In a directory with path access:
* ffmpeg.exe
* ffmpeg.exe
* ffprobe.exe
* ffprobe.exe
* pngquant.exe


In a directory designated for the tool:
In a directory designated for the tool:
<pre> |-NSC2ONS4PSP.exe
<pre> |-ONScripter_Multi_Converter.exe
  |-tools\
  |-tools\
  | |-nsaed.exe
  | |-nsaed.exe
Line 47: Line 41:
  | | |-{Several additional directories}
  | | |-{Several additional directories}
</pre>
</pre>
== User guide ==
=== How to use ===
In the input directory field (入力先), use the browse button to select the directory containing the game files.
In the output directory field (出力先), use the browse button to choose a destination directory for the converted files. Files will be saved in a subfolder named &quot;PSP_[input directory name]&quot; within the selected directory. (if there are directory name conflicts conflicts, files maybe overwritten)
Configure the desired settings, then click the convert button to start the conversion process. Wait a few seconds to minutes until &quot;Processing complete&quot; appears.
Prepare the EBOOT.PBP and default.ttf for [[ONScripter for PSP]] and transfer them to a PSP with CFW/LCFW or a PS Vita with Adrenaline.
=== Options ===
Image settings (画像):
* Width adjustment - Adjusts the image width to avoid display issues like vertical lines. Default is set to a multiple of 2.
* JPG quality - Sets the quality for images converted to JPG. Lower settings reduce file size but also image quality.
* Resolution setting (Width) - Sets the resolution for the converted game. Usually, a setting of &quot;360&quot; is fine..
* BMP to JPG conversion &amp; Extension spoofing - Converts non-transparent BMP files to JPG.
* PNG color reduction - Reduces the color depth of PNG files to decrease file size.
Audio settings (音源):
* OGG compression - Converts all game audio to OGG format using FFmpeg. You can set different options for background music (BGM) and sound effects (SE). BGM and SE are identified based on file paths and references in the scenario files.
Other settings (その他):
* Font loading - Keeps the font in RAM to speed up text display on the PSP. Not recommended for PSP-1000 due to higher RAM usage. This setting modifies the ons.ini file’s &quot;FONTMEMORY&quot; option.
* Compress files with nsaed.exe - After converting images and audio, compresses them into multiple &quot;arc.nsa&quot; files.
* Force text size adjustment - Increase text that is too small to read on the PSP. This only affects text defined with the <code>setwindow</code> command.
At the bottom is the setting for the PSP screen size, relevant to the ons.ini's &quot;SURFACE&quot; and &quot;ASPECT&quot; settings.


=== Notes ===
How to use:
* The tool supports only four resolutions: 800x600, 640x480, 400x300, and 320x240 (the last two are unstable).
* In the input directory field (入力先), use the browse button to select the directory containing the game files.
* Games may not work properly even if they support these resolutions due to ONScripter’s limitations (e.g., DLL or Lua dependencies).
* In the output directory field (出力先), use the browse button to choose a destination directory for the converted files.  
* To use the [https://onscripter.osdn.jp/onscripter.html#cd-audio-mapping CD audio mapping feature] of ONScripter, prepare the extracted WAV files beforehand. The tool will convert them to OGG.
* Modify the [https://github.com/Prince-of-sea/ONScripter_Multi_Converter/blob/main/README_setting.md conversion settings], then click the convert button to start the conversion process.
* If using on the PSP, copy over the converted files, EBOOT.PBP and default.ttf for [[ONScripter for PSP]] to a PSP with CFW/LCFW.


== Screenshots ==
== Screenshots ==
https://dlhb.gamebrew.org/psphomebrew/images/onscriptermulticonverter.png
https://dlhb.gamebrew.org/psphomebrew/images/onscriptermulticonverter2.png


== Known issues ==
== Known issues ==
* MIDI files are not supported as the author has not tested MIDI-based games.
* If some functions like avi, mpegplay, rnd2 were originally overwritten with defsub, they may conflict with the features of this tool.
* The tool does not handle nbz files outside of nsa/sar/ns2 archives.
* The tool does not handle nbz files outside of nsa/sar/ns2 archives.
* Batch replacement of &quot;.nbz&quot; with &quot;.wav&quot; in scenario files may cause unexpected behavior.


== External links ==
== External links ==
* GitHub - https://github.com/Prince-of-sea/ONScripter_Multi_Converter
* GitHub - https://github.com/Prince-of-sea/ONScripter_Multi_Converter

Revision as of 03:34, 9 February 2025

ONScripter Multi Converter
General
AuthorPrince-of-sea, PC-CNT
TypeFile Operation
Version2.2.1
LicenseMIT License
Last Updated2025/02/08
Links
Download
Website
Source

A Python tool for converting asset files for use with ONScripter, including:

It is designed as a successor to the C&D Tools Win GUI.

User guide

Follow the readme and download the required files.

Extract and move the downloaded files to the appropriate locations.

In a directory with path access:

  • ffmpeg.exe
  • ffprobe.exe

In a directory designated for the tool:

 |-ONScripter_Multi_Converter.exe
 |-tools\
 | |-nsaed.exe
 | |-smjpeg_encode.exe
 | |-Garbro_console\
 | | |-GARbro.Console.exe
 | | |-{Other numerous files}
 | | |-{Several additional directories}

How to use:

  • In the input directory field (入力先), use the browse button to select the directory containing the game files.
  • In the output directory field (出力先), use the browse button to choose a destination directory for the converted files.
  • Modify the conversion settings, then click the convert button to start the conversion process.
  • If using on the PSP, copy over the converted files, EBOOT.PBP and default.ttf for ONScripter for PSP to a PSP with CFW/LCFW.

Screenshots

onscriptermulticonverter2.png

Known issues

  • If some functions like avi, mpegplay, rnd2 were originally overwritten with defsub, they may conflict with the features of this tool.
  • The tool does not handle nbz files outside of nsa/sar/ns2 archives.

External links

Advertising: